-
Notifications
You must be signed in to change notification settings - Fork 163
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
Supervisord unable to start when I run docker-compose up #157
Comments
Hi @valpet93 Let me know if this helps. |
Hi @righel , First of all I would thank you for your patience. Actually, the fix seems to fail as the output is quite similar:
However, the post-fix exit status of both resque and master is 0, which is way better than before. Any further idea to figure out the problem? |
Do you have the same output in MISP diagnostics -> workers? |
What's going on in there @righel ? What the output of the sudo docker-compose up command is supposed to be like? |
In addition, I tried to brutally shut down the machine (no Ctrl+C to the command) and restarted. The docker at the boot of the machine was already up with MISP GUI totally working along with all the workers. However, is the supervisor supposed to be installed by the sudo docker-compose up command? |
Hello, I'm not the original author of this repo but it works like this:
The issue you faced originally was the workers were trying to run as root and there's a check in the script that starts the workers that prevents this, see: https://github.com/MISP/MISP/blob/2.4/app/Console/worker/start.sh#L5 From what I can see it is the expected behavior for the |
Hi there.
When I run sudo docker-compose up, supervisord is unable to start.
It seems the problem is linked to postfix (master) and resque workers (see below).
I tried several times, installing the docker on ubuntu both server (22 and 20) and client (22 and 20).
However, the docker containers are up. I can log in to MISP GUI. There are no workers shown in diagnostic. Moreover, if I set supervisor to true, no settings page is reachable, as it is supposed since it is not up.
In addition, I'm able to access to docker container with sudo docker exec -i -t 50dfd5921cfe /bin/bash command.
Those below are the output of several command to check supervisor status
However, I tried to figure out the issue, so I uninstalled any trace of supervisor
and installed it again following the official MISP guide with some tweaks (see below for an example):
I changed the 28th line of the file /etc/supervisor/supervisord.conf
from
to
Eventually, I succeed:
BUT whenever I restart the docker container, that keeps to report the same error reported at the start of the post, I have to stop and start supervisorctl service...
There is something broken in the installation script I suppose.
What can I do for you in order to fix it?
Below you can find the whole output of the docker-compose up command as encoded file.
docker-compose up output.txt
See you
The text was updated successfully, but these errors were encountered: