• 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.service Fails to Start

     
    • 0 Vote(s) - 0 Average

    jellyfin.service Fails to Start

    Unable to Start Jellyfin
    X0X0X0
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #1
    2024-12-24, 08:41 PM
    On Debian 12 machine.

    Jellyfin was working all find and dandy until I decided to "Shutdown" the server via the web-panel. 

    I couldn't start it manually. At the moment, Jellyfin server will not launch.

    I did try to uninstall Jellyfin*, yet, when installed via repository, says already installed.

    Managed to install Jellyfin server via .deb package finally.

    Code:
    user@debian:~$ sudo systemctl start jellyfin.service                         
    Job for jellyfin.service failed because of unavailable resources or another system error.
    See "systemctl status jellyfin.service" and "journalctl -xeu jellyfin.service" for details.
    user@debian:~$ sudo systemctl status jellyfin.service
    × jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Active: failed (Result: resources) since Tue 2024-12-24 12:22:03 PST; 4min 6s ago
            CPU: 0

    Dec 24 12:22:03 PC systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Dec 24 12:22:03 PC systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
    Dec 24 12:22:03 PC systemd[1]: jellyfin.service: Start request repeated too quickly.
    Dec 24 12:22:03 PC systemd[1]: jellyfin.service: Failed with result 'resources'.
    Dec 24 12:22:03 PC systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.

    user@debian:~$ sudo systemctl restart jellyfin
    Job for jellyfin.service failed because of unavailable resources or another system error.
    See "systemctl status jellyfin.service" and "journalctl -xeu jellyfin.service" for details.

    Any suggestion on how to overcome this issue? 

    Thank you
    X0X0X0
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #2
    2024-12-24, 08:50 PM
    Here are the results of: journalctl -xeu jellyfin

    Code:
    User@PC:~$ sudo  journalctl -xeu jellyfin
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit jellyfin.service has entered the 'failed' state with result 'resources'.
    Dec 24 12:29:59 PC 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 7276 and the job result is failed.
    Dec 24 12:29:59 PC systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 4.
    ░░ Subject: Automatic restarting of a unit has been scheduled
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ Automatic restarting of the unit jellyfin.service has been scheduled, as the result for
    ░░ the configured Restart= setting for the unit.
    Dec 24 12:29:59 PC 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 7443 and the job result is done.
    Dec 24 12:29:59 PC systemd[1]: jellyfin.service: Failed to load environment files: No such file or directory
    Dec 24 12:29:59 PC systemd[1]: jellyfin.service: Failed to run 'start' task: No such file or directory
    Dec 24 12:29:59 PC systemd[1]: jellyfin.service: Failed with result 'resources'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit jellyfin.service has entered the 'failed' state with result 'resources'.
    Dec 24 12:29:59 PC 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 7443 and the job result is failed.
    Dec 24 12:29:59 PC systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    ░░ Subject: Automatic restarting of a unit has been scheduled
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ Automatic restarting of the unit jellyfin.service has been scheduled, as the result for
    ░░ the configured Restart= setting for the unit.
    Dec 24 12:29:59 PC 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 7610 and the job result is done.
    Dec 24 12:29:59 PC systemd[1]: jellyfin.service: Start request repeated too quickly.
    Dec 24 12:29:59 PC systemd[1]: jellyfin.service: Failed with result 'resources'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit jellyfin.service has entered the 'failed' state with result 'resources'.
    Dec 24 12:29:59 PC 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 7610 and the job result is failed.
    X0X0X0
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #3
    2024-12-24, 09:22 PM
    By Jove! This is magic..!

    I tried out these steps from this Thread: SOLVED: Jellyfin attempting to access /jellyfin after server reboot


    Code:
    sudo mkdir /jellyBackup
    cd /jellyBackup
    sudo rsync -a -p --progress /var/lib/jellyfin libJellyfin/
    sudo rsync -a -p --progress /etc/jellyfin etcJellyfin/
    sudo rsync -a -p --progress /var/cache/jellyfin cacheJellyfin/
    sudo apt purge jellyfin*
    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
    sudo systemctl stop jellyfin
    sudo rsync -a -p --progress libJellyfin/jellyfin /var/lib/ --delete
    sudo rsync -a -p --progress etcJellyfin/jellyfin /etc/ --delete
    sudo rsync -a -p --progress cacheJellyfin/jellyfin /var/cache/ --delete
    sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin
    sudo systemctl start jellyfin


    I thank you @TheDreadPirate
    1
    « 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