• 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 server won't start

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin server won't start

    Screwed up, now my install is ruined
    jibarofoss
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2023 Nov
    Reputation: 0
    #1
    2023-11-13, 02:18 AM
    I was using the old jellyfin-bin packages from AUR. I noticed that the packages were out of date, so I moved to the ones from the official repo after the git versions from AUR failed to install. I tried installing the git version today and it completed the install. When I tried opening the localhost web page, it hung on the splash screen, so I uninstalled them and moved back to the official repo version. Now jellyfin won't start up. After making sure the systemd services were running, I tried running
    Code:
    sudo -u jellyfin /usr/bin/jellyfin start
    and got the following output: 
    Code:
    Unhandled Exception
    System.UnauthorizedAccessException: Access to the path '/home/jibarofoss/jellyfin' is denied.
    ---> System.IO.IOException: Permission denied
      --- End of inner exception stack trace ---
      at System.IO.FileSystem.CreateDirectory(String fullPath)
      at System.IO.Directory.CreateDirectory(String path)
      at Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
      at Jellyfin.Server.Program.StartApp(StartupOptions options)
      at Jellyfin.Server.Program.<Main>(String[] args)
    Unhandled exception. System.UnauthorizedAccessException: Access to the path '/home/jibarofoss/jellyfin' is denied.
    ---> System.IO.IOException: Permission denied
      --- End of inner exception stack trace ---
      at System.IO.FileSystem.CreateDirectory(String fullPath)
      at System.IO.Directory.CreateDirectory(String path)
      at Jellyfin.Server.Program.CreateApplicationPaths(StartupOptions options)
      at Jellyfin.Server.Program.StartApp(StartupOptions options)
      at Jellyfin.Server.Program.<Main>(String[] args)
    It appears that when I upgraded to the git version, it either tried creating something on my home directory and failed or deleted something from my home directory. What config file do I check to solve this? If not, what directories should I remove so I can get my install working again?
    Go to solution
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2023-11-13, 02:23 AM
    that snippet indicates jellyfin doesn't have access to that folder

    the next step would be to verify ownership of that folder; if not jellyfin then chown as needed

    ls -la /home/jibarofoss/jellyfin

    however, being in the home directory of 'jibarofoss' it probably isn't owned by 'jellyfin'

    is that even where it should be located?
    jibarofoss
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2023 Nov
    Reputation: 0
    #3
    2023-11-13, 02:27 AM (This post was last modified: 2023-11-13, 02:30 AM by jibarofoss.)
    So I tried reinstalling jellyfin git and this time it seems to have worked. For some reason, I'm now locked out of the server. My username no longer works (I had a blank password). How do I fix this? To answer your question, It's not where it should be located at all. Clearly the git version of jellyfin changed some stuff around.

    To give some more context, the jellyfin app on my android tv says the server hasn't completed being set up and that I should sign in to the server. But I can't sign in with my old credentials.
    jibarofoss
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2023 Nov
    Reputation: 0
    #4
    2023-11-13, 02:32 AM
    I restarted the service. Looks like jellyfin reset my entire config. RIP.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #5
    2023-11-13, 02:34 AM
    yea sounds like it boned the configuration directories

    indicated by trying to load config from the wrong folder
    old credentials which should be in the old config folder are not working

    see https://jellyfin.org/docs/general/installation/linux

    https://aur.archlinux.org/packages/jellyfin-git

    and most importantly https://aur.archlinux.org/cgit/aur.git/t...llyfin-git

    which shows that you need to locate 'jellyfin.conf' which has your paths for data and config
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #6
    2023-11-13, 02:55 AM
    ah you solved it while i was trying to lookup where arch stores jellyfin.conf

    trying to figure out who's a "linux user" and who's just a "user using linux" when responding on a forum isn't easy

    best wishes on your future endeavors
    jibarofoss
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2023 Nov
    Reputation: 0
    #7
    2023-11-13, 04:49 AM
    (2023-11-13, 02:55 AM)tmsrxzar Wrote: ah you solved it while i was trying to lookup where arch stores jellyfin.conf

    trying to figure out who's a "linux user" and who's just a "user using linux" when responding on a forum isn't easy

    best wishes on your future endeavors

    I found a jellyfin.conf in /usr/lib/tmpfiles.d whose contents are:
    Code:
    d /var/cache/jellyfin 0755 jellyfin jellyfin -
    d /var/lib/jellyfin 0755 jellyfin jellyfin -
    I also found one in /usr/lib/sysusers.d and contains:
    Code:
    u jellyfin - "Jellyfin Media Server" /var/lib/jellyfin
    « 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