You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I recently updated to Ubuntu OS jammy, after the Update the Site Gives the following error:
"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."
Running bench status gives me the following error:
/home/frappe/frappe-bench/env/bin/python: Error while finding module specification for 'frappe.utils.bench_helper' (ModuleNotFoundError: No module named 'frappe')
/home/frappe/frappe-bench/env/bin/python: Error while finding module specification for 'frappe.utils.bench_helper' (ModuleNotFoundError: No module named 'frappe')
bench restart
ERROR: sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
subprocess.CalledProcessError: Command 'sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:' returned non-zero exit status 7.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/home/frappe/.local/lib/python3.10/site-packages/bench/cli.py", line 132, in cli
bench_command()
File "/home/frappe/.local/lib/python3.10/site-packages/bench/commands/utils.py", line 41, in restart
Bench(".").reload(web, supervisor, systemd)
File "/home/frappe/.local/lib/python3.10/site-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/home/frappe/.local/lib/python3.10/site-packages/bench/bench.py", line 152, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web, _raise=_raise)
File "/home/frappe/.local/lib/python3.10/site-packages/bench/utils/bench.py", line 321, in restart_supervisor_processes
failure = bench.run(f"{sudo}supervisorctl restart {group}", _raise=_raise)
File "/home/frappe/.local/lib/python3.10/site-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
File "/home/frappe/.local/lib/python3.10/site-packages/bench/utils/__init__.py", line 158, in exec_cmd
raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError: sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
INFO: A newer version of bench is available: 5.18.0 → 5.19.0
bench update
frappe@stt-desk:~/frappe-bench$ bench update
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From https://github.com/frappe/frappe
* branch version-13 -> FETCH_HEAD
WARN: shallow_clone is set in your bench config.
However without passing the --reset flag, your repositories will be unshallowed.
To avoid this, cancel this operation and run `bench update --reset`.
Consider the consequences of `git reset --hard` on your apps before you run that.
To avoid seeing this warning, set shallow_clone to false in your common_site_config.json
Backing up sites...
/home/frappe/frappe-bench/env/bin/python: Error while finding module specification for 'frappe.utils.bench_helper' (ModuleNotFoundError: No module named 'frappe')
INFO: A newer version of bench is available: 5.18.0 → 5.19.0
If you are going to propose reinstallation, please tell me the steps to backup everything properly as I had some custom app & print format work done earlier.
Thank you for your time & help in advance.
The text was updated successfully, but these errors were encountered:
Hello, I recently updated to Ubuntu OS jammy, after the Update the Site Gives the following error:
"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."
Running bench status gives me the following error:
bench restart
bench update
If you are going to propose reinstallation, please tell me the steps to backup everything properly as I had some custom app & print format work done earlier.
Thank you for your time & help in advance.
The text was updated successfully, but these errors were encountered: