• 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 Server won't start unless run by administrator

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Jellyfin Server won't start unless run by administrator

    Jellyfin Server won't start unless run by administrator
    drnickriviera
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #1
    2023-11-28, 05:01 PM
    I know I'm not the first person to have this issue, but I haven't been able to determine the solution so I'm hoping someone can help me out. I've used Jellyfin for a couple of years without issue. I had to reinstall a couple of months ago and now I have this problem (Windows 11 standard install - not a service install, latest version). The Jellyfin server will not start unless I run the trayapp executable as administrator. I can run the trayapp executable and it will show up in the tray but the server does not start. If I try to manually start the server it does not start. There are no errors in the Jellyfin log or the Windows application log. However, if I run the executable as Administrator then everything works fine. But that's a pain because I want Jellyfin to start with the PC.

    It seems to me that there is an easy solution to this that I just have not discovered yet. I made sure the user running Jellyfin has FULL access to everything in the Program Data\Jellyfin\Server directory and its subdirectories. 

    I tried upgrading to the latest version but that did not solve the problem.

    What else can I try?

    Thanks in advance!
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2023-11-28, 05:05 PM
    start in jellyfin logs, windows logs; can be pretty confident that the user does not have access to something jellyfin needs

    in a single user environment uac is useless in my opinion and usually the 2nd or 3rd thing disabled; https://www.howtogeek.com/247/disable-us...n-windows/
    drnickriviera
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #3
    2023-11-28, 06:07 PM
    I tried disabling UAC but it had no effect. The server still does not start unless I run as administrator.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #4
    2023-11-28, 06:10 PM
    and what about the logs?
    drnickriviera
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #5
    2023-11-28, 06:28 PM
    Right clicking on the tray icon and going to "Show Logs" gives me the Jellyfin log files but there are no entries for when I run the executable (i.e. I ran it at 1:22 PM but there are not entries for 1:22 PM or beyond).

    Ditto for the Windows application log. It shows nothing at all for 1:22 PM.

    The tray icon DOES open, it just doesn't (and can't) start the server.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #6
    2023-11-28, 06:36 PM
    ok since you're not giving me anything to work with here's my last idea (doesn't mean others don't have some)

    https://www.itpro.com/software/367829/ho...on-windows
    drnickriviera
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #7
    2023-11-28, 06:47 PM
    Thank you. I was aware that I can set the program to always run as administrator but then I get the Admin popup at system startup. This can be bypassed by disabling UAC but I'd rather not turn UAC off completely just for Jellyfin if I don't have to (seems to be a security risk).

    It seems to me that turning on the server must be attempting to write to a directory outside of Program Data\Jellyfin\Server because I gave everyone full access to that folder and its subs.

    Any thoughts on where else Jellyfin could be trying to write to when starting up the server?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #8
    2023-11-28, 06:52 PM
    i don't actually know what else it might be trying to write; i was hoping the log would show that
    could also be only administrator is allowed to create listening sockets; not aware of any mechanisms that prevent this but i also dont have evidence to the contrary either
    Love For Chubby Cheeks
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Oct
    Reputation: 0
    #9
    2024-10-30, 01:18 PM
    It appears jellyfin requires admin permissions if it is installed in the default location under C:\Program Files.

    If we install it under the user folder (usually under C:\Users), jellybin no longer requires admin rights.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-10-30, 01:33 PM
    Yes. That is expected.
    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]
    1
    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