kitsu-docker icon indicating copy to clipboard operation
kitsu-docker copied to clipboard

postgresql entered FATAL state, too many start retries too quickly

Open RyougiShiki-214 opened this issue 1 year ago • 3 comments

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

RyougiShiki-214 avatar Apr 05 '24 03:04 RyougiShiki-214

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

frankrousseau avatar Apr 17 '24 14:04 frankrousseau

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.

RyougiShiki-214 avatar Apr 28 '24 07:04 RyougiShiki-214

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

frankrousseau avatar Apr 29 '24 17:04 frankrousseau

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

nledez avatar Sep 04 '24 11:09 nledez

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

RyougiShiki-214 avatar Sep 05 '24 03:09 RyougiShiki-214