Good Day,
Fresh installed Ubuntu 18.04.3
Sharing my complete guide how to install ErpNext v12 using easy install
This guide is for the new user here like me , trial and error and search different posted fixed and its work.
First if you install using easy install I dont know why but dont run apt update and upgrade
you may try but for me its not work…
Step 1: apt-get install python3-minimal build-essential python3-setuptools
Step 2: sudo adduser [frappe-user]
Step 3: sudo usermod -aG sudo [frappe-user]
Step 4: su [frappe-user]
Step 5: export LC_ALL=C.UTF-8
Step 6 : sudo wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
Step 7: sudo -H python3 install.py --production --user [frappe-user] --mysql-root-password [mypassword] --admin-password [admin-password]
(if encountered error run again the sudo -H python3 install.py --production --user [frappe-user] --mysql-root-password [mypassword] --admin-password [admin-password]
cd
cd frappe-bench
(to configure nginx )
run
bench setup nginx
sudo ln -s pwd
/config/nginx.conf /etc/nginx/conf.d/frappe-bench.conf
(for me i deleted the default file at sites-available)
sudo systemctl restart nginx
then
run
(frappe-bench)
./env/bin/pip install werkzeug==0.16.0
Sorry! We will be back soon Don’t panic fixed
because only in develop branch fixed the werkzeug not in production thats why you need to run then restart the server. and you can now browse the erpnext using the assigned ip
Hope it helps.
Thank You