chiefwigms / picobrew_pico

MIT License
149 stars 63 forks source link

Docker update lost devices config #316

Closed erdoukki closed 2 years ago

erdoukki commented 2 years ago

While I update docker and git, I lost local devices configuration...

tmack8001 commented 2 years ago

Lost the config file? Simple to recreate now via the web UI. Or lost the session history files?

How are you updating docker and how did you permanently store the configured config.yml between docker image pulls (via a host mount command)?

erdoukki commented 2 years ago

Lost the config file? Simple to recreate now via the web UI.

Yes...

Or lost the session history files?

No, there were still here...

How are you updating docker and how did you permanently store the configured config.yml between docker image pulls (via a host mount command)?

I made a docker-compose up -d firstly to generate my docker container. Then I upgrade with a docker-compose pull followed by docker-compose restart

I use the git docker-compose.yaml file, without any modification...

erdoukki commented 2 years ago

I have wrote a local config.yaml file from the default one. I have also get the device from my running server with a docker-compose exec app /bin/sh then a cat of the config.yaml to dump devices ID.

The git pull docker-compose update docker-compose restart looks like to works now

tmack8001 commented 2 years ago

Oh it is working now. Good. I'll close this, if you have issues again please either reopen this ticket or create a new one.