In the latest version V9, every time taking latest updates then it is asking for the bench update --reset. So whenever any new changes made or any pull needs to be taken then these commands need to be made.Earlier when there is bench update command fire then automatically update and latest pull comes but now need to use bench update --reset on every pull.
kindly assist to this issue on the latest. Below is the screenshot for the reference use.
I am logging with the same user as root and I am still proceeding with the same error. So please refer this link for more clarification on this matter, Also I am attaching the screenshot for the current user as I am logged in.
I had a permission error that prevented me to perform the latest hotfix update after I upgraded from v8 to v9. I was able to fix the permission issue using:
ubuntu@ip-xxx-xx-xx-xx:~$ cd /home/frappe/frappe-bench/apps/erpnext
ubuntu@ip-xxx-xx-xx-xx:/home/frappe/frappe-bench/apps/erpnext$ sudo chown -R frappe:frappe “$(git rev-parse --show-toplevel)/.git”
ubuntu@ip-xxx-xx-xx-xx:/home/frappe/frappe-bench/apps/erpnext$ cd /home/frappe/frappe-bench/apps/frappe
ubuntu@ip-xxx-xx-xx-xx:/home/frappe/frappe-bench/apps/frappe$ sudo chown -R frappe:frappe “$(git rev-parse --show-toplevel)/.git”
ubuntu@ip-xxx-xx-xx-xx:/home/frappe/frappe-bench/apps/frappe$ cd /home/frappe/frappe-bench
ubuntu@ip-xxx-xx-xx-xx:/home/frappe/frappe-bench$ su frappe
frappe@ip-xxx-xx-xx-xx:~/frappe-bench$ bench update --reset
the sudo chown -R frappe:frappe “$(git rev-parse --show-toplevel)/.git” command performed in erpnext and frappe git repository has fixed the permission issue (still no idea why I had this permission problem after updating) and I was then able to update.
Maybe that could help with the bench update issue.
Yeah, that’s weird because no, I ALWAYS make sure I’m using user frappe when doing updates… The root (ubuntu) user is always the default user when I ssh into my Amazon AWS instance (can’t connect using the private key with any other user other than “ubuntu”), I then switch to frappe user to perform any action related to frappe/erpnext.