This is my test instance. It was Frappe v10 before. I switched the branch and stuff. I mean, I don’t see any changes ; I think , I need ERPNext v11 for updated features. How can I achieve that?
First it has been recommended that both your apps should be on the same branch i.e. master or staging. Also, one thing to note is v11 features have not yet been merged into master. SO to try them out you’ll have to switch to staging branch.
I recommend that If you are testing v11 then make a new site and try those changes there in your development server or PC. Then try bench switch-to-branch staging and bench update --patch to get it done.
Hi @fnrfarid, @snv solution is the correct one.
If it’s still not working check the .git/config file directly in the erpnext folder.
If correctly configured (like in @snv post) you should be able to make a git fetch and fetch the staging branch.
It’s strictly a git issue, so maybe you can find some help by making some git tutorials or looking in Google in reference to the error generated by the git command.
fetch = +refs/heads/:refs/remotes/upstream/
Ensure the characters are correct. Save the file and then use
bench switch-to-branch staging erpnext
use bench switch-to-branch staging frappe (if your frappe is still on Master)
bench setup requirements
bench --site site-name migrate
bench restart
Frappe and ERPNext should both be on Staging. Had the same issue till I fixed the config file. Since then now more problems. ignore npm if it throws any error.
you should wait till the v11 actually comes to master. however you can try it on a test instance. and by instance I don’t mean a different server altogether. It can either be a different frappe-something folder (its called a bench instance) or on a different pc