Hi, I would like to upgrade to version 12. My current version is
ERPNext: v11.1.14 (master) - Frappe Framework: v11.1.14 (master)
What is the procedure?
I have already tried but received errors and then either restored the databases.
#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 on the ERPNext forum)
#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 :
#nano ~/frappe-bench/apps/erpnext/.git/config
#[remote "upstream"]
# url = https://github.com/frappe/erpnext
# fetch = +refs/heads/*:refs/remotes/upstream/*
# OR #
sed -i.bak 's/\/master/\/*/g' ~/frappe-bench/apps/erpnext/.git/config #replace /master with /* (copy the original file to *.bak)
#then run....
bench switch-to-branch version-12 frappe erpnext --upgrade
bench update --patch #not generally a requirement, but I prefer to run it anyway
Hi, I wanted to inform you that in order not to have problems on the update, I had to create a new Droplet first. Your information has been accurate.
I wanted to give you special thanks for your willingness and patience despite the linguistic divers
Hi , could u give me those fresh commands?