Jump to content

After taking the array offline and adding my first parity disk, all my dockers have disappeared from the docker tab


Go to solution Solved by Bastian,

Recommended Posts

Up until yesterday I was running unraid with two large hard drives, no cache and no parity. I just added another HDD and NVMe and decided to enable parity and cache. Now all of my docker containers have disappeared from the docker tab. Will they come back when the parity check is complete? Is this similar to how turning off the array also stops the docker containers? To be clear, my docker containers haven't turned off, they've completely vanished from the tab.

 

If they have gone missing or been removed for some reason (I swear I didn't do it on purpose) what are the odds that I can restore them with the same configuration as before? Or will I have to rebuild everything from scratch? I had the official plex docker as well as linuxserver's nzbget, sonarr, and radarr installed.

 

Thanks.

 

Screenshots:

 

Screenshot2024-08-14at10_54_02AM.thumb.png.b37e5e9ff8671e2cf27107d0ad2c961d.pngScreenshot2024-08-14at10_54_12AM.thumb.png.ece578dc5b32c3e02bb1c976d14b5f7c.pngScreenshot2024-08-14at10_54_19AM.thumb.png.f6ffb51c53bb4e75ae02bb63f7ed0a75.png

Link to comment

Thanks for the links. Most of the dockers could be recreated fine, but I had to rebuild plex's libraries _again_.

 

Any idea what could've caused it? Or how to prevent this in the future? I don't know where these dockers are stored or what can delete them.

Link to comment
On 8/15/2024 at 10:41 PM, whiterook6 said:

Thanks for the links. Most of the dockers could be recreated fine, but I had to rebuild plex's libraries _again_.

 

Any idea what could've caused it? Or how to prevent this in the future? I don't know where these dockers are stored or what can delete them.

The Docker Tab only shows Docker Containers. They are runtimes created from Docker Images. I don't want to exclude any fault on unraids part, but it can happen from time to time, that the Docker Daemon just can't start them. Nowadays less often, but you can still find bug reports about it. Happened with my Containers once or twice, with Docker Networks from time to time.

 

Docker Containers aren't meant to be long-living or have sensitive data within their filesystem. They are meant to be able to be destroyed and re-created any time. That's why all the important stuff has to be mounted to the host filesystem. That's also why we have the templates. They store all the information on how the Container gets created. Keep your templates clean and tidy and you can recover such a case by just spinning all Containers back up again. A template is comparable to a runtime of an image (that's why you ca have multiple template for the same image, they just have to be named differently).

Link to comment
On 8/21/2024 at 10:44 AM, Bastian said:

The Docker Tab only shows Docker Containers. They are runtimes created from Docker Images. I don't want to exclude any fault on unraids part, but it can happen from time to time, that the Docker Daemon just can't start them. Nowadays less often, but you can still find bug reports about it. Happened with my Containers once or twice, with Docker Networks from time to time.

 

Docker Containers aren't meant to be long-living or have sensitive data within their filesystem. They are meant to be able to be destroyed and re-created any time. That's why all the important stuff has to be mounted to the host filesystem. That's also why we have the templates. They store all the information on how the Container gets created. Keep your templates clean and tidy and you can recover such a case by just spinning all Containers back up again. A template is comparable to a runtime of an image (that's why you ca have multiple template for the same image, they just have to be named differently).

Makes sense. But when I recreate the docker containers from the same images, I still have to go through and set up the settings and libraries and downloaders and so on. I suppose that's the fault of the app itself, right?

Link to comment
  • Solution
On 8/22/2024 at 10:18 PM, whiterook6 said:

Makes sense. But when I recreate the docker containers from the same images, I still have to go through and set up the settings and libraries and downloaders and so on. I suppose that's the fault of the app itself, right?

Sounds more like a configuration issue on your part. From that list I only know Plex and that should be able to survive a re-creation. Sometime the online service gets confused and you have to pin the libraries anew, but not the entire setup. Best to check your mount-bind against the official documentation. You can easily test it by just deleting the service. After creation from the template it should be like before.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...