Try ERPNext Buy Support Partners Foundation

While restoring backup-- ImportError: No module named 'journeys'

Hi Everyone,
When i’m installing backup …
Using these command and migrating…

bench --site [sitename] --force restore /path/to/SQLFILE
bench --site [sitename] migrate

i get—
“”"
Migrating ascra.tech
Could not find app “journeys”
“”""

AND When i Bench Start, its showing —
18:17:49 web.1 | ImportError: No module named ‘journeys’
18:17:49 web.1 |
18:17:49 web.1 | During handling of the above exception, another exception occurred:
18:17:49 web.1 |
18:17:49 web.1 | Traceback (most recent call last):
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/middlewares.py”, line 16, in call
18:17:49 web.1 | return super(StaticDataMiddleware, self).call(environ, start_response)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/env/lib/python3.5/site-packages/werkzeug/middleware/shared_data.py”, line 220, in call
18:17:49 web.1 | return self.app(environ, start_response)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/env/lib/python3.5/site-packages/werkzeug/middleware/shared_data.py”, line 220, in call
18:17:49 web.1 | return self.app(environ, start_response)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/env/lib/python3.5/site-packages/werkzeug/local.py”, line 231, in application
18:17:49 web.1 | return ClosingIterator(app(environ, start_response), self.cleanup)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/env/lib/python3.5/site-packages/werkzeug/wrappers/base_request.py”, line 237, in application
18:17:49 web.1 | resp = f(*args[:-2] + (request,))
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/app.py”, line 78, in application
18:17:49 web.1 | response = frappe.utils.response.handle_session_stopped()
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/utils/response.py”, line 223, in handle_session_stopped
18:17:49 web.1 | return frappe.website.render.render(“message”, http_status_code=503)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/render.py”, line 78, in render
18:17:49 web.1 | data = render_page(path)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/render.py”, line 168, in render_page
18:17:49 web.1 | return build(path)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/render.py”, line 175, in build
18:17:49 web.1 | return build_page(path)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/render.py”, line 188, in build_page
18:17:49 web.1 | context = get_context(path)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/context.py”, line 15, in get_context
18:17:49 web.1 | context = get_page_context(path)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/router.py”, line 38, in get_page_context
18:17:49 web.1 | page_context = make_page_context(path)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/router.py”, line 46, in make_page_context
18:17:49 web.1 | context = resolve_route(path)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/router.py”, line 21, in resolve_route
18:17:49 web.1 | context = get_page_info_from_template(path)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/website/router.py”, line 62, in get_page_info_from_template
18:17:49 web.1 | app_path = frappe.get_app_path(app)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/init.py”, line 846, in get_app_path
18:17:49 web.1 | return get_pymodule_path(app_name, *joins)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/init.py”, line 861, in get_pymodule_path
18:17:49 web.1 | return os.path.join(os.path.dirname(get_module(scrub(modulename)).file), *joins)
18:17:49 web.1 | File “/home/ascra-067/frappe-bench/apps/frappe/frappe/init.py”, line 823, in get_module
18:17:49 web.1 | return importlib.import_module(modulename)
18:17:49 web.1 | File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
18:17:49 web.1 | return _bootstrap._gcd_import(name[level:], package, level)
18:17:49 web.1 | File “”, line 986, in _gcd_import
18:17:49 web.1 |
18:17:49 web.1 | File “”, line 969, in _find_and_load
18:17:49 web.1 |
18:17:49 web.1 | File “”, line 956, in _find_and_load_unlocked
18:17:49 web.1 |
18:17:49 web.1 | ImportError: No module named ‘journeys’
18:17:49 web.1 | 127.0.0.1 - - [21/Feb/2020 18:17:49] “GET /?debugger=yes&cmd=resource&f=jquery.js HTTP/1.1” 200 -
18:17:49 web.1 | INFO:werkzeug:127.0.0.1 - - [21/Feb/2020 18:17:49] “GET /?debugger=yes&cmd=resource&f=jquery.js HTTP/1.1” 200 -
18:17:49 web.1 | 127.0.0.1 - - [21/Feb/2020 18:17:49] “GET /?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1” 200 -
18:17:49 web.1 | INFO:werkzeug:127.0.0.1 - - [21/Feb/2020 18:17:49] “GET /?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1” 200 -
18:17:49 web.1 | 127.0.0.1 - - [21/Feb/2020 18:17:49] “GET /?debugger=yes&cmd=resource&f=style.css HTTP/1.1” 200 -
18:17:49 web.1 | INFO:werkzeug:127.0.0.1 - - [21/Feb/2020 18:17:49] “GET /?debugger=yes&cmd=resource&f=style.css HTTP/1.1” 200 -
18:17:49 web.1 | 127.0.0.1 - - [21/Feb/2020 18:17:49] “GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1” 200 -
18:17:49 web.1 | INFO:werkzeug:127.0.0.1 - - [21/Feb/2020 18:17:49] “GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1” 200 -


And on Browser

Refer to this Backup restore from erpnext cloud to local server [Journey App Missing]