Teslamate not running on Synology DS216+ #2369
Replies: 8 comments 2 replies
-
Docker version 20.10.3 - 1239 |
Beta Was this translation helpful? Give feedback.
-
docker-compose exec teslamate nc -vvz -w 5 database 5432 |
Beta Was this translation helpful? Give feedback.
-
docker-compose config |
Beta Was this translation helpful? Give feedback.
-
I thought there may be issues with the Synology firewall so I disabled it & the teslamate container kept crashing:
|
Beta Was this translation helpful? Give feedback.
-
I don't know much about the teslamate installation process but it seems there is already some database data in your specified share. Teslamate then tries to load and /or import it and crashes the database.
It is only used to store the data, it is not needed to provide the path to system (synology) postresql. Docker is some kind of abstraction from the base system, you don't need to provide system functions. They are loaded from within the specified image. The shares are only used to share data between host machine and docker container. |
Beta Was this translation helpful? Give feedback.
-
Thanks floppy - a bit out of my league to change volumes unfortunately! |
Beta Was this translation helpful? Give feedback.
-
I have the same problem as you, have you solved it? ? |
Beta Was this translation helpful? Give feedback.
-
No, I gave up in the end!NicOn 5 Jan 2024, at 16:35, windy1lee ***@***.***> wrote:
I have the same problem as you, have you solved it? ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
What happened?
After following the below guide on a DS216+ :
#113
Grafana on port 3000 is working fine, but Teslamate on port 4000 is not responding.
It works fine on my Raspberry Pi.
Expected Behavior
when typing http://MyIP:4000, I should get the page to enter my Tesla credentials
Steps To Reproduce
Relevant log output
Screenshots
No response
Additional data
my docker-composer.yml:
version: "3"
services:
teslamate:
image: teslamate/teslamate:latest
restart: always
environment:
- DATABASE_USER=teslamate
- DATABASE_PASS=secret
- DATABASE_NAME=teslamate
- DATABASE_HOST=database
- MQTT_HOST=mosquitto
- VIRTUAL_HOST=192.168.0.201
ports:
- 4000:4000
volumes:
- ./import:/opt/app/import
cap_drop:
- all
database:
image: postgres:12
restart: always
environment:
- POSTGRES_USER=teslamate
- POSTGRES_PASSWORD=teslamate
- POSTGRES_DB=teslamate
volumes:
- teslamate-db:/var/lib/postgresql/data
grafana:
image: teslamate/grafana:latest
restart: always
environment:
- DATABASE_USER=teslamate
- DATABASE_PASS=teslamate
- DATABASE_NAME=teslamate
- DATABASE_HOST=database
ports:
- 3000:3000
volumes:
- teslamate-grafana-data:/var/lib/grafana
mosquitto:
image: eclipse-mosquitto:2
restart: always
command: mosquitto -c /mosquitto-no-auth.conf
ports:
- 1883:1883
volumes:
- mosquitto-conf:/mosquitto/config
- mosquitto-data:/mosquitto/data
volumes:
teslamate-db:
teslamate-grafana-data:
mosquitto-conf:
mosquitto-data:
Type of installation
Docker
Version
1.25.2
Beta Was this translation helpful? Give feedback.
All reactions