Skip to content

Upgrading from 1.26.1, quick question about encryption key #3390

Closed Answered by eliluong
eliluong asked this question in Q&A
Discussion options

You must be logged in to vote

Here is a solution.

  1. make a backup of the database, then shut down all these containers associated with teslamate
  2. modify docker compose file with new images: teslamate/teslamate:1.27.4, postgres:15, eclipse-mosquitto:2.0, etc; also add the encryption key for teslamate
  3. follow instruction to upgrade postgres
  4. then follow instruction to restore database. I did something slightly different: run docker compose up database to start up only the postgres container, then restore (had teslamate container stopped so it would not write to postgres). you can verify it all worked by running just the database and grafana container.
  5. let docker compose start all four containers. and everything worked, incl…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eliluong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant