Update from V-10 to V-11
1- change master to mater pass cd frappe/app/erp/.git/nano conficg
2- bench switch-to-master
3- bench setup requirements
4- bench update --patch
Update from V-10 to V-11
1- change master to mater pass cd frappe/app/erp/.git/nano conficg
2- bench switch-to-master
3- bench setup requirements
4- bench update --patch
master is not V11.
You must use branch version-11
bench switch-to-branch version-11
Since the v11/v12 changes, ERPNext upgrades quite weirdly - gives a bunch of messages which loop on themselves. To fix⌠(thanks to lasalesi who posted about this)
The default .git âconfigâ file has a sectionâŚ
[remote âupstreamâ]
fetch = +refs/heads/master:refs/remotes/upstream/master
âmasterâ needs to become "" #all occurrences, NB!: without the quotes
[remote âupstreamâ]
fetch = +refs/heads/:refs/remotes/upstream/*
Edit the file: apps > erpnext> .git > config :
sed -i.bak âs//master//*/gâ ~/frappe-bench/apps/erpnext/.git/config
replaces /master with /* (and makes a copy of the original file to *.bak)
#Then:
bench switch-to-branch version-11 frappe erpnext
make sure you switch BOTH! (frappe erpnext)
his download is ~750MB, so it takes a while
bench update --patch