Hey Everyone,
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:
UTF-8 Error
Syntax Error: Invalid syntax error
so i can resolve this error if anyone have solution then please guide us.
Thanks for the time.
Regards,
smino
September 23, 2020, 1:34pm
2
May we know the operating environment?
Try bench console
, and type: print (sys.version)
. What is the result?
For erp update v12 to v13
1 Like
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.
1.
The usual:
sudo apt update && sudo apt upgrade --yes
2.
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
3.
export LC_ALL=C.UTF-8
4.
Get the install script install.py
wget https://raw.githubusercontent.com/frappe/bench/develop/install.py
5.
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 restart
bench update
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?
Hi,
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