Easy install setup guide for erpnext installation on Ubuntu 20.04 LTS. With some modification of course

@omid

Teamviewer13 ?

for the access… send me private message with the connection details.

Hello @Nikunj_Patel,
I am getting the same error log as @omid got.
Can you please look into my installation screen.
I can share you with my TeamViewer access.

Hi ,
I have some problem

When I change : On line 100 : Change current_dist = platform.dist() to current_dist = [“Ubuntu”, “20.04”]

@Phan_Minh_Duc

Use the following install.py

https://drive.google.com/file/d/1N1_NWyqVFVsCQ6kVZUKwCIghRLbRd4Dz/view?usp=sharing

3 Likes

Thank for you answer.
i download file install.py from your link, and i run step : sudo python3 install.py --production --user phanminhduc --mariadb-version 10.5 --verbose

@Phan_Minh_Duc

It is normal.

Just type

export LC_ALL=C.UTF-8

And press enter…

$ export LC_ALL=C.UTF-8
$ export LANG=C.UTF-8
i run this and it’s work.


Now I’am doing next step. Thank you a lot.

when i run : sudo python3 install.py --production --user Your_USERNAME --mariadb-version 10.5 --verbose
and this is output:


It’s OK?

@Phan_Minh_Duc

Did you create separate user with sudo rights for this installation ?

I create new user and this is output :

@Phan_Minh_Duc

Please enter the your desired Mysql password and after that Bench Admnistrator password.

Remember it you will need this later on to connect via browser.

Are you installing this for the first time ?

Yes, this is first time i install erpnext. and i don’t my sql root password.
Thank you.

@Phan_Minh_Duc

You dont neet to know your Mysql password. The command prompt is asking you to enter and set this password.

It’s Work.

What should i do in next step?
Thank.

@Phan_Minh_Duc

Please follow my post correct sequence as below :

  1. If you get libssl error.

Since libssl1.0-dev is not supported by Ubuntu 20.04 you need to do following.

go to /tmp/ .bench/playbooks/roles/common/tasks/ubuntu.yml

sudo nano ubuntu.yml

Line 36 : Change from - libssl1.0-dev to - libssl1.1

Again libssl1.0 does not support ubuntu 20.04. Ubuntu 20.04 comes installed with libssl1.1, if not install it.

  1. If you get Nodejs error, “Error mentioning no supported version found for the distribution”

Nodejs version 12.x works with ubuntu20.04. We need to fix playbook for this.

go to /tmp/ .bench/playbooks/roles/nodejs/tasks/ debian_family.yml

sudo nano debian_family.yml

Line 6 : Change from - “curl --silent --location https://deb.nodesource.com/setup_{{ node_version }}.x | bash -”
TO “curl --silent --location https://deb.nodesource.com/setup_12.x | bash -”

Line 8 : Change from - name: Install nodejs {{ node_version }}

TO

- name: Install nodejs 12

--------------------------------------------//--------------------------------------------------------------------

go to /tmp/ .bench/playbooks/roles/nodejs/tasks/ redhat_family.yml

sudo nano redhat_family.yml

Line 6 : Change from “curl --silent --location https://rpm.nodesource.com/setup_{{ node_version }}.x | sudo bash -”
TO “curl --silent --location https://rpm.nodesource.com/setup_12.x | sudo bash -”

Line 8 : Change from - name: Install node v{{ node_version }}
TO - name: Install node v12

  1. If you get wkhtmltopdf error.

Then go to https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.focal_amd64.deb
download the wkhtmltox_0.12.5-1.focal_amd64.deb file rename it to wkhtmltox.deb

And the copy or move this file to /tmp folder.

I am not a professional coder so any mistakes or wrong way of doing things in above method should be highlighted and your feedback is appreciated.

Hope this will help people to enjoy the sweet fruit of ERPNEXT.

1 Like

I got this error. How to solve it?

I will do all step: in file debian_family.yml, redhat_family.yml and download wkhtmltox.deb
Then i run again: sudo python3 install.py --production --user Your_USERNAME --mariadb-version 10.5 --verbose

Thank you for the guide
I’ve followed it step by step, including wkhtmltox.deb step

But I have the error below

Would appreciate your help and guidance
Thank you




I have followed all the steps , came to this final page, but not any action after this , still 5 hrs this is showing .