-
Notifications
You must be signed in to change notification settings - Fork 681
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
Postgres issue starting up / vid "has already been taken" #90
Comments
Someone else reported the same issue today. The underlying problem is actually a quirk on Tesla's end. They recently changed the IDs (!!!) of some cars. See timdorr/tesla-api#139 Unfortunately you have to fix it manually by updating the entry in the database table "cars". Change the eid of entry that has the vid 1749778265 to "36230209430047724" (I got those values from the log output you posted). Edit: This is how it should be
|
Well that's annoying of Tesla to do that.
That fixed that issue... now it's saying this:
This happens whenever I attempt to view the page at port:4000. Ideas? |
You might have changed the wrong id :) This is how it should be:
|
Yup, I did that wrong, had to delete the new car.
Thanks for your quick help. It's working again! |
Awesome! There may be others affected by this problem as well. I'll pin this issue 👍 |
FYI, the user needs to run the docker-compose in one ssh window and let it continue to error itself out, while you connect to that docker install with the command to command line Postgres in another SSH window:
I didn't know much about how Docker worked until today. Even less about Postgres. Took me forever to figure out how to connect to a Postgres database inside of a Docker container. |
I had teslamate working on my Ubuntu computer, but it's having issues now.
I tried connecting to the docker-compose psql and looking at the database directly, but it seemed to be fine:
sudo docker-compose run --rm db psql -h db -U teslamate
I'm not sure how to get this fixed without wiping my entire docker install. Help?
The text was updated successfully, but these errors were encountered: