snipe-it-docker-compose icon indicating copy to clipboard operation
snipe-it-docker-compose copied to clipboard

Getting 500 Errors during Pre-Flight

Open leethobbit opened this issue 2 years ago • 3 comments

Hello,

I followed your instructions and was able to get an instance of Snipe-IT online. As soon as I start trying to configure the server I get 500 errors though. Any thoughts on what might cause this? I have attempted to enable debugging mode but so far I'm just getting permissions errors it looks like - I think this is related to the debugging and not the actual webpages though.

Thanks!

leethobbit avatar Jan 10 '22 19:01 leethobbit

Same thing, on :3051 500 | SERVER ERROR

vacances avatar May 21 '22 16:05 vacances

I'm facing the same issue. I notice that the mysql container exits as soon as it starts:

CONTAINER ID   IMAGE            COMMAND                  CREATED         STATUS                        PORTS                                            NAMES
0d33c1a97086   snipe/snipe-it   "/startup.sh"            4 minutes ago   Up 4 minutes                  443/tcp, 0.0.0.0:3051->80/tcp, :::3051->80/tcp   snipeit_snipe-it_1
daf3994b74a6   mysql:5.6        "docker-entrypoint.s…"   4 minutes ago   Exited (137) 19 seconds ago                                                    snipe-mysql

Its docker logs show:

2022-07-25 21:34:24+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.51-1debian9 started.
2022-07-25 21:34:25+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2022-07-25 21:34:25+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.51-1debian9 started.
2022-07-25 21:38:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.51-1debian9 started.
2022-07-25 21:38:39+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2022-07-25 21:38:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.6.51-1debian9 started.

amks1 avatar Jul 25 '22 21:07 amks1