Jellyfin Forum
Updating with DSM 7.2 Container Manager - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Updating with DSM 7.2 Container Manager (/t-updating-with-dsm-7-2-container-manager)



Updating with DSM 7.2 Container Manager - zen_arcade - 2025-02-09

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"
      }
  ]
}



RE: Updating with DSM 7.2 Container Manager - Efficient_Good_5784 - 2025-02-09

You could follow my guide for DSM7 here: https://forum.jellyfin.org/t-guide-running-jellyfin-in-synology-s-dsm-7-using-docker-compose

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


RE: Updating with DSM 7.2 Container Manager - zen_arcade - 2025-02-09

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?


RE: Updating with DSM 7.2 Container Manager - pxr5 - 2025-02-10

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.


RE: Updating with DSM 7.2 Container Manager - zen_arcade - 2025-02-10

(Yesterday, 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.