斐浦软件 - 升级
升级方法
切换版本
应用于大版本升级,小版本升级不要使用这个方法;
bench switch-to-branch version-15 frappe erpnext --upgrade
单个升级
单个APP升级时使用;
bench update --apps manufacturing_language_pack --pull --reset
全部升级
自动备份升级所有的APP;
bench update --reset
不备份升级
升级过程中,不备份现有环境数据;
bench update --reset --no-backup
排除不升级
升级过程中,排除部分APP,这个命令还未确认是否好用;
bench exclude-app manufacturing_language_pack
备用
打补丁
bench update --patch
斐浦软件 - 升级
administrator edited 1年前升级方法
切换版本
应用于大版本升级,小版本升级不要使用这个方法;
bench switch-to-branch version-15 frappe erpnext --upgrade
单个升级
单个APP升级时使用;
bench update --apps manufacturing_language_pack --pull --reset
全部升级
自动备份升级所有的APP;
bench update --reset
不备份升级
升级过程中,不备份现有环境数据;
bench update --reset --no-backup
排除不升级
升级过程中,排除部分APP,这个命令还未确认是否好用;
bench exclude-app manufacturing_language_pack
官网升级
创建软链接
ln -s ~/frappe-bench/apps/manufacturing_language_pack/update_phipsoft_code.sh ~/frappe-bench
修改脚本
vim ./update_phipsoft_code.sh
#installDir="frappe14"
installDir="frappe-bench"
Print_Designer="0"
:wq!
执行脚本
./update_phipsoft_code.sh
恢复数据详见“备份与恢复”
bench --site phipsoft.com restore /home/frappe/tools/20240405_152021-phipsoft_com-database.sql.gz --with-public-files /home/frappe/tools/20240405_152021-phipsoft_com-files.tar --with-private-files /home/frappe/tools/20240405_152021-phipsoft_com-private-files.tar
允许登录
vim sites/phipsoft.com/quota.json
修改管理员密码;
修改账号安全设置;
关闭登录。
备用
打补丁
bench update --patch
Page Settings
wiki/
标题
录入新Wiki类标题