• 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 JF failed to start due to missing log folder

     
    • 0 Vote(s) - 0 Average

    JF failed to start due to missing log folder

    JellyFin on Linux fails to start due to missing log folder
    Frank
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2025 Mar
    Reputation: 0
    Country:Thailand
    #1
    2026-06-04, 01:48 AM (This post was last modified: 2026-06-04, 01:50 AM by Frank. Edited 1 time in total.)
    Had this weird problem that JF from time to time failed to start on Linux Mint. 

    Turns out that I used Stacer to clean up my system which deleted the /var/log/jellyfin folder 
    causing JF failing to start. 

    No big deal to fix this (once you know the source prob) but imho why does JF not just create a missing log folder ?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,454
    Threads: 11
    Joined: 2023 Jun
    Reputation: 467
    Country:United States
    #2
    2026-06-04, 03:48 PM
    That folder is created during install by the root user. The default ownership of /var/log is root:root with 755 permissions. So only the root user can create new files and folders.
    Jellyfin 10.11.10 (Docker)
    Debian 13 w/Xanmod amd64v3 LTS kernel
    AMD Ryzen 5500 w/32GB DDR4
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    ZFS Storage pool
        vdev1 - 6x WD Red Pro 6TB CMR in RAIDZ1
        vdev2 - 3x WD Red Pro 18TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Frank
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2025 Mar
    Reputation: 0
    Country:Thailand
    #3
    2026-06-05, 12:35 AM
    I get it - thanks for your feedback.
    Its just so that JF not starting due to a missing log folder is something I did not expect from a sophisticated software like JF.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,454
    Threads: 11
    Joined: 2023 Jun
    Reputation: 467
    Country:United States
    #4
    2026-06-05, 02:28 AM (This post was last modified: 2026-06-05, 02:29 AM by TheDreadPirate. Edited 1 time in total.)
    Jellyfin, literally, doesn't have permission from the operating to recreate a folder that root originally created. Jellyfin runs as the low privilege "jellyfin" user and /var/log is a sensitive, highly privileged folder. Unless you change the permissions for /var/log (very much NOT recommended), the Jellyfin service will not start since /var/log/jellyfin is a required directory.

    This is done on purpose and is not an oversight. One of the double edged swords of Linux is that you are fully in control. But that also means there are no guard rails from mistakenly deleting stuff you shouldn't.
    Jellyfin 10.11.10 (Docker)
    Debian 13 w/Xanmod amd64v3 LTS kernel
    AMD Ryzen 5500 w/32GB DDR4
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    ZFS Storage pool
        vdev1 - 6x WD Red Pro 6TB CMR in RAIDZ1
        vdev2 - 3x WD Red Pro 18TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « 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