Losing connection to database #2287
Replies: 3 comments 3 replies
-
|
I have the same problem. 2021-12-23T15:59:05.035955796Z 0: New connection from 172.21.0.4 on port 1883., database logging: 2021-12-23T16:02:32.923630782Z 1970-01-01 00:00:00.000 UTC [374] STATEMENT: SELECT p0."id", p0."date", p0."latitude", p0."longitude", p0."elevation", p0."speed", p0."power", p0."odometer", p0."ideal_battery_range_km", p0."est_battery_range_km", p0."rated_battery_range_km", p0."battery_level", p0."usable_battery_level", p0."battery_heater", p0."battery_heater_on", p0."battery_heater_no_power", p0."outside_temp", p0."inside_temp", p0."fan_status", p0."driver_temp_setting", p0."passenger_temp_setting", p0."is_climate_on", p0."is_rear_defroster_on", p0."is_front_defroster_on", p0."car_id", p0."drive_id" FROM "positions" AS p0 WHERE (((p0."id" > $1) AND (p0."elevation" IS NULL)) AND p0."drive_id" = ANY($2)) ORDER BY p0."id" LIMIT $3, teslamate logging: 2021-12-23T16:03:32.768791303Z (db_connection 2.4.1) lib/db_connection.ex:1333: DBConnection.run_execute/5, |
Beta Was this translation helpful? Give feedback.
-
|
I think the problem was too slow computer (Beaglebone Black) and database
expanding too big. I cleared the database and now working again perhaps one
year.
to 14. heinäk. 2022 klo 14.12 IRON MAN ***@***.***> kirjoitti:
… Did you solve this question? help, i have the same problem.
—
Reply to this email directly, view it on GitHub
<#2287 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AW7MBPBA366SW3KXZNCONJ3VT77ZDANCNFSM53SBJU2A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Hello Saviour's, I am also facing the same issue with postgres (PostgreSQL) 14.4 (Debian 14.4-1.pgdg110+1). Db is losing connection unexpectedly and after restarting service. it's got fixed. What could be possible issue? 2022-11-18 21:57:37.426 UTC [2543802] db-LV@LV FATAL: terminating connection due to administrator command Many thanks, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
What happened?
Teslamate seems to be losing connection to postgres 12. This is causing no data to be stored. Currently running on a GCP E2 instance running Debian 10 buster v20210122.
Expected Behavior
Data is stored as intended
Steps To Reproduce
Start Teslamate as normal using the "advanced" set up.
Relevant log output
Screenshots
No response
Additional data
While no drive data is stored, the "visited" and "trip" map is accurate and shows the proper trips.
Type of installation
Docker
Version
v1.24.2
Beta Was this translation helpful? Give feedback.
All reactions