docker-freescout
docker-freescout copied to clipboard
s6-overlay-suexec: fatal: can only run as pid 1
Summary
When deploying to Railway.app I get:
s6-overlay-suexec: fatal: can only run as pid 1
Steps to reproduce
Deploy to Railway.app
What is the expected correct behavior?
Locally/docker:
2024-01-03.20:11:59 [NOTICE] ** [monitoring] Container configured for monitoring with 'zabbix modern'
2024-01-03.20:11:59 [NOTICE] ** [scheduling] Container configured for scheduled tasks with 'cron'
2024-01-03.20:11:59 [NOTICE] ** [messaging] Container configured to route mail via SMTP to 'postfix-relay'
2024-01-03.20:11:59 [NOTICE] ** [php-fpm] Creating sample index.php
2024-01-03.20:12:00 [WARN] ** [freescout] Potential New Installation / Standalone Installation Detected - Copying Freescout Sourcecode
2024-01-03.20:12:00 [WARN] ** [freescout] Detected /data directory. Persistently saving settings/sessions/cache/uploads/modules
2024-01-03.20:12:02 [INFO] ** [freescout] Auto Configuring based on Environment Variables
2024-01-03.20:12:07 [WARN] ** [freescout] Installing Modules into container
Cache cleared successfully.
2024-01-03.20:12:17 [INFO] ** [freescout] Initialization Complete. Please visit http://localhost.foo.ai:8888 and login with your credentials..
2024-01-03.20:12:17 [STARTING] ** [nginx] [1] Starting nginx 1.25.3
2024-01-03.20:12:17 [STARTING] ** [monitoring] [1] Starting Zabbix Agent (modern) 6.4.10
2024-01-03.20:12:17 [STARTING] ** [php-fpm] [1] Starting php-fpm 8.2.14
2024-01-03.20:12:17 [STARTING] ** [scheduling] [1] Starting cron
Relevant logs and/or screenshots
This is what I found that is relevant: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2765
It seems to be related to /init
Environment
ARG PHP_VERSION=8.2
ARG DISTRO="alpine"
FROM docker.io/tiredofit/nginx-php-fpm:${PHP_VERSION}-${DISTRO}
Possible fixes
I tried this:
# MQM for Railway.app https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2765
ENTRYPOINT ["exec", "/init"]
But it did not fix it.
This image is designed to be run as root - Are you doing anything that would change the user context like user name spaces?
I'm available for custom development to make it NOT work this way.
I just deployed to Railway.app, which is an inexpensive cloud platform (like a mini heroku) and does not require expensive DevOps talent. Perhaps they do some wrapping that exposes this issue?
I can also try fly.io, which is another cloud platform for poor folks like me