Repository navigation
Description
Describe the issue
Thank you for this amazing app! 🚀
The docker-setup.sh script respectively the Docker stack executes successfully on both
- a Mac locally (Docker version 29.1.3),
- and on a Synology NAS (Docker version 24.0.2).
On Mac I am redirected to http://localhost /setup at first login as expected.
This however does not happen on Synology.
Deployment Environment
- OpnForm Version: v1.12.1
- Hosting Platform: Synology NAS / Docker version 24.0.2
- OS: DSM 7.2.1 (likely a Debian derivate)
Deployment Method
- Docker
- Manual installation
- Other (please specify)
Steps Taken
Describe the steps you've taken to deploy the application:
- ssh into NAS / DSM
- cloning repo
git clone https://github.com/OpnForm/OpnForm.git - changing the port from 80:80 to 8800:80 in
docker-compose.yml- everything else remains default for testing purpose - make
docker-setup.shexecutable and run it usingsudo(I suppose this is not recommended anyways?) - open the frontend - no /setup page appears. Instead I can register on the page, but I get an error.

Error Messages
If applicable, provide any error messages or logs related to the issue. If it's only a generic error message (e.g. "Server Error") please set APP_DEBUG=true in api/.env, try again and provide use the error message.
Configuration Files
Everything standard as generated through the docker-setup.sh script.
Logs
When I hid the "Create Account" button:
opnform-ingress | 2026/01/08 22:41:14 [error] 41#41: *672 connect() failed (111: Connection refused) while connecting to upstream, client: 172.27.0.1, server: opnform, request: "POST /api/register HTTP/1.1", upstream: "fastcgi://172.27.0.6:9000", host: "geist.tech:8800", referrer: "http://geist.tech:8800/register"
opnform-ingress | 172.27.0.1 - - [08/Jan/2026:22:41:14 +0000] "POST /api/register HTTP/1.1" 502 559 "http://geist.tech:8800/register" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
opnform-db | 2026-01-08 22:41:14.862 UTC [4500] DETAIL: Role "forge" does not exist.
opnform-db | Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
opnform-db | 2026-01-08 22:41:15.381 UTC [4501] FATAL: password authentication failed for user "forge"
opnform-db | 2026-01-08 22:41:15.381 UTC [4501] DETAIL: Role "forge" does not exist.
opnform-db | 2026-01-08 22:41:15.872 UTC [4502] FATAL: password authentication failed for user "forge"
opnform-db | 2026-01-08 22:41:15.872 UTC [4502] DETAIL: Role "forge" does not exist.
opnform-db | Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
opnform-ingress | 172.27.0.1 - - [08/Jan/2026:22:41:15 +0000] "POST /api/register HTTP/1.1" 502 559 "http://geist.tech:8800/register" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"
opnform-ingress | 2026/01/08 22:41:15 [error] 41#41: *672 connect() failed (111: Connection refused) while connecting to upstream, client: 172.27.0.1, server: opnform, request: "POST /api/register HTTP/1.1", upstream: "fastcgi://172.27.0.6:9000", host: "geist.tech:8800", referrer: "http://geist.tech:8800/register"
Probably the most relevant logs:
opnform-db | 2026-01-08 22:43:28.863 UTC [4807] DETAIL: Role "forge" does not exist.
opnform-db | Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
opnform-ingress | 2026/01/08 22:43:29 [error] 35#35: *717 connect() failed (111: Connection refused) while connecting to upstream, client: 172.27.0.7, server: opnform, request: "GET /api/content/feature-flags HTTP/1.1", upstream: "fastcgi://172.27.0.6:9000", host: "ingress"
opnform-ingress | 172.27.0.7 - - [08/Jan/2026:22:43:29 +0000] "GET /api/content/feature-flags HTTP/1.1" 502 157 "-" "node"
opnform-client | Request error 502
opnform-ingress | 2026/01/08 22:43:29 [error] 41#41: *719 connect() failed (111: Connection refused) while connecting to upstream, client: 172.27.0.7, server: opnform, request: "GET /api/content/feature-flags HTTP/1.1", upstream: "fastcgi://172.27.0.6:9000", host: "ingress"
opnform-client | Request error 502
opnform-ingress | 172.27.0.7 - - [08/Jan/2026:22:43:29 +0000] "GET /api/content/feature-flags HTTP/1.1" 502 157 "-" "node"
opnform-client | Failed to load feature flags on server: FetchError: [GET] "http://ingress/api/content/feature-flags": 502 Bad Gateway
opnform-client | at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
opnform-client | ... 8 lines matching cause stack trace ...
opnform-client | cause: FetchError: [GET] "http://ingress/api/content/feature-flags": 502 Bad Gateway
opnform-client | at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
opnform-client | at async $fetchRaw2 (file:///app/server/chunks/nitro/nitro.mjs:3961:14)
opnform-ingress | 2026/01/08 22:43:29 [error] 35#35: *717 connect() failed (111: Connection refused) while connecting to upstream, client: 172.27.0.7, server: opnform, request: "GET /api/templates HTTP/1.1", upstream: "fastcgi://172.27.0.6:9000", host: "ingress"
opnform-ingress | 172.27.0.7 - - [08/Jan/2026:22:43:29 +0000] "GET /api/templates HTTP/1.1" 502 157 "-" "node"
opnform-client | Request error 502
opnform-ingress | 2026/01/08 22:43:29 [error] 41#41: *719 connect() failed (111: Connection refused) while connecting to upstream, client: 172.27.0.7, server: opnform, request: "GET /api/templates HTTP/1.1", upstream: "fastcgi://172.27.0.6:9000", host: "ingress"
opnform-ingress | 172.27.0.7 - - [08/Jan/2026:22:43:29 +0000] "GET /api/templates HTTP/1.1" 502 157 "-" "node"
opnform-ingress | 127.0.0.1 - - [08/Jan/2026:22:43:29 +0000] "GET / HTTP/1.1" 200 292139 "-" "curl/8.14.1"
opnform-client | Request error 502
opnform-db | 2026-01-08 22:43:29.330 UTC [4808] FATAL: password authentication failed for user "forge"
opnform-db | 2026-01-08 22:43:29.330 UTC [4808] DETAIL: Role "forge" does not exist.
opnform-db | Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
opnform-db | 2026-01-08 22:43:29.706 UTC [4809] FATAL: password authentication failed for user "forge"
opnform-db | 2026-01-08 22:43:29.706 UTC [4809] DETAIL: Role "forge" does not exist.
I guess that's an easy one. Thank you for helping out!
Activity
JhumanJ commentedon Jan 12, 2026
Seems like you're missing .env files or they're not being properly loaded.
Is this resolved? I saw some messages on Discord
simonseres commentedon Jan 13, 2026
No I haven't been on Discord.
Well, I was thinking that .env files might not be loaded correctly, but to verify I changed the docker-compose.yaml and simply copied the environment variables from api/.env and client/.env to the docker-compose.yaml:
When I start this stack through docker compose / portainer on Synology, all containers start and run correctly.
But with this, I get nginx' front page:
Some Logs that seem to be important:
I still think the Docker version on Synology is too old (Docker version 24.0.2) - would you agree?
simonseres commentedon Jan 13, 2026
Edit: Just saw, that I misconfigured NUXT_PUBLIC_API_BASE that was causing the 404 errors above.
But still I have issues on Synology. Installed everything on a Raspberry - everything works flawlessly in minutes. Just Synology has someting special to it... 😅
You can close the issue - it has definitely nothing to do with your App - which is absolutely fantastic by the way!
If I have an update for the Synology community I will still post it in this thread.
simonseres commentedon Aug 10, 2026
Update for those who need it:
I finally managed to run OpnForm on Synology. Once you do it right, it runs butter smooth. ;)
Below is my docker-compose.yaml that I simply use in Synology's Container Manager:
You have to make sure that the nginx configuration file is mapped correctly out of its volume. In my case /volume1/docker/opnform/nginx/nginx.conf.
Also the environment files (api.env and client.env) need to be in the same folder as the docker-compose.yaml.
In my case /volume1/docker/opnform/api.env