Upgrade ErpNext v14 to v15 (with error correction)

Опубликовано: 11 Март 2026
на канале: G. Tech
1,259
11

In this video I have thoroughly described the step-by-step process of upgrading ERPNext Version-14 to Version 15.

Perquisites:
-------------------
Version 14:
Python 3.10 or Python 3.11
Node.js 14 or 16
MariaDB 10.6.6+

Version 15:
Python 3.10 or Python 3.11
Node.js 18 or higher
MariaDB 10.6.6+

Install/Upgrade Prerequisite:
-----------------------------------------------
$ nvm install node
$ node –version
$ nvm alias default 21


$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add –
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/yarnkey.gpg
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

$ sudo apt update
$ sudo apt install yarn

$ npm list @redis/client
$ npm install @redis/client

$ yarn install

Switch to Version 15:
------------------------------------
Stop bench and close terminal.
Open New terminal and start bench for development environment & Supervisor for production:

$ bench start
$ bench switch-to-branch version-15 frappe payments erpnext hrms --upgrade

If upgrade failed after switched to branch version-15:
---------------------------------------------------------------------------------------
$ bench update

or if local change
$ bench update --reset

or if backup failed
$ bench --site erpnext-dev update --reset --no-backup
$ bench --site erpnext-dev migrate
========================================
Join this channel to get access to perks:
   / @gtech-it