Upgrade from v10.1.75 (master) to v12

did not get lucky to upgrade ERPNext to v11 or higher,
any tip will help

you need to give us more information, which you don’t get lucky?

  • You also need to update ERPNext to v12 and not just Framework
  • Use bench switch-to-branch develop to switch to develop branch

Provide the commands/steps you used to upgrade your instance.

The bench switch-to-branch command should be used to upgrade both frappe and ERPNext apps followed up bench update --patch to run patches for upgrade.


I’d used the following:-
bench switch-to-branch develop
bench setup requirements
bench update --patch
bench --site site1.local migrate
bench restart

bench switch-to-branch version-12 --upgrade
bench update
bench update --patch
bench start

error when running bench update:

bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
error: cannot open .git/FETCH_HEAD: Permission denied

you need to run on your frappe-bench folder