After docker-compose project-name $PROJECT up -d executes, everything to the Creating project_site-creator_1 is marked done. docker logs project_site-creator_1 -f also shows progress bar on Updating DocTypes for erpnext to be complete, ending the log with *** Scheduler is disabled ***.
Even after waiting a few hours, I am still greeted by “Sorry. We will be back soon.” message. Anything I did wrong or need to watch out for? Googling for this error doesn’t get me any result with Docker.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4addee818b4e frappe/erpnext-worker:v12 "docker-entrypoint.s…" 2 hours ago Up 3 minutes one1-erp_erpnext-worker-default_1
3a04557f459a frappe/frappe-socketio:v12 "docker-entrypoint.s…" 2 hours ago Up 3 minutes one1-erp_frappe-socketio_1
62ad34410ddc frappe/erpnext-worker:v12 "docker-entrypoint.s…" 2 hours ago Up 4 minutes one1-erp_erpnext-worker-long_1
8a504687a2fb frappe/erpnext-worker:v12 "docker-entrypoint.s…" 2 hours ago Up 3 minutes one1-erp_erpnext-worker-short_1
48d549c2d6b0 frappe/erpnext-worker:v12 "docker-entrypoint.s…" 2 hours ago Up 3 minutes one1-erp_erpnext-schedule_1
157d40db6eb3 frappe/erpnext-worker:v12 "docker-entrypoint.s…" 2 hours ago Up About an hour one1-erp_erpnext-python_1
926958df0b37 mariadb:10.3 "docker-entrypoint.s…" 2 hours ago Up 3 minutes 3306/tcp one1-erp_mariadb_1
aadb0d03de67 traefik:v2.2 "/entrypoint.sh --lo…" 2 hours ago Up 3 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp one1-erp_traefik_1
40594819fe70 frappe/erpnext-nginx:v12 "/docker-entrypoint.…" 2 hours ago Up 3 minutes 80/tcp one1-erp_erpnext-nginx_1
e7d099496c58 redis:latest "docker-entrypoint.s…" 2 hours ago Up 3 minutes 6379/tcp one1-erp_redis-socketio_1
1465ac24e1c6 redis:latest "docker-entrypoint.s…" 2 hours ago Up 3 minutes 6379/tcp one1-erp_redis-queue_1
fea8e5987749 redis:latest "docker-entrypoint.s…" 2 hours ago Up 3 minutes 6379/tcp one1-erp_redis-cache_1
I plan to learn, that’s why I resorted to Docker: one because it’s relatively straightforward; two because future-proofing any need to move container to another machine or possibly off-site.
~/frappe_docker$ sudo docker logs one1-erp_erpnext-python_1 -f
[sudo] password for one1info:
Attempt 1 to connect to mariadb:3306
Attempt 2 to connect to mariadb:3306
Attempt 3 to connect to mariadb:3306
Attempt 4 to connect to mariadb:3306
Attempt 5 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
[2021-03-23 10:51:37 +0000] [23] [INFO] Starting gunicorn 19.10.0
[2021-03-23 10:51:37 +0000] [23] [INFO] Listening at: http://0.0.0.0:8000 (23)
[2021-03-23 10:51:37 +0000] [23] [INFO] Using worker: gthread
[2021-03-23 10:51:37 +0000] [26] [INFO] Booting worker with pid: 26
[2021-03-23 10:51:37 +0000] [27] [INFO] Booting worker with pid: 27
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Attempt 1 to connect to mariadb:3306
Attempt 2 to connect to mariadb:3306
Attempt 3 to connect to mariadb:3306
Attempt 4 to connect to mariadb:3306
Attempt 5 to connect to mariadb:3306
Attempt 6 to connect to mariadb:3306
Attempt 7 to connect to mariadb:3306
Attempt 8 to connect to mariadb:3306
Attempt 9 to connect to mariadb:3306
Attempt 10 to connect to mariadb:3306
Connection to mariadb:3306 timed out
[2021-03-23 12:00:39 +0000] [16] [INFO] Starting gunicorn 19.10.0
[2021-03-23 12:00:39 +0000] [16] [INFO] Listening at: http://0.0.0.0:8000 (16)
[2021-03-23 12:00:39 +0000] [16] [INFO] Using worker: gthread
[2021-03-23 12:00:39 +0000] [19] [INFO] Booting worker with pid: 19
[2021-03-23 12:00:39 +0000] [20] [INFO] Booting worker with pid: 20
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Site one1-erp does not exist
Attempt 1 to connect to mariadb:3306
Attempt 2 to connect to mariadb:3306
Attempt 3 to connect to mariadb:3306
Attempt 4 to connect to mariadb:3306
Attempt 5 to connect to mariadb:3306
Attempt 6 to connect to mariadb:3306
Attempt 7 to connect to mariadb:3306
Attempt 8 to connect to mariadb:3306
Attempt 9 to connect to mariadb:3306
Attempt 10 to connect to mariadb:3306
Connection to mariadb:3306 timed out
[2021-03-23 12:06:59 +0000] [22] [INFO] Starting gunicorn 19.10.0
[2021-03-23 12:06:59 +0000] [22] [INFO] Listening at: http://0.0.0.0:8000 (22)
[2021-03-23 12:06:59 +0000] [22] [INFO] Using worker: gthread
[2021-03-23 12:06:59 +0000] [25] [INFO] Booting worker with pid: 25
[2021-03-23 12:06:59 +0000] [26] [INFO] Booting worker with pid: 26
Site one1-erp.local does not exist
Site one1-erp does not exist
Attempt 1 to connect to mariadb:3306
Attempt 2 to connect to mariadb:3306
Attempt 3 to connect to mariadb:3306
Attempt 4 to connect to mariadb:3306
Attempt 5 to connect to mariadb:3306
Attempt 6 to connect to mariadb:3306
Attempt 7 to connect to mariadb:3306
Attempt 8 to connect to mariadb:3306
Attempt 9 to connect to mariadb:3306
Attempt 10 to connect to mariadb:3306
Connection to mariadb:3306 timed out
[2021-03-23 13:33:21 +0000] [17] [INFO] Starting gunicorn 19.10.0
[2021-03-23 13:33:21 +0000] [17] [INFO] Listening at: http://0.0.0.0:8000 (17)
[2021-03-23 13:33:21 +0000] [17] [INFO] Using worker: gthread
[2021-03-23 13:33:21 +0000] [20] [INFO] Booting worker with pid: 20
[2021-03-23 13:33:21 +0000] [21] [INFO] Booting worker with pid: 21
Site one1-erp does not exist
I am sorry for wasting your time. For some reason, I misunderstood SITES= to be alias of SITE_NAME= so I could use hostname.local and hostname.lan as addresses to resolve the server over my LAN.