Teslamate: Convert from basic to advanced install

Created on 16 Jan 2020  路  7Comments  路  Source: adriankumpf/teslamate

I've installed and its all working great.

Maybe it would be better to make it available on the internet so Tasker would work outside my network.

What is the best approach to upgrade from a basic to an advanced (Traefik, Let's Encrypt, HTTPS, HTTP Basic Auth) install without loosing the data I have?

Stale question

Most helpful comment

Aaaah, I guess you have to change db to database in the docker-compose.yml

Or change database to db in the back / restore commands ;-)

All 7 comments

Backup the data, make a fresh install and restore the data into it. See here

OK, thanks.
I wondered if there was another way because I'm getting 'ERROR: No such service: database' when I try that command...

Aaaah, I guess you have to change db to database in the docker-compose.yml

I was also getting the same error as mikeh2010, and updated my docker-compose.yml file and that solved the issue.

Now, I'm getting an error No container found for database_1

Any ideas on how to solve that? I'm not sure where the reference to database_1 is coming from, there aren't any in the docker-compose.yml file.

Like @DrMichael said, the database service was previously named db in the docker-compose.yml. It has been renamed to database.

To upgrade to the advanced install (or just to update the file with the latest version), you need to run docker-compose down before making changes to the compose file. Then proceed as usual. If you have already edited the file, change database: to the db: first.

What is the best approach to upgrade from a basic to an advanced (Traefik, Let's Encrypt, HTTPS, HTTP Basic Auth) install without loosing the data I have?

You won't loose any data. Just make sure to not change the volumes section at the end of the file.

Aaaah, I guess you have to change db to database in the docker-compose.yml

Or change database to db in the back / restore commands ;-)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

detritu5 picture detritu5  路  4Comments

bahree picture bahree  路  5Comments

jun3280net picture jun3280net  路  4Comments

Try2Fly picture Try2Fly  路  5Comments

virtualm2000 picture virtualm2000  路  4Comments