2023-12-14, 09:47 PM
Thank you so much for your guidance on this! I've got it working nicely now. I'm just going to reiterate what I did with more verbosity, in case anyone else is having similar questions in the future and isn't quite following or gets lost.
First, I externalized the config folder from the old container by doing what Efficient_Good_5784 suggested:
Once that's done, you have the config files living in the host volume, which is the one you can navigate with Disk Station. From there, if you haven't already done so, you need to set up your new container. In my case I was updating Jellyfin to a new version, so I did this by:
At this point I think you're done? I did this a few days ago and got distracted before starting the new container, and I don't have a perfect memory so it's possible I forgot a step, but I turned it on this morning and it has clearly read the config files, since all my playlists and other data is reflected in the updated version of the server.
Thanks again!
First, I externalized the config folder from the old container by doing what Efficient_Good_5784 suggested:
- Create a new folder through Disk Station for the config files; let's call it HostConfig
- In Docker, stop the old container
- Rename the old container to something else (jellyfin-old for example)
- Right-click on jellyfin-old, select Edit, go to the Volume tab, and choose Add Folder
- Select HostConfig, and name the mount path something distinct (I used "config2")
- Run jellyfin-old
- In Docker, double-click on jellyfin-old, and select the Terminal tab (fourth from the left after Overview, Process, Log)
- Under Terminal, click Create (the newly created terminal is called "bash")
- Run the command "cp -r config config2/" (without quotation marks)
- Check the new folder to make sure it's been filled with a bunch of data
Once that's done, you have the config files living in the host volume, which is the one you can navigate with Disk Station. From there, if you haven't already done so, you need to set up your new container. In my case I was updating Jellyfin to a new version, so I did this by:
- In Docker, open the Registry panel
- Search for jellyfin (it's called jellyfin/jellyfin in the results, should be at the top)
- Double-click on it to download it
- Stop jellyfin-old
- Once the download is complete, go Docker's Image panel and double-click on jellyfin/jellyfin to create a new container
- When configuring your volume mount paths (in my case, the paths specifying where music, shows, and movies lived), also add a path to HostConfig, and use the mount path "/config"
- Start the new container
At this point I think you're done? I did this a few days ago and got distracted before starting the new container, and I don't have a perfect memory so it's possible I forgot a step, but I turned it on this morning and it has clearly read the config files, since all my playlists and other data is reflected in the updated version of the server.
Thanks again!