-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminate a drive or charge #4450
Comments
bash and sh: same problem |
Thanks for reporting. Not reproducible here.
As the command does not match the doc, it is expected to fail. |
Hi Jakob, thanks for the quick response! |
Hi Hendrik, yes and no, the docs say In most cases this is an encoding issue with the termina the user uses or something similar. In your case, the start date does look a bit fishy (
Thank you, it takes a village. |
tried again, also manually typing in the command to avoid encoding issues due to copy&paste. No success. Also manually fixed the start date on the database directly, also no difference after that. Little bit lost now :) |
What happens if you run: |
ok, really strange behavior. So the drive does exist. @swiffer, do you have any other clues? I'm a bit puzzled. |
Is there an existing issue for this?
What happened?
since my car is parking in a garage with no cellular network, one of my drives is incomplete. So I tried to close it as explained on https://docs.teslamate.org/docs/maintenance/manually_fixing_data.
Tried
bin/teslamate rpc \ "TeslaMate.Repo.get!(TeslaMate.Log.Drive, 14) |> TeslaMate.Log.close_drive()"
on the docker container bash and alsobin/teslamate rpc \ "TeslaMate.Repo.get(TeslaMate.Log.Drive, 14) |> TeslaMate.Log.close_drive()"
without!
like explained in the other issues regarding this topic.I get no log or any information. Drive is still incomplete. Also checked the database directly, only start date is populated.
But it seems the container restarts after both commands (see attached logs)
Expected Behavior
Drive is closed
Steps To Reproduce
No response
Relevant log output
Screenshots
No response
Additional data
drives2.csv
Type of installation
Docker
Version
v1.32.0
The text was updated successfully, but these errors were encountered: