• 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 General Questions Bug with startup and playlists

     
    • 0 Vote(s) - 0 Average

    Bug with startup and playlists

    Bug with startup and playlists
    mjremijan
    Offline

    Junior Member

    Posts: 14
    Threads: 6
    Joined: 2025 Jun
    Reputation: 0
    Country:United States
    #1
    2026-11-03, 02:58 AM
    For Jellyfin, how do I report a bug? I've found some behavior which I don't think is correct.

    I run Jellyfin on Unbuntu using VirtualBox on a Windows host. In this VM, I mount Windows host directories which is where my MP3 library resides.

    Recently, I started noticing that for all my playlists the items in the playlists were disappearing. The playlists themselves where still there, they just didn't have any tracks assigned to them. This is really strange because I know the playlists had tracks.

    Looking at the logs, I see the following:

    Code:
    [2026-11-01 01:37:06.962 -05:00] [INF] Running startup tasks                                                         
    [2026-11-01 01:37:06.944 -05:00] [ERR] Permission error for Directory watcher: "/media/sf_music"                     
    System.UnauthorizedAccessException: Access to the path '/media/sf_music' is denied.                                 
    ---> System.IO.IOException: Permission denied                                                                       
      --- End of inner exception stack trace ---                                                                                                         
    [2026-11-01 01:37:07.013 -05:00] [INF] Watching directory "/media/sf_music"                                         
    ...      
    [2026-11-01 01:37:15.497 -05:00] [INF] Item in "The Eras Tour" cannot be found at "/media/sf_music/Taylor Swift/Lover/07 Miss Americana & the Heartbreak Prince.mp3"
    ...

    The "cannot be found" errors continue for all of the tracks in the playlist.  What it looks like Jellyfin is doing is it's deciding to remove the track from the playlist if it can't find it.  I think this is a bug.  Jellyfin shouldn't be altering my playlists for me.  Yes, if a file disappears that's a problem and it won't play, but it should be up to me to edit my playlist, not Jellyfin.

    NOTE: I am working on managing the Linux startup to endure the mounted directories are available before Jellyfin starts. This makes sense, however, I still think it's wrong for Jellyfin to decide to blow away all my playlist tracks. Luckily I don't have that many playlists so it's not a problem to recreate them, but I can see how this can be disasterous.
    mjremijan
    Offline

    Junior Member

    Posts: 14
    Threads: 6
    Joined: 2025 Jun
    Reputation: 0
    Country:United States
    #2
    2026-11-03, 02:58 PM (This post was last modified: 2026-11-03, 02:59 PM by mjremijan. Edited 1 time in total.)
    I have a work around for my specific case.

    Again, I am running Jellyfin on Unbuntu using VirtualBox on a Windows host. My MP3 library is on the Windows host so I use VirtualBox Guest Additions to mount a Windows directory inside the Ubuntu VM. The work around is to edit the Jellyfin startup to wait until the VirtualBox Guest Additions service finish. To do that you need to:

    (1) open the jellyfin startup script in an editor
    systemctl edit jellyfin.service

    (2) Add the following configuration which will essentially wait for the vbox service to complete
    [Unit]
    Requires=vboxadd-service.service
    After=vboxadd-service.service

    (3) Reload the system daemon
    sudo systemctl daemon-reload

    After doing this, when I startup the VM, Jellyfin will wait for the mounts to become available and then continue with its startup.

    I'd note that this should only be considered a **work around**. I still think it's a bug that Jellyfin can blow away all the tracks configured in all your playlists during startup if something goes wrong and it can't find the media files.
    esjaysee
    Offline

    Member

    Posts: 65
    Threads: 4
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #3
    2026-11-05, 03:29 AM (This post was last modified: 2026-11-05, 03:29 AM by esjaysee. Edited 1 time in total.)
    Why are you doing it that way? Why?
    « 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


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode