sonofdbn Posted April 8, 2023 Share Posted April 8, 2023 My cache drive with appdata on it died, so I installed a new one and then tried to recreate my dockers using "Previous Apps" from Community Applications. I'd done this before, so I didn't think it would be a big deal. Again as before, there was some manual work to be done with setting up some custom networks and the reverse proxy. This seemed more troublesome than before, so I might have messed up something here. Bottom line is that a number of containers are acting as if they're brand new, although the template parameters seem fine. For example, Plex offers to set up a new Plex server; Calibre is essentially empty, and Nextcloud also offers to set up a new server. I suspect it's something to do with my custom networks and how I setup Letsencrypt/Swag, but I don't know what's wrong. Any suggestions would be appreciated. tower-diagnostics-20230409-0124.zip Quote Link to comment
BRiT Posted April 8, 2023 Share Posted April 8, 2023 You need to restore from backup your "appdata" as well. That is where all these dockers store their actual configuration files and databases and other required information. The "previous apps" is very limited information like the parameters and configuration of the docker run command. Quote Link to comment
Squid Posted April 8, 2023 Share Posted April 8, 2023 ca.cleanup.appdata.plg - 2022.10.21 (Up to date) Running clean up appdata (if you have) effectively deletes the appdata for anything not installed, so if you did this for calibre (as an example), it would indeed be a new install. Quote Link to comment
sonofdbn Posted April 9, 2023 Author Share Posted April 9, 2023 7 hours ago, BRiT said: You need to restore from backup your "appdata" as well. That is where all these dockers store their actual configuration files and databases and other required information. The "previous apps" is very limited information like the parameters and configuration of the docker run command. I used "previous apps" because a) it had worked before and b) it was what was suggested by @Squid in the pinned guide at the top of this section. (Also seems to be a commonly suggested approach in my googling and some Youtube videos.) I realise that the "previous apps" approach doesn't necessarily restore everything - some things have to be done with custom networks and reverse proxy configs. I don't think I have a very complex setup. The only network settings I have that are not "bridge" are a "proxynet" and "br0". Take for example Plex. The paths to my media were exactly as they were before, but no media shows up and Plex offers to set up a new server. This is what the Plex container log shows: **** Server is unclaimed, but no claim token has been set **** ##################################################### # Login via the webui at http://<ip>:32400/web # # and restart the docker, because there was no # # plex token found in the preference file # ##################################################### My suspicion is that the container can't reach the Plex (corporate) server, so it's not recognising my Plex media server. 6 hours ago, Squid said: ca.cleanup.appdata.plg - 2022.10.21 (Up to date) Running clean up appdata (if you have) effectively deletes the appdata for anything not installed, so if you did this for calibre (as an example), it would indeed be a new install. All the restored apps were already installed apps. Quote Link to comment
BRiT Posted April 9, 2023 Share Posted April 9, 2023 You need to restore from backup your "appdata" share. You said in the first line of your original post that it was wiped out from the crash. That is where all the data is really stored for these dockers. That is your issue. Quote Link to comment
sonofdbn Posted April 10, 2023 Author Share Posted April 10, 2023 Thanks for the explanation. I think I've been (and remain) a bit confused about appdata, templates and containers. Haven't had a chance to fix things yet, though. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.