pls help guys, getting the following error
fatal: couldn’t find remote ref master
ERROR:
with bench update --reset
i do have custom apps… if i delete all custom apps from the apps folder n just keep frappe n erpnext apps… the bench update goes through fine…
logs:
HEAD is now at 29bb873347 chore(release): Bumped to Version 14.11.0
$ git reflog expire --all
$ git gc --prune=all
Enumerating objects: 489793, done.
Counting objects: 100% (489793/489793), done.
Delta compression using up to 4 threads
Compressing objects: 100% (98845/98845), done.
Writing objects: 100% (489793/489793), done.
Total 489793 (delta 388710), reused 488453 (delta 387370)
Checking connectivity: 489793, done.
$ find . -name “*.pyc” -delete
Skipping pull for app library_management, since remote doesn’t exist, and adding it to excluded apps
$ git fetch --depth=1 --no-tags upstream main
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - tridz-dev/erpnext_fcm: Firebase Cloud Messaging integration for sending notification created in ERPNext/Frappe to users as push notification.
- branch main → FETCH_HEAD
$ git reset --hard upstream/main
HEAD is now at 2180ec5 fix:html tags removed
$ git reflog expire --all
$ git gc --prune=all
Enumerating objects: 31, done.
Counting objects: 100% (31/31), done.
Delta compression using up to 4 threads
Compressing objects: 100% (22/22), done.
Writing objects: 100% (31/31), done.
Total 31 (delta 4), reused 31 (delta 4)
$ find . -name “*.pyc” -delete
$ git fetch --depth=1 --no-tags upstream master
fatal: couldn’t find remote ref master
ERROR:
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
File “/usr/local/lib/python3.10/dist-packages/bench/cli.py”, line 127, in cli
bench_command()
File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 1130, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 1055, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 760, 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 436, in update
pull_apps(apps=apps, bench_path=bench_path, reset=reset)
File “/usr/local/lib/python3.10/dist-packages/bench/app.py”, line 658, in pull_apps
bench.run(f"git fetch --depth=1 --no-tags {remote} {branch}", 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
bench.exceptions.CommandFailedError
pls help