I have v.14 with my custom app installed in a server. Now how can I upgrade it to v.15 without losing any data?
You have two options to upgrade from v14 to v15.
Option 1 is to first upgrade v14 to the latest version of itself. After that, take a complete backup of your data and files. Then, you can set up a new v15 version bench, install the necessary app and install your backup there. This way, you can test v15 without losing anything from your current setup.
Option 2 is to back up your data first and then directly upgrade from v14 to v15. This method skips the step of upgrading v14 separately.
bench switch-to-branch version-15 frappe erpnext
This command directly upgrades your ERPNext from v14 to v15 in the same bench after you’ve taken a backup. Just remember to run migrations afterward to apply any necessary changes to your database.
1 Like