-
After struggling to get TM up and running on my Synology NAS many years ago, I needed to wipe my NAS to convert it's file format, I took a backup of my "docker" folder naively thinking that would cover it, I now know better and have resigned myself that that data is now gone and is not the focus of this request, that is below. Since the rebuild a few weeks now I've been trying to set up a fresh instance but whatever I try it ends up with Teslamate not being able to access the database, I've tried various installs, wiping the volumes between each attempt, I've even followed a guide to build within Container Manager as a Project as the creator of the guide has it running with no issue, I can only imagine there is something on my NAS interfering with things. I had to change the Db port to 6432 as 5432 in use by the Synology itself, other than that everything should be standard, as it was running nicely before, but I do updated the NAS and it's Apps regularly so may be related to that and probably something really basic I've overlooked! Status: Tried: DSM - Version 7.2-64561 Any help would be greatly appreciated Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I suggest you post your complete docker-compose.yml and the corresponding docker logs for the database and teslamate containers. |
Beta Was this translation helpful? Give feedback.
-
Try removing the Hope that helps, |
Beta Was this translation helpful? Give feedback.
-
Hi Andrew, I can't use port 5432 as already in use on the NAS by something else, my understanding (mainly limited to trying to resolve this issue, so not vast) is DATABASE_PORT=6432 instructs TM to use this port, confirmed by log entry - 2024/09/09 23:49:38 stdout waiting for postgres at database:6432 And the corresponding ports: - 6432:5432 under the db section should listen on 6432 and redirect to 5432 (confirmed by the PS output - docker-database-1 postgres:16 "docker-entrypoint.s…" database 14 minutes ago Up 9 minutes 0.0.0.0:6432->5432/tcp, :::6432->5432/tcp But I have also tried various combinations of these ports and any changes from the default yaml file are attempts at fixing the issue unfortunately all have met with the same result, but happy to try something if someone has a working config on Synology DSM 7.2 (I'm wondering if the newish Container Manager App changed/broke anything?) Thanks again, |
Beta Was this translation helpful? Give feedback.
Try removing the
DATABASE_PORT=6432
from the Teslamate section. You've redirected the port for outside the docker environment, but internally (which is what Teslamate will be using) it's still the default.Hope that helps,
Andrew