-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docker] supervisor-exit-event-listener exits with status 127, "not expected" #10231
Closed
2 tasks done
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
I'm going to see if I can reproduce this, and then see if the suggested fix seems to fix it. |
I had the same issue. The following Dockerfile fixes it.
|
@Wouter0100 thanks so much for the update! |
Wouter0100
added a commit
to Wouter0100/snipe-it
that referenced
this issue
Nov 1, 2021
This fixes snipe#10231, without creating an own Dockerfile.
13 tasks
Wouter0100
added a commit
to Wouter0100/snipe-it
that referenced
this issue
Nov 2, 2021
This fixes snipe#10231, without creating an own Dockerfile.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Debug mode
Describe the bug
Using Docker image with tag v5.3.0, starting the container results in the supervisord eventlistener "exit_on_any_fatal" to immediately fail, regardless if all other services are running properly. This does not cause the container to exit immediately.
The message:
INFO exited: exit_on_any_fatal (exit status 127; not expected)
It appears that the issue is python(2) not being available in the Ubuntu image. The script is run directly and tries to invoke
python
, which does not exist.python3
, however, does, and changing#!/usr/bin/env python
to#!/usr/bin/env python3
appears to fix the issue.Reproduction steps
docker pull snipe/snipe-it:v5.3.0
docker run ...
...
Expected behavior
exit_on_any_fatal
should not exit immediately. A successful launch would show:INFO success: exit_on_any_fatal entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Screenshots
No response
Snipe-IT Version
5.3.0
Operating System
Ubuntu
Web Server
apache
PHP Version
7.x
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
Docker, fresh install.
The text was updated successfully, but these errors were encountered: