unable to update bench after (failed) upgrade to v13
from frappe-bench folder, executing bench update --patch and get this result:
$ pwd
/home/frappe/frappe-bench
$ bench update --patch
remote: Enumerating objects: 247, done.
remote: Counting objects: 100% (223/223), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 247 (delta 183), reused 189 (delta 167), pack-reused 24
Receiving objects: 100% (247/247), 70.27 KiB | 8.78 MiB/s, done.
Resolving deltas: 100% (185/185), completed with 95 local objects.
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
- [new branch] dependabot/npm_and_yarn/lodash-4.17.21 → upstream/dependabot/npm_and_yarn/lodash-4.17.21
e22288ec8d…9d3b993b71 develop → upstream/develop
a5ea898204…36fe9020a8 version-13-hotfix → upstream/version-13-hotfix
Backing up sites…
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘frappe-bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/.bench/bench/cli.py”, line 41, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/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 “/home/frappe/.bench/bench/utils.py”, line 193, in update
backup_all_sites(bench_path=bench_path)
File “/home/frappe/.bench/bench/utils.py”, line 656, in backup_all_sites
backup_site(site, bench_path=bench_path)
File “/home/frappe/.bench/bench/utils.py”, line 651, in backup_site
run_frappe_cmd(‘–site’, site, ‘backup’, bench_path=bench_path)
File “/home/frappe/.bench/bench/utils.py”, line 769, in run_frappe_cmd
cwd=sites_dir, stdout=stdout, stderr=stderr)
File “/usr/lib/python2.7/subprocess.py”, line 394, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
$
Please help!! What to do to get back up and running?