-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Migrating from old bench
Pratik Vyas edited this page Jul 21, 2014
·
11 revisions
-
Install new bench
cd ~ git clone https://github.com/frappe/bench sudo pip install -e bench
-
Remove unnessesary files
cd ~/frappe-bench rm -rf install_scripts scripts templates standard_apps.json Readme.md .gitignore .git .update_bench
-
Remove old crontab entries, check if you have crontab entries from the previous bench by running
crontab -l
and remove them by editing the crontab usingcrontab -e
. -
Setup bench
bench setup config # sets up config.json bench setup backups # sets up auto backup every 6hrs bench setup auto-update # auto updates bench and your erpnext instance every day at 10AM sudo bench setup sudoers # required to restart supervisor (if production is setup) bench config restart_supervisor_on_update on# restart supervisor automatically after update (if production is setup)
If all goes well, you should be able to switch to the new bench without any downtime.
Custom Footer Page