Closed bonelifer closed 2 years ago
Nginx log:
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2022/07/21 14:56:04 [notice] 1#1: using the "epoll" event method
2022/07/21 14:56:04 [notice] 1#1: nginx/1.23.1
2022/07/21 14:56:04 [notice] 1#1: built by gcc 11.2.1 20220219 (Alpine 11.2.1_git20220219)
2022/07/21 14:56:04 [notice] 1#1: OS: Linux 5.13.0-7620-generic
2022/07/21 14:56:04 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2022/07/21 14:56:04 [notice] 1#1: start worker processes
2022/07/21 14:56:04 [notice] 1#1: start worker process 22
2022/07/21 14:56:04 [notice] 1#1: start worker process 23
2022/07/21 14:56:04 [notice] 1#1: start worker process 24
2022/07/21 14:56:04 [notice] 1#1: start worker process 25
2022/07/21 14:56:16 [error] 22#22: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.29.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "http://172.29.0.3:8080/", host: "localhost:9098"
172.29.0.1 - - [21/Jul/2022:14:56:16 +0000] "GET / HTTP/1.1" 502 4295 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
2022/07/21 15:01:41 [error] 23#23: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 172.29.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "http://172.29.0.3:8080/", host: "localhost:9098"
172.29.0.1 - - [21/Jul/2022:15:01:41 +0000] "GET / HTTP/1.1" 502 4295 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0" "-"
Postgreql log:
PostgreSQL Database directory appears to contain a database; Skipping initialization
2022-07-21 14:56:03.206 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2022-07-21 14:56:03.207 UTC [1] LOG: listening on IPv6 address "::", port 5432
2022-07-21 14:56:03.219 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-07-21 14:56:03.254 UTC [21] LOG: database system was interrupted; last known up at 2022-07-21 14:46:06 UTC
2022-07-21 14:56:03.707 UTC [21] LOG: database system was not properly shut down; automatic recovery in progress
2022-07-21 14:56:03.716 UTC [21] LOG: redo starts at 0/1A8BA80
2022-07-21 14:56:03.716 UTC [21] LOG: invalid record length at 0/1A8BB60: wanted 24, got 0
2022-07-21 14:56:03.716 UTC [21] LOG: redo done at 0/1A8BB28
2022-07-21 14:56:03.774 UTC [1] LOG: database system is ready to accept connections
webrecipes log:
Checking configuration...
Waiting for database to be ready...
Database is ready
Migrating database
Operations to perform:
Apply all migrations: account, admin, auth, authtoken, contenttypes, cookbook, sessions, sites, socialaccount
Running migrations:
No migrations to apply.
Generating static files
js-reverse file written to /opt/recipes/cookbook/static/django_js_reverse
1 static file copied to '/opt/recipes/staticfiles', 629 unmodified, 1346 post-processed.
Done
[2022-07-21 14:56:27 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2022-07-21 14:56:27 +0000] [1] [INFO] Listening at: http://0.0.0.0:9098 (1)
[2022-07-21 14:56:27 +0000] [1] [INFO] Using worker: sync
[2022-07-21 14:56:27 +0000] [12] [INFO] Booting worker with pid: 12
@bonelifer you just posted your email password online, you should change it immediately.
You changed your tandoor port to 9098, so the docker config shouldn't have this line:
- 9098:80
or delete this line
TANDOOR_PORT=9098
Ok, yeah I noticed. Just changed it. Will try.
Commenting it out of the .env file got me to the initial setup page. Thanks
Issue
Just stays on the 502 error page. Left it sitting for over an hour.
Tandoor Version
docker image version current
OS Version
Ubuntu 20.04.4
Setup
Docker / Docker-Compose
Reverse Proxy
No reverse proxy
Other
No response
Environment file
Docker-Compose file
Relevant logs
No response