But Can you please give me the reason for this issue. Because, in the previous version, I used the same command to update my bench. But I never faced this type of issue.
Hye @Chandresh_Thakkar
This issue happened because you have made changes in the ERPNext file (local changes). Or easy to understand you have edited any file of ERPNext or add new doctype in your system. So the update could have some issue because the file you edited is different with original file or the new file created is also different with the original file (which is update is take from frappe/erpnext repository)
It’s okay if you’re not make any changes. But i just tell you that the issue happened is because have the changes in the file. Maybe you did the changes but you didn’t notice. Or do you ever try to edit in current doctype or sth?
Hello
I have noticed vthis too when I know I made no changes myself. But check permission s and ownership on case you ran bench as root once for example.
Either way it’s easy to do a bench reset and will do no harm if you haven’t changed any files yourself
Several users (including myself) have had this issue. I just put it down to some weird occasional github issue. If you have mede no changes just do the following and everything will be fine.
cd /home/frappe/frappe-bench/apps/frappe
git reset --hard
cd /home/frappe/frappe-bench/apps/erpnext
git reset --hard
cd /home/frappe/frappe-bench/
bench update