How to update ERPNext from v-13 to v-15 ubuntu 20.04

How to update erpnext from v-13 to latest one without facing any error i am using linode ubuntu server 20.04 dedicated 4gb

To be extra safe I’d update to v14 then v15

create a new bench with v14 restore your new site there. migrate

bench init bench-14 --frappe-branch version-14
bench get-app erpnext --branch version-14
bench new-site v14.mysite.com
bench use v14.mysite.com
bench start
bench --site v14.mysite.com --force restore path/to/backup
bench --site v14.mysite.com migrate
bench backup

Repeat with version 15 upto the point of migration. Be sure to also migrate your site files and copy over your site_config.json’s encryption_key value

In version 15, you can setup production.

sudo bench setup production [ubuntu-username] # run this twice

You can then setup nginx and update your domain to this new v15 site

1 Like