Problems installing on Synology Docker #1217
-
Hi, let me start by apologising if this is the wrong place to ask this question, please just redirect to the correct forum. I've been trying to install Teslamate under Docker running on my Synology box and am running into issues, I'm fairly computer literate working in the IT Industry for many too years, but unfortunately not so much on the Linux/Unix side of things so don't have a good feel for the underlying principles. Teslamate container crashes with the below in the logs: ERROR! Config provider Config.Reader failed with: If I don't use the Host network, the container runs but is constantly looking for the db, I'm assuming because they are not on the same host address and therefore 127.0.0.1 not the same localhost. I've tried following the Docker install instructions and the related "Idiot's guide to getting this working on a Synology NAS #113" posting to try and modify the settings, but every time there is an issue with the "docker-compose.yml" file. Any help, pointing the right direction would be appreciated. Bob |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 12 replies
-
Apparently DATABASE_USER is not set for the teslamate container? |
Beta Was this translation helpful? Give feedback.
-
What gives Your docker-compose.yml would be helpful... |
Beta Was this translation helpful? Give feedback.
-
Hi Bob, I have this running on a Synology. I did run into similar issues trying to use the docker GUI in the Synology. I ended up deleting everything and starting over. First, I created a folder on my Synology called "docker", I then created a subfolder called "teslamate" and inside "teslamate" another subfolder called "import". Then I enabled the Text Editor on the Synology (you could use VI if you like) and saved the following docker-compose.yml file to the root of the "docker" folder I created (you would need to update the VIRTUAL_HOST with your Synology‘a local IP address).
Next, I logged in via terminal and ran the following:
Then That should create all the dockers and start them up. You can then see and control them in the docker UI. I just wouldn't try to upgrade from there. If you want to upgrade when new versions are released, connect to Synology via terminal go to the "volume1/@docker" folder and run the following:
Thanks, |
Beta Was this translation helpful? Give feedback.
-
Regarding use of 5432, under Unix I would do |
Beta Was this translation helpful? Give feedback.
-
Great. Issue could be closed then? @boba51 |
Beta Was this translation helpful? Give feedback.
Hi Bob,
I have this running on a Synology. I did run into similar issues trying to use the docker GUI in the Synology. I ended up deleting everything and starting over. First, I created a folder on my Synology called "docker", I then created a subfolder called "teslamate" and inside "teslamate" another subfolder called "import". Then I enabled the Text Editor on the Synology (you could use VI if you like) and saved the following docker-compose.yml file to the root of the "docker" folder I created (you would need to update the VIRTUAL_HOST with your Synology‘a local IP address).