Teslamate not terminating drives #1310
Unanswered
chinedu40
asked this question in
Getting started
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Teslamate appears to be recording drives however when going on the drives section they appear like this
When clicking on a drive the details come up but it is merged with other drives.
Using the docker-compose exec teslamate bin/teslamate rpc \ 'TeslaMate.Repo.get!(TeslaMate.Log.Drive, DriveID) |> TeslaMate.Log.close_drive()' command used to be able to terminate the drive however now the following error comes up
** (DBConnection.ConnectionError) tcp recv: closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated)
lib/ecto/adapters/sql.ex:683: Ecto.Adapters.SQL.raise_sql_call_error/1
lib/ecto/adapters/sql.ex:616: Ecto.Adapters.SQL.execute/5
lib/ecto/repo/queryable.ex:192: Ecto.Repo.Queryable.execute/4
lib/ecto/repo/queryable.ex:17: Ecto.Repo.Queryable.all/3
lib/ecto/repo/queryable.ex:112: Ecto.Repo.Queryable.one/3
lib/teslamate/log.ex:292: TeslaMate.Log.close_drive/2
(stdlib 3.12.1) erl_eval.erl:680: :erl_eval.do_apply/6
For Teslamate to record and terminate drives consistently without having to manually terminate them.
Environment
Beta Was this translation helpful? Give feedback.
All reactions