I’m trying to update to Frappe 12.13.0 and to ERPNext 12.15.0 by running
sudo bench update
At some stage I get the following:
Building erpnext assets…
Built js/erpnext-web.min.js
Built css/marketplace.css
Built css/erpnext.css
Built js/item-dashboard.min.js
Built js/erpnext.min.js
Built css/erpnext-web.css
Built js/marketplace.min.js
Done in 5.974s
Done in 26.93s.
[sudo] password for erpnext:
I don’t know what password to enter. My system user’s password (a sudoer) doesn’t work.
After 3 wrong attempts I get the following:
sudo: 3 incorrect password attempts
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/opt/bench/bench-repo/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 “/opt/bench/bench-repo/bench/commands/update.py”, line 25, in update
update(pull=pull, patch=patch, build=build, requirements=requirements, restart_supervisor=restart_supervisor, restart_systemd=restart_systemd, backup=not no_backup, force=force, reset=reset)
File “/opt/bench/bench-repo/bench/utils.py”, line 213, in update
restart_supervisor_processes(bench_path=bench_path)
File “/opt/bench/bench-repo/bench/utils.py”, line 519, in restart_supervisor_processes
supervisor_status = subprocess.check_output([‘sudo’, ‘supervisorctl’, ‘status’], cwd=bench_path)
File “/usr/lib/python3.8/subprocess.py”, line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “/usr/lib/python3.8/subprocess.py”, line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘sudo’, ‘supervisorctl’, ‘status’]’ returned non-zero exit status 1.
Now the site is showing the message: “Your system is being updated. Please refresh again after a few moments” and I have no idea what to do.
I’m running Ubuntu 20.04.1 LTS
Thanks