Now that ERPNext version 14 final version is released.
Currently I have
ERPNext: v14.x.x-develop () (develop)
Frappe Framework: v14.x.x-develop () (develop)
What is the best way to update from version 14 develop to final without facing the dreaded 500 Server Error?
On my test VM this worked for user frappe:
sudo bench setup production frappe
sudo bench restart
bench switch-to-branch version-14 frappe erpnext
bench update --patch
You don’t need to re-setup production if it was already done, just switch to branch, migrate and build. (or update)