I hope you all fine and doing great. I want to update erpnext v12 to v13 and i used the command.
bench switch-to-branch version-13-beta frappe erpnext --upgrade
and it is switched to v13 successfully but the issue is when i run the command
bench update --upgrade
then it shows errors:
Syntax Error: Invalid syntax error
so i can resolve this error if anyone have solution then please guide us.
Thanks for the time.
May we know the operating environment?
bench console , and type:
print (sys.version) . What is the result?
For erp update v12 to v13
But it crashes because of some Python error. Do you suggest that first we should upgrade Debain9 to 10?
Reinstall or upgrade to Debian 10 then Try from below link.
Today I installed successfully the version-13.beta-7 on Debian 10.
sudo apt update && sudo apt upgrade --yes
Added frappe user and give it access to sudo
(For security - always create a user other than “frappe” for security!)
sudo adduser your-username
sudo usermod -aG sudo your-username
Get the install script install.py
Edit the install.py to enforce V13-beta bra…
Thanks a lot, but I’ve v12 and I have to migrate from v12 to v13 while I’ve debain9. Please suggest.
This is the issue, I think.
upgrade python env then try.
sudo apt-get install python3-dev
bench migrate-env python3
bench migrate-env python3.6
Thanks a lot, it solved the issue with this. First I upgraded to Debain10 then migrated to latest version of Python and then lastly switched to v13.
Also, any idea how to resolve this?
I am facing below issue
attributeerror: ‘user’ object has no attribute ‘module profile’ at the time of migrate
due to this issue showing system is updating
due to this version 13 is not updated
can anyone help