• 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 Updating with DSM 7.2 Container Manager

     
    • 0 Vote(s) - 0 Average

    Updating with DSM 7.2 Container Manager

    How to preserve every option upon update
    zen_arcade
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    #1
    2025-02-09, 04:09 PM
    Hi there

    I'm currently using Jellyfin server 10.9.6 on a Synology DS224+. With some tinkering, I finally got to run every transcoding gpu option right, and everything runs smooth. I don't remember exactly what I did, but I seem to remember changing something manually in a yaml file, and getting Container Manager to import it again. Anyway, it wasn't something I look forward to doing again.

    Now Chromecast really wants Jellyfin to be updated, so I must do it. Now the question is: what is a bulletproof way to update my Jellyfin image in Container Manager and 1) preserve my current container, especially my hard-earnerd HW options 2) rollback everything is things go south?

    My Jellyfin.json exported by Container Manager is pasted below. I don't see any of the /dev/dri options I had to tinker with, so I already sense some fuckery, as if Container Manager doesn't know they are there. I understand they might be in my local /docker/jellyfin-server/config directory, but I don't know enough to be confident about it.

    Many thanks in advance for any hints

    Code:
    {
      "CapAdd" : [],
      "CapDrop" : [],
      "cmd" : "",
      "cpu_priority" : 50,
      "enable_publish_all_ports" : false,
      "enable_restart_policy" : false,
      "enable_service_portal" : null,
      "enabled" : true,
      "env_variables" : [
          {
            "key" : "PATH",
            "value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
          },
          {
            "key" : "HEALTHCHECK_URL",
            "value" : "http://localhost:8096/health"
          },
          {
            "key" : "DEBIAN_FRONTEND",
            "value" : "noninteractive"
          },
          {
            "key" : "LC_ALL",
            "value" : "en_US.UTF-8"
          },
          {
            "key" : "LANG",
            "value" : "en_US.UTF-8"
          },
          {
            "key" : "LANGUAGE",
            "value" : "en_US:en"
          },
          {
            "key" : "JELLYFIN_DATA_DIR",
            "value" : "/config"
          },
          {
            "key" : "JELLYFIN_CACHE_DIR",
            "value" : "/cache"
          },
          {
            "key" : "JELLYFIN_CONFIG_DIR",
            "value" : "/config/config"
          },
          {
            "key" : "JELLYFIN_LOG_DIR",
            "value" : "/config/log"
          },
          {
            "key" : "JELLYFIN_WEB_DIR",
            "value" : "/jellyfin/jellyfin-web"
          },
          {
            "key" : "JELLYFIN_FFMPEG",
            "value" : "/usr/lib/jellyfin-ffmpeg/ffmpeg"
          },
          {
            "key" : "XDG_CACHE_HOME",
            "value" : "/cache"
          },
          {
            "key" : "MALLOC_TRIM_THRESHOLD_",
            "value" : "131072"
          },
          {
            "key" : "NVIDIA_VISIBLE_DEVICES",
            "value" : "all"
          },
          {
            "key" : "NVIDIA_DRIVER_CAPABILITIES",
            "value" : "compute,video,utility"
          }
      ],
      "exporting" : false,
      "id" : "87b6ba81d7f8197392e0e8f9ec9e2824bfc1f11ba206324cc1f67284c541d5b9",
      "image" : "jellyfin/jellyfin:latest",
      "is_ddsm" : false,
      "is_package" : false,
      "labels" : {
          "org.opencontainers.image.description" : "The Free Software Media System",
          "org.opencontainers.image.documentation" : "https://jellyfin.org/docs/",
          "org.opencontainers.image.source" : "https://github.com/jellyfin/jellyfin",
          "org.opencontainers.image.title" : "Jellyfin",
          "org.opencontainers.image.url" : "https://jellyfin.org",
          "org.opencontainers.image.version" : "10.9.6"
      },
      "links" : [],
      "memory_limit" : 0,
      "name" : "jellyfin",
      "network" : [
          {
            "driver" : "bridge",
            "name" : "bridge"
          }
      ],
      "network_mode" : "bridge",
      "port_bindings" : [
          {
            "container_port" : 8096,
            "host_port" : 8096,
            "type" : "tcp"
          }
      ],
      "privileged" : true,
      "service_portals" : [],
      "shortcut" : {
          "enable_shortcut" : false,
          "enable_status_page" : false,
          "enable_web_page" : false,
          "web_page_url" : ""
      },
      "use_host_network" : false,
      "version" : 2,
      "volume_bindings" : [
          {
            "host_volume_file" : "/video",
            "is_directory" : true,
            "mount_point" : "/media",
            "type" : "ro"
          },
          {
            "host_volume_file" : "/docker/jellyfin-server/cache",
            "is_directory" : true,
            "mount_point" : "/cache",
            "type" : "rw"
          },
          {
            "host_volume_file" : "/docker/jellyfin-server/config",
            "is_directory" : true,
            "mount_point" : "/config",
            "type" : "rw"
          }
      ]
    }
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2025-02-09, 08:05 PM
    You could follow my guide for DSM7 here: https://forum.jellyfin.org/t-guide-runni...er-compose

    Read through it first to see if it will help you.
    zen_arcade
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    #3
    2025-02-09, 10:29 PM
    Yes, thanks, that helps. So let me check if I got it right, very broadly at first:

    1. get all of my current setup described in a docker-compose.yml
    2. update
    3. modify docker-compose.yml
    4. restart the container

    Points 1 and 3 are what I'm not really sure about. My problem is that I don't have a project right now. All of my dockers are in the Container section. Should I try creating a new project and see if that reproduces my current setup before updating?
    pxr5
    Offline

    Member

    Posts: 51
    Threads: 3
    Joined: 2024 Jan
    Reputation: 3
    Country:United Kingdom
    #4
    2025-02-10, 12:02 PM
    You shouldn't have to update the yaml file. As long as you have the image line in your yaml set to the latest (image: jellyfin/jellyfin:latest), just stop the container. Go to images and it should say there that there is an update to Jellyfin. Just do that, wait for the update, and restart the Jellyfin container. And that's it.
    Jellyfin1 - 10.10.3 (Docker) Synology NAS (transcoding off)
    Jellyfin2 - 10.10.3 Minix ZX100-0db MiniPC, Intel N100 (transcoding on)
    Storage - x3 Synology NAS (22TB)
    Reverse Proxy - Caddy v2 running on a Pi3b+
    zen_arcade
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    #5
    2025-02-10, 04:48 PM
    (2025-02-10, 12:02 PM)pxr5 Wrote: You shouldn't have to update the yaml file. As long as you have the image line in your yaml set to the latest (image: jellyfin/jellyfin:latest), just stop the container. Go to images and it should say there that there is an update to Jellyfin. Just do that, wait for the update, and restart the Jellyfin container. And that's it.

    I'm starting to get it now. This project window is much more convenient.
    I just created a new container with the jellyfin/jellyfin:10.10.5 image to play with, without touching my current setup.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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