So, we’re working on upgrading erpnext v4 (data) to current, I have a v6 in place as a ‘proxy’ of sorts. I’m working with @bobzz_zone; we are going to attempt this crucial upgrade for my oldest client. I’ll post the steps, in case we still have people coming from that far back who need this. I’ll post updates. We’ll ultimately leap to v10, It looks doable.
This is very good when you cannot make a framework and apps upgrade like in this case: v4 to 9
Take sqldump of running old version; so mysqldump -u root -p databasename
hot tips: if you’re using a vm, you may have a hard time getting your files into the host to copy into another vm, here are your options. use 7zip to extract old vmdk files(works magically), head to the location of the dump and copy it.
if you have GUI in your Ubuntu or CentOS, upload this to onedrive, google drive etc, then download in vm, or put on a share and use wget; like so: wget “http://link_to_file”
Restore database using source and new database method, update site_config.js
Then you can do bench update --reset, or bench migrate.
So, we’re working on upgrading erpnext v4 (data) to current, I have a v6 in place as a ‘proxy’ of sorts. I’m working with @bobzz_zone; we are going to attempt this crucial upgrade for my oldest client. I’ll post the steps, in case we still have people coming from that far back who need this. I’ll post updates. We’ll ultimately leap to v10, It looks doable.
This is very good when you cannot make a framework and apps upgrade like in this case: v4 to 9
Take sqldump of running old version; so mysqldump -u root -p databasename
hot tips: if you’re using a vm, you may have a hard time getting your files into the host to copy into another vm, here are your options. use 7zip to extract old vmdk files(works magically), head to the location of the dump and copy it.
if you have GUI in your Ubuntu or CentOS, upload this to onedrive, google drive etc, then download in vm, or put on a share and use wget; like so: wget “http://link_to_file”
Restore database using source and new database method, update site_config.js
Then you can do bench update --reset, or bench migrate.