Bench update is showing this major version change message

This update will cause a major version change in Frappe/ERPNext from 13 to 14.
This would take significant time to migrate and might break custom apps.
Do you want to continue? [y/N]:

I have not selected any branch while installing the erpnext, however the branch is showing as “develop”
I want to switch to master branch or the stable one, tries with bench switch-to-master but its deprecated.
Please help.

By default, if you don’t select a branch while installing the system goes ahead with develop branch.

Because there is no master branch. Try:

bench switch-to-branch version-13 frappe erpnext --upgrade
bench update
bench build


tried it, successfully switched branch.

however, bench update gives the following error:

raise frappe.DuplicateEntryError(self.doctype,, e)
frappe.exceptions.DuplicateEntryError: (‘Patch Log’, ‘PATCHLOG00001’, IntegrityError(1062, “Duplicate entry ‘PATCHLOG00001’ for key ‘PRIMARY’”))

Has bench update --patch been tried?

yes, same issue with that too.

I think there is some problem with the database of one of my sites I have tried bench --site migrate --skip-failing, it worked successfully but when running bench update, it migrates the sites obviously without --skip-failing.
So, now looking for a way to repair database somehow and then try bench update but no clue yet.

Thanks again Kenneth :slight_smile: