• 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 SOLVED: Jellyfin service not starting

    Pages (6): « Previous 1 2 3 4 5 6 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin service not starting

    Jellyfin service not starting
    merulius
    Offline

    Junior Member

    Posts: 45
    Threads: 2
    Joined: 2024 Jan
    Reputation: 0
    #11
    2024-01-11, 07:02 PM
    I have removed Gerbera from the systemd updates and got a clean apt update (I think - there are five packages 'held back')

    This is the systemctl status for jellyfin.

    There is no /lib/jellyfin/jellyfin.sh

    There is only the bin and the restart.sh in /lib/jellyfin -- which is why I think it is failing.


    <pre>jellyfin.service - Jellyfin
    Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
    └─jellyfin.service.conf
    Active: <font color="#C01C28"><b>failed</b></font> (Result: exit-code) since Thu 2024-01-11 18:57:20 UTC; 7s ago
    Process: 60539 ExecStart=/lib/jellyfin/jellyfin.sh <font color="#C01C28"><b>(code=exited, status=203/EXEC)</b></font>
    Main PID: 60539 (code=exited, status=203/EXEC)
    CPU: 3ms

    Jan 11 18:57:20 balrog systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Jan 11 18:57:20 balrog systemd[1]: Stopped Jellyfin.
    Jan 11 18:57:20 balrog systemd[1]: <font color="#D7D75F"><b>jellyfin.service: Start request repeated too quickly.</b></font>
    Jan 11 18:57:20 balrog systemd[1]: <font color="#D7D75F"><b>jellyfin.service: Failed with result &apos;exit-code&apos;.</b></font>
    Jan 11 18:57:20 balrog systemd[1]: <font color="#C01C28"><b>Failed to start Jellyfin.</b></font>
    </pre>
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-01-11, 07:56 PM
    What is the output of

    Code:
    sudo apt list --installed | grep -i 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]
    merulius
    Offline

    Junior Member

    Posts: 45
    Threads: 2
    Joined: 2024 Jan
    Reputation: 0
    #13
    2024-01-12, 03:11 PM
    Result of sudo apt list --installed | grep -i jellyfin follows


    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    jellyfin-ffmpeg5/unknown,now 5.1.4-2-jammy amd64 [installed,automatic]
    jellyfin-server/unknown,now 10.8.13-1 amd64 [installed]
    jellyfin-web/unknown,now 10.8.13-1 all [installed]
    jellyfin/unknown,now 10.8.13-1 all [installed]
    merulius
    Offline

    Junior Member

    Posts: 45
    Threads: 2
    Joined: 2024 Jan
    Reputation: 0
    #14
    2024-01-12, 03:17 PM
    Going back to your original instructions. Results of purge and reinstall follow

    ~~~
    steve@balrog:~$ sudo apt purge jellyfin*
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package jellyfin-ffmpeg5_5.1.3-2-bookworm_amd64.deb
    E: Unable to locate package jellyfin.sh
    E: Couldn't find any package by glob 'jellyfin.sh'
    ~~~

    ~~~ % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 9937 100 9937 0 0 19870 0 --:--:-- --:--:-- --:--:-- 19913
    > Determining optimal repository settings.

    Found the following details from '/etc/os-release':
    Real OS: ubuntu
    Repository OS: ubuntu
    Repository Release: jammy
    CPU Architecture: amd64
    If this looks correct, press <Enter> now to continue installing Jellyfin.

    > Fetching repository signing key.

    > Installing Jellyfin repository into APT.
    Types: deb
    URIs: https://repo.jellyfin.org/ubuntu
    Suites: jammy
    Components: main
    Architectures: amd64
    Signed-By: /etc/apt/keyrings/jellyfin.gpg

    > Updating APT repositories.
    Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
    Hit:2 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease
    Hit:3 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease
    Hit:4 http://gb.archive.ubuntu.com/ubuntu jammy-security InRelease
    Hit:5 https://downloads.1password.com/linux/debian/amd64 stable InRelease
    Hit:6 https://repo.jellyfin.org/ubuntu jammy InRelease
    Hit:7 https://pkg.cloudflareclient.com jammy InRelease
    Hit:8 https://brave-browser-apt-release.s3.brave.com stable InRelease
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    3 packages can be upgraded. Run 'apt list --upgradable' to see them.

    > Installing Jellyfin.
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    jellyfin is already the newest version (10.8.13-1).
    0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

    > Waiting 15 seconds for Jellyfin to fully start up.

    -------------------------------------------------------------------------------
    × jellyfin.service - Jellyfin
    Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
    └─jellyfin.service.conf
    Active: failed (Result: exit-code) since Fri 2024-01-12 15:12:16 UTC; 3min 40s ago
    Process: 4161 ExecStart=/lib/jellyfin/jellyfin.sh (code=exited, status=203/EXEC)
    Main PID: 4161 (code=exited, status=203/EXEC)
    CPU: 2ms

    Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Jan 12 15:12:16 balrog systemd[1]: Stopped Jellyfin.
    Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Start request repeated too quickly.
    Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Failed with result 'exit-code'.
    Jan 12 15:12:16 balrog systemd[1]: Failed to start Jellyfin.
    × jellyfin.service - Jellyfin
    Loaded: loaded (/etc/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
    └─jellyfin.service.conf
    Active: failed (Result: exit-code) since Fri 2024-01-12 15:12:16 UTC; 3min 40s ago
    Process: 4161 ExecStart=/lib/jellyfin/jellyfin.sh (code=exited, status=203/EXEC)
    Main PID: 4161 (code=exited, status=203/EXEC)
    CPU: 2ms

    Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Jan 12 15:12:16 balrog systemd[1]: Stopped Jellyfin.
    Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Start request repeated too quickly.
    Jan 12 15:12:16 balrog systemd[1]: jellyfin.service: Failed with result 'exit-code'.
    Jan 12 15:12:16 balrog systemd[1]: Failed to start Jellyfin.
    -------------------------------------------------------------------------------

    You should see the service as 'active (running)' above. If not, use https://jellyfin.org/contact to find us for troubleshooting.

    You can access your new instance now at http://:8096 in your web browser to finish setting up Jellyfin.

    Thank you for installing Jellyfin, and happy watching!
    ~~~
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #15
    2024-01-12, 03:44 PM (This post was last modified: 2024-01-12, 03:45 PM by tmsrxzar. Edited 1 time in total.)
    steve@balrog:~$ sudo apt purge jellyfin*
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package jellyfin-ffmpeg5_5.1.3-2-bookworm_amd64.deb
    E: Unable to locate package jellyfin.sh
    E: Couldn't find any package by glob 'jellyfin.sh'


    you ran that command in a folder that contains files named "jellyfin*" and as a result bash autocompleted the filenames it found, namely the deb package and "jellyfin.sh"

    either put it in quotes "jellyfin*" or don't run it in a folder that contains files named jellyfin*
    merulius
    Offline

    Junior Member

    Posts: 45
    Threads: 2
    Joined: 2024 Jan
    Reputation: 0
    #16
    2024-01-12, 03:58 PM
    Just running 'jellyfin' results in following. Web server bit def not there.

    steve@balrog:~$ jellyfin
    [15:53:17] [INF] [1] Main: Jellyfin version: 10.8.13
    [15:53:17] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/steve/.local/share/jellyfin/log]"]
    [15:53:17] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll"]
    [15:53:17] [INF] [1] Main: Operating system: Linux
    [15:53:17] [INF] [1] Main: Architecture: X64
    [15:53:17] [INF] [1] Main: 64-Bit Process: True
    [15:53:17] [INF] [1] Main: User Interactive: True
    [15:53:17] [INF] [1] Main: Processor count: 12
    [15:53:17] [INF] [1] Main: Program data path: /home/steve/.local/share/jellyfin
    [15:53:17] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web
    [15:53:17] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [15:53:17] [ERR] [1] Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings.
    [15:53:17] [INF] [2] Main: Received a SIGTERM signal, shutting down
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #17
    2024-01-12, 04:04 PM
    [15:53:17] [INF] [1] Main: Web resources path: /usr/lib/jellyfin/bin/jellyfin-web

    "ls -la /usr/lib/jellyfin/bin/jellyfin-web"
    "dpkg -l | grep jellyfin"
    merulius
    Offline

    Junior Member

    Posts: 45
    Threads: 2
    Joined: 2024 Jan
    Reputation: 0
    #18
    2024-01-12, 04:07 PM
    (2024-01-12, 03:44 PM)tmsrxzar Wrote: steve@balrog:~$ sudo apt purge jellyfin*
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package jellyfin-ffmpeg5_5.1.3-2-bookworm_amd64.deb
    E: Unable to locate package jellyfin.sh
    E: Couldn't find any package by glob 'jellyfin.sh'


    you ran that command in a folder that contains files named "jellyfin*" and as a result bash autocompleted the filenames it found, namely the deb package and "jellyfin.sh"

    either put it in quotes "jellyfin*" or don't run it in a folder that contains files named jellyfin*

    OK, thanks. I'll start again. (Was following instructions, btw).
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #19
    2024-01-12, 04:12 PM
    you know there is a version of jellyfin server for windows right? just in case that's more comfortable for you
    merulius
    Offline

    Junior Member

    Posts: 45
    Threads: 2
    Joined: 2024 Jan
    Reputation: 0
    #20
    2024-01-12, 04:18 PM
    (2024-01-12, 04:12 PM)tmsrxzar Wrote: you know there is a version of jellyfin server for windows right? just in case that's more comfortable for you

    Thanks, I appreciate the thought. I haven't used Windows in decades. Hate the thought. I'm an OSX fan. Trying to set up a Linux home server and learn at the same time. 

    I appreciate the work that you guys put in.

    Jellyfin [b]did[b] work initially, then I guessed I messed something up and now I can't re-install correctly.

    But I really like Jellyfin (when it was working - and I had it remotely working over Cloudflare too, cool) and can't see anything that comes close. So I want to persist.
    Pages (6): « Previous 1 2 3 4 5 6 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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