Do you specifically want to run ERPNext base on Centos image, or your server is Centos.
If it is the latter, you could use my setup.
You could simply try by stop all running container then run docker pull pipech/erpnext-docker-debian:stable docker run -d -p 8000-8005:8000-8005 -p 9000-9005:9000-9005 -p 3306-3307:3306-3307 pipech/erpnext-docker-debian:stable
Then wait a few second and try http://localhost:8000
If it works, then you can try production setup.
What I meant by naming erpnext-docker-debain is it is ERPNext image base on debian image, but it can run on any os that have docker.
Trust youâre doing well. Iâm following your guide for installing ERPNext in production and Iâve gotten to the point of running init.sh but itâs been updating DocTypes for Frappe for almost an hour now! Should it take this long?
I donât think itâll works, because production setup need your domain name point to server ip address.
Youâll need start new setup with your domain name.
The problem with Updating DocTypes for Frappe, make sure you server has at least 2 gm of ram if it already is you could try using older erpnext-docker-debian image.
Command to start all the containers
docker-compose start
Command to be executed everytime after starting your containers
./dbench -s
Command to enter your container
docker exec -it frappe bash
All bench commands can also be directly run from the host machine by using dbench. For instance bench start can be executed by running ./dbench -c start. Just preface the option with ./dbench -c. For more information on dbench run the command ./dbench -h.
Init create the site and setup an erpnext env.
You need to run the server with ./dbench -c start to get localhost:8000 active.
Donât forget the ./dbench -s to setup docker image
if that is the case the README is missing these steps. Iâll add them and send a PR would that be
./dbench -s
./dbench -c start
./dbench -s
it seems the develop branch of erpnext is installed. Is that on purpose in order to get a development installation installation running or can u set some option somewhere to install a production ready ERPNext?
I guess it would be the bench get-app in line 25 of the dbench script which needs some option in order to clone from the master branch?
yes, I know how to use Google ⌠There are many solutions, but what about THE solution ? The command âos.symlink (py_executable_base, full_pth)â causes the error ⌠What the installator do at this time ? and where ? If I understand this I understand who is ReadOnly âŚ
it seems to be a user permission issue. Check if your user frappe has all the read, write create etc. permissions in the folder you are trying to do bench init