cgwire / kitsu-docker

Dockerfile used to build the trial image of Kitsu
https://hub.docker.com/r/cgwire/cgwire/
Apache License 2.0
39 stars 26 forks source link

postgresql entered FATAL state, too many start retries too quickly #34

Closed RyougiShiki-214 closed 1 month ago

RyougiShiki-214 commented 7 months ago

Docker version 25.0.3, build 4debf41 I found that I cannot login through Kitsu's default username and password, so I checked the console and got those error:

root@MyServer:~# docker run --init -ti --rm -p 80:80 -p 1080:1080 --name cgwire cgwire/cgwire [WARN tini (7)] Tini is not running as PID 1 and isn't registered as a child subreaper. Zombie processes will not be re-parented to Tini, so zombie reaping won't work. To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1. Running Zou... 2024-04-05 03:42:19,035 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. 2024-04-05 03:42:19,039 INFO RPC interface 'supervisor' initialized 2024-04-05 03:42:19,039 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2024-04-05 03:42:19,039 INFO supervisord started with pid 12 2024-04-05 03:42:20,041 INFO spawned: 'gunicorn' with pid 15 2024-04-05 03:42:20,042 INFO spawned: 'gunicorn-events' with pid 16 2024-04-05 03:42:20,059 INFO spawned: 'redis' with pid 17 2024-04-05 03:42:20,060 INFO spawnerr: unknown error making dispatchers for 'postgresql': EACCES 2024-04-05 03:42:20,063 INFO spawned: 'nginx' with pid 18 2024-04-05 03:42:21,082 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-04-05 03:42:21,082 INFO success: gunicorn-events entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-04-05 03:42:21,082 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-04-05 03:42:21,083 INFO spawnerr: unknown error making dispatchers for 'postgresql': EACCES 2024-04-05 03:42:21,084 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2024-04-05 03:42:23,086 INFO spawnerr: unknown error making dispatchers for 'postgresql': EACCES 2024-04-05 03:42:26,087 INFO spawnerr: unknown error making dispatchers for 'postgresql': EACCES 2024-04-05 03:42:26,087 INFO gave up: postgresql entered FATAL state, too many start retries too quickly image

frankrousseau commented 6 months ago

Thank you for reporting, we will check the image again.

RyougiShiki-214 commented 6 months ago

Thank you for reporting, we will check the image again.

Today I tried to build the docker image from this repo instead of pull image from docker hub, and I got it running well. For comparison, I tried the image cgwire/cgwire from Docker Hub, and the error appeared again. It seems that something went wrong in the Docker Hub image, and the error still exist in Docker Hub image today.

frankrousseau commented 6 months ago

I was able to set up the image on my computer. It may be related to your installation.

nledez commented 1 month ago

Hi @RyougiShiki-214 can you tell me if you still have this error? Thanks.

RyougiShiki-214 commented 1 month ago

Hi @RyougiShiki-214 can you tell me if you still have this error? Thanks. image

I tried just now, and it seems that this problem had been solved