Properly contained appwrite main app cannot run probably predefined ports on Synology
- 0
- Self Hosted
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error:
2025/06/22 16:16:14 stdout #2 {main}
2025/06/22 16:16:14 stdout #1 [internal function]: {closure}()
2025/06/22 16:16:14 stdout #0 /usr/src/code/app/http.php(253): createDatabase(Object(Utopia\App), 'getLogsDB', 'logs', Array, Object(Utopia\Pools\Group))
2025/06/22 16:16:14 stdout Stack trace:
2025/06/22 16:16:14 stdout Fatal error: Uncaught Exception: └── Failed to connect to database: Failed to create connection: SQLSTATE[HY000] [2002] Connection refused in /usr/src/code/app/http.php:185```
In normal docker (on windows) this error never shown, just on Synology NAS.
Somebody know what is this, and how to fix it?
there's a DB connection issue it seems from the logs. appwrite instance isn't able to connect to the logs DB.
We tried to reinstall, use another ports etc. but the problem the same. I personally cannot find any proper container installment guide for the DSM 7.2, the redis, mariadb, and influx containers works perfectly and dont get any errors just the main app cannot run.
We using this configuration to compose if this tell anything - but on windows this works.
Recommended threads
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...