Unable to update Bench - basename $(git symbolic-ref -q HEAD)' returned non-zero exit status 1

Try updating frappe-bench: sudo pip3 install frappe-bench --upgrade

Then navigate to your frappe folder/apps and in each of the app folders try git status and git pull to see if one of the apps is causing the issue. If they all complete without error try bench update --reset.

1 Like