• 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: Systemctl failure

     
    • 0 Vote(s) - 0 Average

    SOLVED: Systemctl failure

    Facing Systemctl 'Resources' error, even when I have resources.
    kavkya
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    #1
    2024-05-16, 11:02 PM
    Hello, I am trying to run jellyfin on Ubuntu jammy. Immediately After installing jellyfin I am getting this systemctl error:
    Code:
    × jellyfin.service - Jellyfin Media Server
    Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/jellyfin.service.d
    └─jellyfin.service.conf
    Active: failed (Result: resources) since Thu 2024-05-16 18:44:35 EDT; 17s ago
    CPU: 0

    May 16 18:44:35 localhost systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    May 16 18:44:35 localhost systemd[1]: Stopped Jellyfin Media Server.
    May 16 18:44:35 localhost systemd[1]: jellyfin.service: Start request repeated too quickly.
    May 16 18:44:35 localhost systemd[1]: jellyfin.service: Failed with result 'resources'.
    May 16 18:44:35 localhost systemd[1]: Failed to start Jellyfin Media Server.

    [Image: rMeOYbU.png]

    I am really unsure of what to do next. I have 200 GB available space, and I have 10 GB available ram. Even then It shows this error. What should I do?
    [Image: mdB4D0s.png]
    [Image: pSosiuc.png]
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-16, 11:08 PM
    Shot in the dark. Are you running Emby? If so, that uses the same port as Jellyfin and Jellyfin can't start.

    If not, run this command to get more info.

    Code:
    sudo journalctl -u jellyfin

    This will put you in a text editor like interface for Jellyfin's logs. Press shift+g to go to the bottom. Copy and paste the last ~100 lines into pastebin then share the link.
    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]
    kavkya
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    #3
    2024-05-16, 11:30 PM (This post was last modified: 2024-05-16, 11:33 PM by kavkya. Edited 1 time in total.)
    Thank you for your reply. Journalctl gave me a lot of information that I did not realize was relevant here. I had a previous installation of jellyfin, that I had screwed up a long time ago. In the meanwhile I pretty much stopped using it too because I had storage issues. One of my hard drives failed. So I tried to reset everything I could, I removed every single folder called jellyfin from my disk, uninstall and reinstalled it as well. It seems that I was unable to remove some files, because it kept looking for the old media directory I had which no longer exists. On top of that I think there are some other issues too. Here are the last few different errors I could find:
    https://pastebin.com/eCwPqESx.

    This was the error I was seeing on the beginning lines of journalctl:
    https://pastebin.com/nSQdzwGS

    This is also some error I was randomly reading through:
    https://pastebin.com/2uKD7MvD

    I apologize for giving you so much stuff to read, I dont understand a lot of what is exactly going on here. I am not a very advanced user, I apologize if I am making a dumb mistake here.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-16, 11:39 PM
    First, going back to your old log, looks like you were trying to host your media in your home directory. Don't do that. A) the jellyfin user doesn't have permissions to read your home directory and B) you should never make changes to give ANY other user permissions to read your home directory. If you have files that a service user needs, move it somewhere else like /media or something.

    Just pointing that out so you don't make the same mistake after we get you sorted out.

    As for the current problem, it looks like you have leftover files. If you don't have reason to keep the old jellyfin files and configs, lets do a clean slate. Follow these directions if you are ok with that. This will involve uninstalling Jellyfin to make sure file permissions are reset.

    Code:
    sudo apt purge jellyfin*
    sudo rm -rf /var/lib/jellyfin /var/log/jellyfin /etc/jellyfin /var/cache/jellyfin
    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

    That should set you up with a fresh install.
    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]
    kavkya
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    #5
    2024-05-17, 01:43 PM
    Hey, I really appreciate you helpng me out. The only problem is that this is not fully cleaning up my install for some reason. after all the installation I even did this command:

    Code:
    sudo find / -type f -name '*jellyfin*' -exec rm -r {} +

    to remove all files and similarly folders as well.  Anyway, it does startup now, but it looks like there's some issue I am still facing because this is what I see at my localhost screen:

    [Image: 7n1iexA.png]

    If I try to connect to one of them, I am met with this screen:
    [Image: F2oJVit.png]
    "We're unable to connect to the selected server right now. Please ensure it is running and try again."

    Could it be that there are config files still left or something? Here is the journalctl log:
    https://pastebin.com/L75wfef0

    Once again, thanks a lot for your help
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-05-17, 02:34 PM
    Clear your browser cache. Jellyfin-web caches aggressively in your browser. Setting up a new server, even on the same machine, generates new UUIDs and other things.

    Clearing your browser cache should resolve this.
    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]
    kavkya
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    #7
    2024-05-17, 02:50 PM
    Everthing has been fixed.. Thanks!
    « 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