Bench switch-to-branch v3.x.x frappe erpnext error

INFO: Fetching upstream unshallow for frappe
$ git remote set-branches upstream ‘*’
$ git fetch --all --unshallow --quiet
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 34481 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
error: Could not fetch upstream
ERROR:
Traceback (most recent call last):
File “/home/nonierp/.local/bin/bench”, line 8, in
sys.exit(cli())
File “/home/nonierp/.local/lib/python3.10/site-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 “/home/nonierp/.local/lib/python3.10/site-packages/bench/commands/update.py”, line 93, in switch_to_branch
switch_to_branch(branch=branch, apps=list(apps), upgrade=upgrade)
File “/home/nonierp/.local/lib/python3.10/site-packages/bench/utils/app.py”, line 107, in switch_to_branch
switch_branch(branch, apps=apps, bench_path=bench_path, upgrade=upgrade)
File “/home/nonierp/.local/lib/python3.10/site-packages/bench/utils/app.py”, line 68, in switch_branch
exec_cmd(
File “/home/nonierp/.local/lib/python3.10/site-packages/bench/utils/init.py”, line 158, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError

nonierp@doko:~$ python3 --version
Python 3.10.6
nonierp@doko:~$ pip --version
pip 23.1.1 from /home/nonierp/.local/lib/python3.10/site-packages/pip (python 3.10)
nonierp@doko:~$ node --version
v16.20.0
nonierp@doko:~$ yarn --version
1.22.19
nonierp@doko:~/dokos-bench$ bench --version
2.5.3

how to fix it

i found this only way to get too production

bench init dokos-bench --branch v3.x.x
bench get-app Dokos / Payments · GitLab --branch v3.x.x
bench get-app dokos --branch v3.x.x
bench get-app Dokos / HRMS · GitLab --branch v3.x.x
bench get-app Dokos / Dokos WooCommerce · GitLab --branch v3.x.x

after install app run
bench update --reset

Installed Apps

WooCommerce: v1.5.3 (v3.x.x)
Dokos: v3.31.3 (v3.x.x)
Dodock: v3.32.0 (v3.x.x)
HRMS: v1.6.1 (v3.x.x)
Payments: v1.1.4 (v3.x.x)

1 « J'aime »