Good day
I am trying to clear an bug by updating my V14 system. Bug described in this thread …
https://discuss.frappe.io/t/perm-level-for-section-not-visible-in-v14/107090/3
As @NCP describes in his message, I started of with …
bench update --reset
Then I get this error…
The `develop` branch of Frappe HR is no longer compatible with Frappe & ERPNext's `version-14`.
Since you are using ERPNext/Frappe `version-14` please switch Frappe HR's branch to `version-14` and then proceed with the update.
You can switch the branch by following the steps mentioned here: https://github.com/frappe/hrms/wiki/Changes-to-branching-and-versioning
I then follow the instructions as set out above i.e. at the link …
https://github.com/frappe/hrms/wiki/Changes-to-branching-and-versioning
This seem to execute without error.
I then redo the update…
bench update --reset
Then I get this error …
$ git reset --hard upstream/version-14
fatal: ambiguous argument 'upstream/version-14': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
ERROR:
subprocess.CalledProcessError: Command 'git reset --hard upstream/version-14' returned non-zero exit status 128.
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 "/usr/local/lib/python3.10/dist-packages/bench/cli.py", line 127, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/commands/update.py", line 59, in update
update(
File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 442, in update
pull_apps(apps=apps, bench_path=bench_path, reset=reset)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 659, in pull_apps
bench.run(reset_cmd, cwd=app_dir)
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 158, in exec_cmd
raise CommandFailedError from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError
Would appreciate some assistance with this. Thank you