amf
July 12, 2022, 2:58am
#1
Current client version is:
ERPNext: v13.14.1 (version-13)
Frappe Framework: v13.14.1 (version-13)
Client is requesting to upgrade to:
ERPNext: v13.34.2 (version-13)
Frappe Framework: v13.35.0 (version-13)
I plan on using the following commands:
bench switch-to-branch v13.34.2 erpnext --upgrade
bench switch-to-branch v13.35.0 frappe --upgrade
Is this the correct way to do this? I cannot test it beforehand and can only do it once as per client request
NCP
July 12, 2022, 4:57am
#2
Hi @amf ,
First, take a backup, and after apply it.
Update the version.
bench update
bench migrate
// or bench --site site.name migrate
bench clear-cache
if an error show in bench update time then apply it.
bench update --reset
that means It simply resets the head of the git to the latest commit in the remote upstream repositories.
Comes in handy if there were any uncommitted/unknown changes.
Thank You!
amf
July 12, 2022, 5:43am
#3
Hi @amf ,
First, take a backup, and after apply it.
Update the version.
bench update
bench migrate
// or bench --site site.name migrate
bench clear-cache
if an error show in bench update time then apply it.
bench update --reset
that means It simply resets the head of the git to the latest commit in the remote upstream repositories.
Comes in handy if there were any uncommitted/unknown changes.
Thank You!
I should do this after running the switch-to-branch commands is that correct?
bench switch-to-branch v13.34.2 erpnext --upgrade
bench switch-to-branch v13.35.0 frappe --upgrade
NCP
July 12, 2022, 5:52am
#4
No.
It uses only when you switch from version 12 to version 13.
v13 upgrade for only use
bench update
amf
July 12, 2022, 5:58am
#5
Need to update ERPnext version to v13.34.2 only not latest, how do I upgrade to v13.34.2 only?
NCP
July 12, 2022, 6:05am
#6
My last response.
first, check the bench version.
bench version
if your version is not the latest then apply it.
bench update
I don’t think to update a specific version to upgrade version.
when the update command run then it fetches the latest version.
Latest Version:
Frappe: v13.35.0
ERPNext: v13.35.1
Thank You!
amf
July 12, 2022, 6:11am
#7
My last response.
first, check the bench version.
bench version
if your version is not the latest then apply it.
bench update
I don’t think to update a specific version to upgrade version.
when the update command run then it fetches the latest version.
Latest Version:
Frappe: v13.35.0
ERPNext: v13.35.1
Thank You!
To clarify, it is NOT possible to update to specific version?
NCP
July 12, 2022, 6:26am
#8
I don’t know and if it’s possible then it is hard to upgrade a specific version.
Dear all,
There have been several threads regarding the possibility or not to install a specific version of ERPNext on a server.
While it is not recommended to install an older version of the software and in my opinion a bad practice, because it may be vulnerable, it is sometimes necessary until all customizations have been migrated to a newer version.
Step 1
If the version you wish to install is not very old and no breaking changes have been introduced in the installation requirements or in…