Nico640 / docker-unms

All-in-one docker image for Ubiquiti UISP (formerly UNMS). Supports x86_64 and ARM (Raspberry Pi).
https://hub.docker.com/r/nico640/docker-unms
203 stars 26 forks source link

s6-overlay-suexec: fatal: can only run as pid 1 on Container start. #80

Open mastertIT opened 1 year ago

mastertIT commented 1 year ago

It seems the container exhibits this issue on starts now.

s6-overlay-suexec: fatal: can only run as pid 1
s6-overlay-suexec: fatal: can only run as pid 1

tried setting GUID and PUID as environment variables with no success.

Nico640 commented 1 year ago

Hi,

PUID / PGID environment variables only control the user / group used for running UISP inside the container, but the s6 supervisor should always run as PID 1 inside the container, which it is apparently not in your case. What command do you use to start the container (if you use docker compose please post the compose file content)?

mastertIT commented 1 year ago

We don't pass any special commands on run. The issue first occurred when upgrading to the new container version. (believe the version of s6 has changed since the last time container was built) We have no way of passing init=false either. Running the container via admiral on vSphere.