• 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 container fails to start after update

     
    • 0 Vote(s) - 0 Average

    Jellyfin container fails to start after update

    robertjdac
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #1
    2024-12-30, 03:07 AM
    I've had Jellyfin set up in a Docker container for the past  year working with nvidia hardware transcoding without issue.

    Today I made the mistake of running Watchtower which updated all my containers. All successfully updated except for Jellyifn.

    When it tries to start, I get this error in Portainer:

    Failed starting container: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: detection error: nvml error: unknown error: unknown

    The logs spam the following for a while:

    [02:49:33] [INF] [23] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.

    Any idea what I broke when updating?

    Thanks
    robertjdac
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #2
    2024-12-30, 03:32 AM (This post was last modified: 2024-12-30, 03:32 AM by robertjdac.)
    I removed the gpu/device passthrough from the docker compose file and jellyfin container does start; however I can't even login to my server anymore. It's like it deleted my user/settings.

    Guess I should never run Watchtower.
    bitmap
    Offline

    Community Moderator

    Posts: 851
    Threads: 9
    Joined: 2023 Jul
    Reputation: 28
    #3
    2024-12-30, 03:58 AM
    Quote:Guess I should never run Watchtower.

    Yes, please! Watchtower is an absolute nightmare unless you use something like LSIO images pinned to a version number that receive various updates to the base OS. It will absolutely destroy your shit otherwise.

    If you want an "update" solution that worked well for me for a number of years, try diun: https://github.com/crazy-max/diun. You get notified when a new version is available (I used Slack and Matrix webhooks while I used it) and can format the message to your liking, even with links to release notes and such. Nowadays I check often enough that I don't really need notifications, plus my server is extremely stable, so I fear introducing instability...
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    robertjdac
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    #4
    2024-12-30, 04:20 AM
    (2024-12-30, 03:32 AM)robertjdac Wrote: I removed the gpu/device passthrough from the docker compose file and jellyfin container does start; however I  can't even login to my server anymore. It's like it deleted my user/settings.

    Guess I should never run Watchtower.

    Well I was able to get  it running again, and logged back in... however, I still can't get the Nvidia transcoding to work. It seems to have completely broken. Now whenever I run "nvidia-smi" from the command line, it just says "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."

    Not sure why Watchtower would have broken my nvidia drivers... but this was all working and it was a huge pain to set up!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-12-30, 01:33 PM
    Reinstall the Nvidia container toolkit?
    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]
    « 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