s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
See original GitHub issueChecklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latest
docker image? Yes - Are you sure you’re not using someone else’s docker image? Yes
- If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network? N/A
Describe the bug
- A clear and concise description of what the bug is.
- What version of Nginx Proxy Manager is reported on the login page?
Upon standing up a new NPM instance i get a few warnings about database communication issues) but I can login. As soon as i tell the stack to stop and then start it again, the database starts fine but the app container fails to start. (see screenshot)
To Reproduce Steps to reproduce the behavior: Deploy latest version using docker stack in example. Once everything is running fine, stop the stack and then start it again.
Expected behavior The app container should be able to be re-created pointing to the same volumes and function properly
Screenshots App container:
Database container:
Operating System Using centos 7 with docker swarm on top. I am also using Storidge for the storage plugin.
Additional context Add any other context about the problem here, docker version, browser version if applicable to the problem. Too much info is better than too little.
The only way I can get it to be fixed is to delete everything about the stack and have it re-create.
Could I be missing a volume mount?
version: "3"
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: always
ports:
# Public HTTP Port:
- '80:80'
# Public HTTPS Port:
- '443:443'
# Admin Web Port:
- '81:81'
environment:
# These are the settings to access your db
DB_MYSQL_HOST: "db"
DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "npm"
DB_MYSQL_PASSWORD: "Password123"
DB_MYSQL_NAME: "npm"
# If you would rather use Sqlite uncomment this
# and remove all DB_MYSQL_* lines above
# DB_SQLITE_FILE: "/data/database.sqlite"
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
- app:/data
- letsencrypt:/etc/letsencrypt
depends_on:
- db
db:
image: jc21/mariadb-aria:10.4
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'Password123'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'Password123'
volumes:
- db:/var/lib/mysql
volumes:
db:
driver: cio
driver_opts:
profile: "MYSQL"
app:
driver: cio
driver_opts:
profile: "SMALL"
letsencrypt:
driver: cio
driver_opts:
profile: "SMALL"
Issue Analytics
- State:
- Created 3 years ago
- Reactions:10
- Comments:33
Top GitHub Comments
I messed around some more and sometimes the container starts successfully and some times it doesnt…
Mine started doing this again, still no idea what
nproxy | s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
meansEDIT: I got rid of that error, but still get bad gateway 502…
I give up , I looked at ports didn’t really see anything in conflict