• 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: UnauthorizedAccessException: Access to the path '/etc/jellyfin/loggi (truncated)

     
    • 0 Vote(s) - 0 Average

    SOLVED: UnauthorizedAccessException: Access to the path '/etc/jellyfin/loggi (truncated)

    iwally
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:Italy
    #1
    2024-09-01, 04:22 PM
    Hello folks,
    I am a newbie of JellyFin, so please understand my lack of experience.

    Just installed on Debian 12, from extrepo, but I am unable to start jellyfin.service. The installation was done with roor (sudo su)
    These are the outcomes from

    Code:
    journalctl -xeu jellyfin

    result:

    Code:
    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.
    Sep 01 18:01:49 iWallyHP 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 4058 and the job result is done.
    Sep 01 18:01:49 iWallyHP systemd[1]: jellyfin.service: Start request repeated too quickly.
    Sep 01 18:01:49 iWallyHP 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'.
    Sep 01 18:01:49 iWallyHP 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 4058 and the job result is failed.

    Then I tried with

    Code:
    journalctl -u jellyfin

    which said

    Code:
    Sep 01 18:01:48 iWallyHP systemd[1]: Started jellyfin.service - Jellyfin Media Server.
    Sep 01 18:01:48 iWallyHP jellyfin[22760]: Unhandled exception. System.UnauthorizedAccessException: Access to the path '/etc/jellyfin/loggin>
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:  ---> System.IO.IOException: Permission denied
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    --- End of inner exception stack trace ---
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, B>
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess >
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess acce>
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, >
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, >
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at Jellyfin.Server.Helpers.StartupHelpers.InitLoggingConfigFile(IApplicationPaths appPaths)
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at Jellyfin.Server.Helpers.StartupHelpers.InitLoggingConfigFile(IApplicationPaths appPaths)
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    Sep 01 18:01:48 iWallyHP jellyfin[22760]:    at Jellyfin.Server.Program.<Main>(String[] args)
    Sep 01 18:01:48 iWallyHP systemd[1]: jellyfin.service: Main process exited, code=killed, status=6/ABRT
    Sep 01 18:01:48 iWallyHP systemd[1]: jellyfin.service: Failed with result 'signal'.
    Sep 01 18:01:49 iWallyHP systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Sep 01 18:01:49 iWallyHP systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
    Sep 01 18:01:49 iWallyHP systemd[1]: jellyfin.service: Start request repeated too quickly.
    Sep 01 18:01:49 iWallyHP systemd[1]: jellyfin.service: Failed with result 'signal'.
    Sep 01 18:01:49 iWallyHP systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.

    So I went to see the directory:

    Code:
    root@iWallyHP:/etc/jellyfin# ls -l
    total 4
    -rw-r--r-- 1 root root 1040 Aug 25 08:35 logging.json

    Any idea what I did wrong and how to correct?
    Thanks in advance

    Wally
    Go to solution
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    UnauthorizedAccessException: Access to the path '/etc/jellyfin/loggi (truncated) - by iwally - 2024-09-01, 04:22 PM
    RE: UnauthorizedAccessException: Access to the path '/etc/jellyfin/loggi (truncated) - by TheDreadPirate - 2024-09-01, 04:30 PM
    RE: UnauthorizedAccessException: Access to the path '/etc/jellyfin/loggi (truncated) - by iwally - 2024-09-01, 05:03 PM
    RE: UnauthorizedAccessException: Access to the path '/etc/jellyfin/loggi (truncated) - by bblood1003 - 2024-09-01, 10:34 PM

    • 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