• 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 Troubleshooting jellyfin seems to keep on restarting

     
    • 0 Vote(s) - 0 Average

    jellyfin seems to keep on restarting

    YamiYukiSenpai
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2023 Sep
    Reputation: 0
    #1
    2023-09-05, 06:19 AM (This post was last modified: 2023-09-05, 06:50 AM by YamiYukiSenpai. Edited 1 time in total.)
    I'm trying to figure out why my Jellyfin (Podman container) keeps on killing itself:

    Code:
    $ podman logs --tail 50 --follow --timestamps jellyfin
    2023-09-05T06:12:45.962653000Z [06:12:45] [INF] [1] Main: Jellyfin version: 10.8.10
    2023-09-05T06:12:45.967677000Z [06:12:45] [INF] [1] Main: Environment Variables: ["[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_LOG_DIR, /config/log]"]
    2023-09-05T06:12:45.967744000Z [06:12:45] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
    2023-09-05T06:12:45.968232000Z [06:12:45] [INF] [1] Main: Operating system: Linux
    2023-09-05T06:12:45.968582000Z [06:12:45] [INF] [1] Main: Architecture: X64
    2023-09-05T06:12:45.968621000Z [06:12:45] [INF] [1] Main: 64-Bit Process: True
    2023-09-05T06:12:45.968655000Z [06:12:45] [INF] [1] Main: User Interactive: True
    2023-09-05T06:12:45.968689000Z [06:12:45] [INF] [1] Main: Processor count: 16
    2023-09-05T06:12:45.968719000Z [06:12:45] [INF] [1] Main: Program data path: /config
    2023-09-05T06:12:45.968749000Z [06:12:45] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
    2023-09-05T06:12:45.968779000Z [06:12:45] [INF] [1] Main: Application directory: /jellyfin/
    2023-09-05T06:12:46.084862000Z [06:12:46] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
    2023-09-05T06:12:46.094399000Z [06:12:46] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
    2023-09-05T06:12:46.138065000Z [06:12:46] [ERR] [1] Jellyfin.Networking.Manager.NetworkManager: No interfaces information available. Resolving DNS name.
    2023-09-05T06:12:46.145114000Z [06:12:46] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
    2023-09-05T06:12:46.145176000Z [06:12:46] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
    2023-09-05T06:12:46.145544000Z [06:12:46] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
    2023-09-05T06:12:46.151068000Z [06:12:46] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
    2023-09-05T06:12:46.151109000Z [06:12:46] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
    2023-09-05T06:12:47.587009000Z [06:12:47] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.10.0
    2023-09-05T06:12:47.587420000Z [06:12:47] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.10.0
    2023-09-05T06:12:47.587574000Z [06:12:47] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.10.0
    2023-09-05T06:12:47.587725000Z [06:12:47] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.10.0
    2023-09-05T06:12:47.587869000Z [06:12:47] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.10.0
    2023-09-05T06:12:47.619982000Z [06:12:47] [INF] [1] Main: Kestrel listening on Any IP4 Address
    2023-09-05T06:12:47.651045000Z [06:12:47] [WRN] [1] Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository: Using an in-memory repository. Keys will not be persisted to storage.
    2023-09-05T06:12:47.651314000Z [06:12:47] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
    2023-09-05T06:12:47.816602000Z [06:12:47] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {38bdc876-2f52-49a1-ae88-75ad14ebf0a7} may be persisted to storage in unencrypted form.
    2023-09-05T06:12:47.828809000Z [06:12:47] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
    2023-09-05T06:12:47.845608000Z [06:12:47] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2023-09-06 02:00:00.000 +00:00, which is 19:47:12.1546924 from now.
    2023-09-05T06:12:47.890924000Z [06:12:47] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 5.1.3
    2023-09-05T06:12:47.917348000Z [06:12:47] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
    2023-09-05T06:12:47.935018000Z [06:12:47] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
    2023-09-05T06:12:47.952698000Z [06:12:47] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
    2023-09-05T06:12:48.049279000Z [06:12:48] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
    2023-09-05T06:12:48.128069000Z [06:12:48] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
    2023-09-05T06:12:48.128658000Z [06:12:48] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: 0f138af22ef047dab62b8dc4e4ea5a88
    2023-09-05T06:12:48.210891000Z [06:12:48] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.0673957
    2023-09-05T06:12:48.211020000Z [06:12:48] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
    2023-09-05T06:12:48.312471000Z [06:12:48] [INF] [15] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/DATA/SHARED/Videos/Movies
    2023-09-05T06:12:48.313134000Z [06:12:48] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.1021734
    2023-09-05T06:12:48.313206000Z [06:12:48] [INF] [1] Main: Startup complete 0:00:02.4701886
    2023-09-05T06:12:48.315247000Z [06:12:48] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/DATA/SHARED/Videos/Anime
    2023-09-05T06:12:48.320562000Z [06:12:48] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/DATA/SHARED/Videos/TV
    2023-09-05T06:12:48.402080000Z [06:12:48] [INF] [13] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/DATA/SHARED/Music
    2023-09-05T06:12:50.858342000Z [06:12:50] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins
    2023-09-05T06:12:50.858810000Z [06:12:50] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
    2023-09-05T06:12:50.860548000Z [06:12:50] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins
    2023-09-05T06:12:51.154779000Z [06:12:51] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds
    2023-09-05T06:12:51.159889000Z [06:12:51] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    2023-09-05T06:13:11.594452000Z [06:13:11] [INF] [26] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 10.0.2.100 request
    2023-09-05T06:13:16.271382000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'AccessSchedule' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.271699000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.271766000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'CustomItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.271818000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.271861000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'HomeSection' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.271903000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ImageInfo' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.271949000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.271990000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Permission' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.272029000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Preference' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.272069000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ApiKey' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.272110000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Device' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.272153000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DeviceOptions' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:16.272193000Z [06:13:16] [WRN] [19] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'User' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
    2023-09-05T06:13:59.634391000Z [06:13:59] [INF] [29] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
    2023-09-05T06:14:11.636065000Z [06:14:11] [INF] [30] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
    2023-09-05T06:14:15.928167000Z [06:14:15] [INF] [2] Main: Received a SIGTERM signal, shutting down
    2023-09-05T06:14:15.928762000Z [06:14:15] [INF] [2] Main: Running query planner optimizations in the database... This might take a while
    2023-09-05T06:14:15.936628000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    2023-09-05T06:14:15.937428000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing RecordingNotifier
    2023-09-05T06:14:15.938691000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
    2023-09-05T06:14:15.938900000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing ExternalPortForwarding
    2023-09-05T06:14:15.939653000Z [06:14:15] [INF] [2] Emby.Server.Implementations.EntryPoints.ExternalPortForwarding: Stopping NAT discovery
    2023-09-05T06:14:15.942619000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing DeviceAccessEntryPoint
    2023-09-05T06:14:15.942709000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing NotificationEntryPoint
    2023-09-05T06:14:15.943754000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing UserDataChangeNotifier
    2023-09-05T06:14:15.944194000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing UdpServerEntryPoint
    2023-09-05T06:14:15.944483000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing EmbyTV
    2023-09-05T06:14:15.945411000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing DlnaEntryPoint
    2023-09-05T06:14:15.945928000Z [06:14:15] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing PlayToManager
    2023-09-05T06:14:15.946659000Z [06:14:15] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing DeviceDiscovery
    2023-09-05T06:14:15.947339000Z [06:14:15] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing SsdpCommunicationsServer
    2023-09-05T06:14:15.947659000Z [06:14:15] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: SsdpCommunicationsServer disposing _BroadcastListenSocket
    2023-09-05T06:14:15.948985000Z [06:14:15] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: SsdpCommunicationsServer Disposing 3 sendSockets
    2023-09-05T06:14:15.949098000Z [06:14:15] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: SsdpCommunicationsServer disposing sendSocket from 0.0.0.0
    2023-09-05T06:14:15.949184000Z [06:14:15] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: SsdpCommunicationsServer disposing sendSocket from 10.0.2.100
    2023-09-05T06:14:15.949448000Z [06:14:15] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: SsdpCommunicationsServer disposing sendSocket from 127.0.0.1
    2023-09-05T06:14:15.949511000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing EntryPoint
    2023-09-05T06:14:15.949570000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing EntryPoint
    2023-09-05T06:14:15.949626000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing LibraryMonitorStartup
    2023-09-05T06:14:15.949687000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing LibraryChangedNotifier
    2023-09-05T06:14:15.950884000Z [06:14:15] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing SchedulesDirect

    Code:
    $ cat .config/systemd/user/container-jellyfin.service
    # container-jellyfin.service
    # autogenerated by Podman 3.4.4
    # Tue Sep  5 04:02:15 UTC 2023

    [Unit]
    Description=Podman container-jellyfin.service
    Documentation=man:podman-generate-systemd(1)
    Wants=network-online.target
    After=network-online.target
    RequiresMountsFor=/run/user/1001/containers

    [Service]
    Environment=PODMAN_SYSTEMD_UNIT=%n
    Restart=on-failure
    TimeoutStopSec=70
    ExecStart=/usr/bin/podman run \
    --detach \
    --label "io.containers.autoupdate=registry" \
    --name jellyfin \
    --publish 8096:8096/tcp \
    --rm \
    --userns keep-id \
    --volume /opt/podvol/jellyfin/cache:/cache \
    --volume /opt/podvol/jellyfin/config:/config \
    --mount type=bind,source=/media,destination=/media,ro=false \
    docker.io/jellyfin/jellyfin:latest
    #ExecStart=/usr/bin/podman start jellyfin
    ExecStop=/usr/bin/podman stop -t 10 jellyfin
    #ExecStopPost=/usr/bin/podman stop -t 10 jellyfin
    PIDFile=/run/user/1001/containers/overlay-containers/77fcf9ad0639aea929779484611c7b5c04c0b0aad3d82a314bcba0f9eb55642b/userdata/conmon.pid
    Type=forking

    [Install]
    WantedBy=default.target

    My server has the following specs:
    • Ubuntu Server 22.04
    • Ryzen 7 5700G
    • 32GB RAM
    • podman version 3.4.4

    I also tried to comment out the docker run ExecStart, and uncomment docker start ExecStart line + this config:


    Code:
    $ cat .config/containers/systemd/jellyfin.container
    [Container]
    Image=docker.io/jellyfin/jellyfin:latest
    Label=io.containers.autoupdate=registry
    PublishPort=8096:8096/tcp
    RemapUsers=keep-id
    Volume=/opt/podvol/jellyfin/config:/config
    Volume=/opt/podvol/jellyfin/cache:/cache
    Volume=/media:/media

    [Service]
    # Inform systemd of additional exit status
    SuccessExitStatus=0 143

    [Install]
    # Start by default on boot
    WantedBy=default.target

    Same thing, except it didn't come back.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-09-05, 02:08 PM
    Aren't you tell it to stop with the ExecStop?

    Code:
    ExecStop=/usr/bin/podman stop -t 10 jellyfin
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    YamiYukiSenpai
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2023 Sep
    Reputation: 0
    #3
    2023-09-06, 02:56 AM
    (2023-09-05, 02:08 PM)TheDreadPirate Wrote: Aren't you tell it to stop with the ExecStop?

    Code:
    ExecStop=/usr/bin/podman stop -t 10 jellyfin

    That was the default.  Was I not?
    YamiYukiSenpai
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2023 Sep
    Reputation: 0
    #4
    2023-09-06, 03:39 AM
    One thing to note: it doesn't seem to die if I don't run it as a service.
    YamiYukiSenpai
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2023 Sep
    Reputation: 0
    #5
    2023-11-06, 02:53 AM (This post was last modified: 2023-11-06, 03:27 AM by YamiYukiSenpai. Edited 1 time in total.)
    Got it working with a newer Podman from this repo: /repositories/develConfused-facekubicConfused-facelibcontainersConfused-faceunstable/xUbuntu_22.04 - openSUSE Download

    Here's the full systemd service file it generated:

    Code:
    # container-jellyfin.service
    # autogenerated by Podman 4.6.2
    # Sun Nov  5 04:49:17 UTC 2023

    [Unit]
    Description=Podman container-jellyfin.service
    Documentation=man:podman-generate-systemd(1)
    Wants=network-online.target
    After=network-online.target
    RequiresMountsFor=%t/containers

    [Service]
    Environment=PODMAN_SYSTEMD_UNIT=%n
    Restart=on-failure
    TimeoutStopSec=70
    ExecStart=/usr/bin/podman run \
            --cidfile=%t/%n.ctr-id \
            --cgroups=no-conmon \
            --rm \
            --sdnotify=conmon \
            --detach \
            --label io.containers.autoupdate=registry \
            --name jellyfin \
            --publish 8096:8096/tcp \
            --publish 8920:8920/tcp \
            --publish 7359:7359/udp \
            --device nvidia.com/gpu=all \
            --security-opt=label=disable \
            --device /dev/nvidia-caps:/dev/nvidia-caps \
            --device /dev/nvidia0:/dev/nvidia0 \
            --device /dev/nvidiactl:/dev/nvidiactl \
            --device /dev/nvidia-modeset:/dev/nvidia-modeset \
            --device /dev/nvidia-uvm:/dev/nvidia-uvm \
            --device /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools \
            --replace \
            --userns keep-id \
            --volume /opt/podvol/jellyfin/cache:/cache \
            --volume /opt/podvol/jellyfin/config:/config \
            --mount type=bind,source=/media,destination=/media,ro=false docker.io/jellyfin/jellyfin:latest
    ExecStop=/usr/bin/podman stop \
            --ignore -t 10 \
            --cidfile=%t/%n.ctr-id
    ExecStopPost=/usr/bin/podman rm \
            -f \
            --ignore -t 10 \
            --cidfile=%t/%n.ctr-id
    Type=notify
    NotifyAccess=all

    [Install]
    WantedBy=default.target

    Just working on hardware acceleration now, but I’m having trouble with my GTX 1060
    • Ryzen 7 5700G
    • 80GB RAM
    • EVGA 3060 Ti
    • Ubuntu Server
    • Jellyfin in Docker (Snap)
    https://ca.pcpartpicker.com/list/GCNYt7
    « 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