Install ERPNEXT in Ubuntu - Robert's Blog

Install ERPNEXT in Ubuntu

By Robby 0 Comment May 9, 2019

Step 1:
Removed all mysql and maria db package using apt-get remove.

$ sudo apt-get purge mysql*

$ sudo apt-get autoremove

$ sudo apt-get autoclean

$ sudo apt-get install mariadb-server

Restart mysql

$ /etc/init.d/mysql start

Step 2:

$ wget

$ sudo python --develop

Bench will be installed successfully but it will say ERPNext installed successfully.

$ bench new-site sitename

it will throw error for Maria DB
Follow the fix here.

Error MariaDB is not properly configured to use the Barracuda storage engine

Creation of your site – sitename failed because MariaDB is not properly
configured to use the Barracuda storage engine.
Please add the settings below to MariaDB’s my.cnf, restart MariaDB then
run `bench new-site sitename` again.

/etc/init.d/mysql stop

character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

default-character-set = utf8mb4
sriganesh@sriganesh:/etc/mysql$ sudo nano my.cnf
add the above lines to this file save it

$ /etc/init.d/mysql start

Step 3:

$ bench new-site sitename

created new instance of ERPNext

follow command here.

$ bench get-app erpnext

$ bench --site sitename install-app erpnext

$ bench start

Step 4:

Now open this link in Chrome :


Add only one item and uncheck all the items we sell this item checkbox.
Don’t add any sample items and website for this project.

And the Result is …

Congratulations … ERPNEXT is installed

Add Comment

Your email address will not be published. Required fields are marked *