I was able to create the site, most of the errors are related to site-creator starting before mariadb is completed. I moved mariadb service to be first and added dependencies on that on other containers.
I also changed mariadb.cnf ot add barracuda.
I am now getting this error when I browse to the site.
2021-03-13 19:10:57 23 [Warning] Access denied for user ‘_5da3170083d9d5b5’@‘172.22.0.11’ (using password: YES)
2021-03-13 19:11:57 24 [Warning] Access denied for user ‘_5da3170083d9d5b5’@‘172.22.0.11’ (using password: YES)
2021-03-13 19:12:57 25 [Warning] Access denied for user ‘_5da3170083d9d5b5’@‘172.22.0.11’ (using password: YES)
2021-03-13 19:13:57 26 [Warning] Access denied for user ‘_5da3170083d9d5b5’@‘172.22.0.11’ (using password: YES)
2021-03-13 19:14:57 27 [Warning] Access denied for user ‘_5da3170083d9d5b5’@‘172.22.0.11’ (using password: YES)
Now seeing bunch of access denied in the mariadb container:
2021-03-14 0:10:06 86 [Warning] Access denied for user ‘_5da3170083d9d5b5’@‘172.22.0.8’ (using password: YES)
2021-03-14 0:10:14 87 [Warning] Access denied for user ‘root’@‘localhost’ (using password: YES)
2021-03-14 0:11:06 88 [Warning] Access denied for user ‘_5da3170083d9d5b5’@‘172.22.0.8’ (using password: YES)
2021-03-14 0:11:15 89 [Warning] Access denied for user ‘root’@‘localhost’ (using password: YES)
2021-03-14 0:12:06 90 [Warning] Access denied for user ‘_5da3170083d9d5b5’@‘172.22.0.8’ (using password: YES)
2021-03-14 0:12:15 91 [Warning] Access denied for user ‘root’@‘localhost’ (using password: YES)
UPDATE:
Finally figured out the dependencies, and was able to build the development stack consistently without the errors. The site-creator is taking nearly 2 hours to build the site. Is that normal?
Thanks, @revant_one. I just wanted to double check. Now I will move on to swarm mode. How do you validate that ERPNext is properly installed in PWD environment. I didn’t see any health checks in docker compose.
I am trying with the env-local and still getting a 404. I’ve also tried manually configuring my etc/hosts file but to no avail, I am not able to reach mysite.localhost. One thing I do notice is that my test_site-creator_1 container immediately starts and then exits out.
And Error Log is
Attempt 1 to connect to mariadb:3306
Attempt 1 to connect to redis-queue:6379
Attempt 1 to connect to redis-cache:6379
Attempt 1 to connect to redis-socketio:6379
Connections OK
Site acc.xyz.in already exists
DocTypes for erpnext : [========================================] 100%
Updating customizations for Address
Updating customizations for Contact
*** Scheduler is disabled ***
End This Error and container stopped. Then I restarted again.
Hi @aa_prashant I just came across your post, have you managed to get this one sorted?
I think if you are using windows you need to use backslash instead of forward slash /
So for you in your powershell command you have to do.
And one more thing, if you are specifying project-directory parameter and using the installation directory, make sure that you have the .env file inside that installation directory, otherwise if your .env file is in the root folder of the frappe_docker then you can omit that parameter and just do.
Installed using these commands on a Digital Ocean droplet.
Works fine, however getting some difficulties in executing few bench commands, it gives some .py files error.
Will look into it again and send the complete trace
Hello @revant_one, I am trying to access my site ims.localhost within my LAN. I am running frappe inside docker and unable to access the IP:8000 from other PCs inside the LAN. I am trying this for local LAN deployment.Can you please help me with it?