Server Preparation for upgrading from ERPNext versoin 13 to 14
Following are the steps for preparing Ubuntu server for upgrading ERPNext version 13 to version 14.
RUN this command on ROOT
*********************************
sudo apt-get install python3.10
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
apt-get update
apt list | grep python3.10
sudo apt-get install python3.10
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
sudo update-alternatives --config python3
python3 -V
sudo apt install python-is-python3
python -V
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
sudo apt install python3.10-venv
sudo apt-get install python3.10-distutils
sudo apt install python3.10-dev
sudo apt update
sudo apt upgrade
init 6
curl -sL https://deb.nodesource.com/setup_14.x | bash -
nvm install 14
apt-get install nodejs redis-server -y
******** in case error
sudo apt remove python3-apt
sudo apt install python3-apt
*********
Cerbot maynot work in python 3.10 .
So do the following step.
vim /usr/bin/certbot
change the line #!/usr/bin/python3
to: #!/usr/bin/python3.8

Team ERPGulf
The team behind ERPGulf blogs here, expresses their thoughts, shares the experience, often show the frustrations. Contact us on support@ERPGulf.com
No comments yet. Start a new discussion.