-
Hi I have migrated from a MacOS based docker (it's horrible to use) to a Pi (debian) based system. I summed up what I have done and submitting some logs. The issue: Database "works" and keeps writing, I can query from terminal and I can see changes. However the webUI gives the "failed to fetch" on every single page and then crashes. If I view the state of the car, it shows and also can see the state of charge. Using Teslamate v2.1.0 with Postgres 17.5. :4000 UI works, data counts OK (drives=1232, positions=4445809, charges=87539, geofences=19038). :3000 loads but dashboards show "Failed to fetch" / N/A. Grafana data source configured as host=database:5432, db=teslamate, user=teslamate, pass=XX, SSL disable. Save & Test succeeds. Browser console: no specific errors, just failed fetch on panels. What causes this? How to fix? Commands Used for Restore These I used AFTER I tried the normal restore way and it didn't work. So I tried to google and figure out other ways, but stuck as is. docker-compose stop teslamate grafana Info for Community
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
It appears teslamate is working fine, your problem is getting the data out using grafana. Sorry, based on the information provided, I have no idea why grafana is not working. |
Beta Was this translation helpful? Give feedback.
-
this is a deprecated command since ages, you need to use |
Beta Was this translation helpful? Give feedback.
-
Guess what was the issue! Patience. I didn't wait long enough for the indexing or whatever it does after a restore. After a few hours it works fine. |
Beta Was this translation helpful? Give feedback.
@brianmay @JakobLichterfeld
Guess what was the issue!
Patience.
I didn't wait long enough for the indexing or whatever it does after a restore. After a few hours it works fine.