Replies: 4 comments 15 replies
-
I don't know if this is the best methode but I destroyed the database container and then the orphan volumes (obviously, after making a backup):
Then I was able to update Postgres to version 17. However, Postgres was falling into a stop/start loop (database files are incompatible with server):
I finally destroyed the entire file structure of my database: ./TeslaMate/teslamate-db/ And now everything works... I also found the link below not very useful: Here my steps:
I hope it will help others. |
Beta Was this translation helpful? Give feedback.
-
I have updated teslamate firstly and could not run backup, how could I revise the version of teslamate? |
Beta Was this translation helpful? Give feedback.
-
moving to new thread for clarity |
Beta Was this translation helpful? Give feedback.
-
You are using |
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.
-
Hello, I'm trying to follow this simple guide (https://docs.teslamate.org/docs/maintenance/upgrading_postgres) to upgrading from Postgres v15 to v17, but I get an error when I try to delete the volume:
Backup
docker-compose exec -T database pg_dump -U teslamate teslamate > ./teslamate.bck
Stop containers
docker-compose down
Delete database volume
Here is my list of volumes
What am I doing wrong?
How do I know which container a volume belongs to?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions