Try ERPNext Buy Support Partners Foundation

Unable to update v12 to v13

sudo bench switch-to-branch develop frappe erpnext --upgrade

is not working properly.

/home/frappe/frappe-bench# bench version
erpnext 12.10.0
foundation 0.0.1
frappe 12.7.0

OS: Ubuntu 16.04

I have tried this and achieve.

36%20PM%20-%20Edited

  • sudo bench switch-to-branch version-13-beta frappe erpnext --upgrade
  • sudo bench update --patch
  • sudo bench setup requirements
  • sudo npm cache clean -f
  • sudo npm install -g n
  • sudo n stable
  • sudo bench setup requirements
  • sudo bench --site <my site> migrate

@Suresh_Thakor thanks for the quick response? What was your OS version ?

This is how I Updated to v13 finally:

on v12

bench update

Export database and make a zip of of private and public files.

Created another server using Ubuntu 18.04
Installed frappe, erpnext with version 12 & [custom apps]

Import database and move all private and public files to relevant folders.

Later then updated to v13 using the following command:

bench switch-to-branch version-13-beta frappe erpnext --upgrade

Sorry for late reply. It is Debian 10, also running fine in Ubuntu 18.04.

1 Like