• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Transfering Playlists between Docker Containers

     
    • 0 Vote(s) - 0 Average

    Transfering Playlists between Docker Containers

    I have two Jellyfin containers in my Synology Docker, and want to transfer playlists from the old one to the new one
    GarrickWinter
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    Country:Canada
    #6
    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:

    1. Create a new folder through Disk Station for the config files; let's call it HostConfig
    2. In Docker, stop the old container
    3. Rename the old container to something else (jellyfin-old for example)
    4. Right-click on jellyfin-old, select Edit, go to the Volume tab, and choose Add Folder
    5. Select HostConfig, and name the mount path something distinct (I used "config2")
    6. Run jellyfin-old
    7. In Docker, double-click on jellyfin-old, and select the Terminal tab (fourth from the left after Overview, Process, Log)
    8. Under Terminal, click Create (the newly created terminal is called "bash")
    9. Run the command "cp -r config config2/" (without quotation marks)
    10. 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:

    1. In Docker, open the Registry panel
    2. Search for jellyfin (it's called jellyfin/jellyfin in the results, should be at the top)
    3. Double-click on it to download it
    4. Stop jellyfin-old
    5. Once the download is complete, go Docker's Image panel and double-click on jellyfin/jellyfin to create a new container
    6. 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"
    7. 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!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Transfering Playlists between Docker Containers - by GarrickWinter - 2023-12-12, 04:51 PM
    RE: Transfering Playlists between Docker Containers - by TheDreadPirate - 2023-12-12, 05:19 PM
    RE: Transfering Playlists between Docker Containers - by Efficient_Good_5784 - 2023-12-12, 05:21 PM
    RE: Transfering Playlists between Docker Containers - by GarrickWinter - 2023-12-12, 05:39 PM
    RE: Transfering Playlists between Docker Containers - by Efficient_Good_5784 - 2023-12-12, 06:00 PM
    RE: Transfering Playlists between Docker Containers - by GarrickWinter - 2023-12-14, 09:47 PM
    RE: Transfering Playlists between Docker Containers - by Efficient_Good_5784 - 2023-12-14, 11:03 PM
    RE: Transfering Playlists between Docker Containers - by MichaelBlack001 - 2024-01-10, 07:35 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode