• 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 Cant install on Debian 12

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Cant install on Debian 12

    Ilya
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #1
    2024-08-29, 06:16 PM
    I've tried installing jellyfin by different methods on a fresh OS install (including curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash), but get the same result - jellyfin service does not start

    Results are always the same:
    Code:
    × jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: signal) since Thu 2024-08-29 19:04:05 BST; 4min 8s ago
      Duration: 479ms
        Process: 2102 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=killed, signal=ABRT)
      Main PID: 2102 (code=killed, signal=ABRT)
            CPU: 450ms

    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Failed with result 'signal'.
    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Aug 29 19:04:05 Berryzavr systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Start request repeated too quickly.
    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Failed with result 'signal'.
    Aug 29 19:04:05 Berryzavr systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
    × jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: signal) since Thu 2024-08-29 19:04:05 BST; 4min 8s ago
      Duration: 479ms
        Process: 2102 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=killed, signal=ABRT)
      Main PID: 2102 (code=killed, signal=ABRT)
            CPU: 450ms

    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Failed with result 'signal'.
    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Aug 29 19:04:05 Berryzavr systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Start request repeated too quickly.
    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Failed with result 'signal'.
    Aug 29 19:04:05 Berryzavr systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
    -------------------------------------------------------------------------------

    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://192.168.0.186:8096 in your web browser to finish setting up Jellyfin.

    Thank you for installing Jellyfin, and happy watching!

    Ilya@Berryzavr:~ $ journalctl -xeu jellyfin
    Aug 29 19:04:05 Berryzavr systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
    ░░ Subject: A stop job for unit jellyfin.service has finished
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit jellyfin.service has finished.
    ░░
    ░░ The job identifier is 2096 and the job result is done.
    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Start request repeated too quickly.
    Aug 29 19:04:05 Berryzavr systemd[1]: jellyfin.service: Failed with result 'signal'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit jellyfin.service has entered the 'failed' state with result 'signal'.
    Aug 29 19:04:05 Berryzavr systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
    ░░ Subject: A start job for unit jellyfin.service has failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit jellyfin.service has finished with a failure.
    ░░
    ░░ The job identifier is 2096 and the job result is failed.
    lines 509-530/530 (END)
    Fate
    Offline

    Member

    Posts: 219
    Threads: 3
    Joined: 2023 Jun
    Reputation: 16
    #2
    2024-08-29, 06:24 PM (This post was last modified: 2024-08-29, 06:25 PM by Fate. Edited 2 times in total.)
    can you post everything in:
    journalctl -u jellyfin.service
    to pastebin and link it here?

    or
    journalctl -u jellyfin.service --since=yesterday
    if the other is too much text
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-08-29, 06:53 PM
    (2024-08-29, 06:24 PM)Fate Wrote: can you post everything in:
    journalctl -u jellyfin.service
    to pastebin and link it here?

    or
    journalctl -u jellyfin.service --since=yesterday
    if the other is too much text

    You can also use this to limit the output

    Code:
    sudo journalctl -u jellyfin -n 200 --no-pager

    -n 200 limits it to the last 200 lines, --no-pager will just dump the output to the terminal instead of putting you in a vim-like interface.
    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]
    bitzerj
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #4
    2024-08-30, 06:22 PM (This post was last modified: 2024-08-30, 06:26 PM by bitzerj. Edited 1 time in total.)
    Same issue...tried to install on a new bare metal PC.  Same exact error...

    Debian 12 is a clean new install...


    Attached Files
    .txt   result.txt (Size: 27.3 KB / Downloads: 65)
    Host-in-the-Shell
    Offline

    Member

    Posts: 166
    Threads: 10
    Joined: 2023 Jun
    Reputation: 14
    #5
    2024-08-30, 06:27 PM (This post was last modified: 2024-08-30, 06:35 PM by Host-in-the-Shell. Edited 3 times in total.)
    Could you also provide the same logs that others requested of OP? That way we can have an idea of what actually is going on.

    Edit: Missed your log. Thanks.

    Edit2: Did you by any chance ran the installer script as the root user instead of using sudo as a normal user? I've heard of that causing issues. If you did, uninstall jellyfin as the root user, then log back in as a user with sudo permissions (if you don't have one, then you'll have to make one) and reinstall under said user while invoking sudo.
    Server specs => OS: Debian 12 | GPU: Arc A380 | CPU: Ryzen 5 5600X | 64GB RAM | 56TB
    bitzerj
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #6
    2024-08-30, 07:13 PM
    I ran it under a user account with sudo permissions. I did an uninstall (Remove) and reinstall just to check and had the same error.
    Host-in-the-Shell
    Offline

    Member

    Posts: 166
    Threads: 10
    Joined: 2023 Jun
    Reputation: 14
    #7
    2024-08-30, 07:46 PM
    Since it's a fresh install and I'm assuming it's okay to start over, could you try to run

    Code:
    sudo apt purge jellyfin
    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

    and see if there's any difference?
    Server specs => OS: Debian 12 | GPU: Arc A380 | CPU: Ryzen 5 5600X | 64GB RAM | 56TB
    bitzerj
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #8
    2024-08-30, 08:04 PM
    No difference, had the same error when it tried to start the service.
    bitzerj
    Offline

    Junior Member

    Posts: 5
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #9
    2024-08-30, 08:23 PM
    Success! I went in and removed the systemd stuff from the previous installations and did a daemon-reload. Sorry, not a real linux expert... I rebooted the server, ran the curl script again and it failed, but this time was with a different error, that the service was disabled. I did a systemctl enable jellyfin and then a systemctl start jellyfin and it started.
    Host-in-the-Shell
    Offline

    Member

    Posts: 166
    Threads: 10
    Joined: 2023 Jun
    Reputation: 14
    #10
    2024-08-30, 08:34 PM
    That's great. Just for reference and in case somebody else is still stuck even after all of this, then there seems to be a permissions issue with one of the core directories (although that shouldn't happen if you've installed using the installation script, but let's continue).

    What I would try then is to uninstall jellyfin, delete every directory related to it (/var/lib/jellyfin, /var/log/jellyfin, /var/cache/jellyfin) with a command like

    Code:
    sudo rm -r /var/lib/jellyfin /var/log/jellyfin /var/cache/jellyfin
     
    and reinstall with the script to see if that gets rid of the permissions issue.

    All that said, I'm glad you were able to fix the problem. If anything, I also forgot to ask you for the output of 

    Code:
    sudo systemctl status jellyfin.service

    so it's my fault as well for assuming you would know to check that. But hey, all's well that ends well.
    Server specs => OS: Debian 12 | GPU: Arc A380 | CPU: Ryzen 5 5600X | 64GB RAM | 56TB
    Pages (2): 1 2 Next »

    « 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