I am unable to access ERPnext on the browser as it is showing the following:
Sorry!
We will be back soon.
Don’t panic. It’s not you, it’s us.
Most likely, our engineers are updating the code, and it should take a minute for the new code to load into memory.
Try refreshing after a minute or two.
I am having the following error upon running bench update:
brunze@Portal:~/frappe-bench/sites$ bench update
/home/brunze/frappe-bench/env/bin/python: Error wh ile finding module specification for ‘frappe.utils .bench_helper’ (ModuleNotFoundError: No module nam ed ‘frappe’)
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ’ bench’)()
File “/home/brunze/.bench/bench/cli.py”, line 41 , in cli
bench_command()
File “/usr/lib/python3/dist-packages/click/core. py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/lib/python3/dist-packages/click/core. py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/lib/python3/dist-packages/click/core. py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke( sub_ctx))
File “/usr/lib/python3/dist-packages/click/core. py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python3/dist-packages/click/core. py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/brunze/.bench/bench/commands/update. py”, line 25, in update
update(pull=pull, patch=patch, build=build, re quirements=requirements, restart_supervisor=restar t_supervisor, restart_systemd=restart_systemd, bac kup=not no_backup, force=force, reset=reset)
File “/home/brunze/.bench/bench/utils.py”, line 176, in update
version_upgrade = is_version_upgrade()
File “/home/brunze/.bench/bench/app.py”, line 27 6, in is_version_upgrade
fetch_upstream(app, bench_path=bench_path)
File “/home/brunze/.bench/bench/app.py”, line 32 3, in fetch_upstream
return subprocess.call([“git”, “fetch”, “upstr eam”], cwd=repo_dir)
File “/usr/lib/python3.8/subprocess.py”, line 34 0, in call
with Popen(*popenargs, **kwargs) as p:
File “/usr/lib/python3.8/subprocess.py”, line 85 8, in init
self.execute_child(args, executable, preexec fn, close_fds,
File “/usr/lib/python3.8/subprocess.py”, line 17 04, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or direc tory: ‘./apps/frappe’
Upon running bench migrate, the error is:
brunze@Portal:~/frappe-bench/sites$ bench migrate
/home/brunze/frappe-bench/env/bin/python: Error while finding module specification for ‘frappe.utils.bench_helper’ (ModuleNotFoundError: No module named ‘frappe’)
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.
Error: No such command “migrate”.
Please what can i do to resolve this?