• 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 Folder wipe issue

     
    • 0 Vote(s) - 0 Average

    Folder wipe issue

    When the last media file in a folder is deleted, folder is wiped including subdirectories.
    solitonthe3rd
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 May
    Reputation: 0
    Country:Czech Republic
    #1
    2025-05-10, 11:08 PM
    Hi, I have encountered some unexpected behavior while deleting video files via the Jellyfin webclient.

    It only seems to happen in a specific scenario where there is only a single video file left in the directory for example like this:

    \home\main_directory\video1.mp4
    \home\main_directory\sub_directory\video2.mp4

    Now if I delete video1.mp4, the whole main_directory gets deleted including whatever is left in sub_directory.
    This doesn't seem to happen if there are more video files in main_directory, but there can be more subdirectories, and stuff inside them seem to not matter.

    I tried to replicate the folder structure as described and rescanned, and this is what basically happens:
    [2025-05-11 00:51:59.955 +02:00] [INF] [14] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Video", Name: "video1", Path: "/media/home/main_directory/video1.mp4", Id:...
    [2025-05-11 00:51:59.960 +02:00] [INF] [14] Emby.Server.Implementations.Library.LibraryManager: Deleting item path, Type: "Video", Name: "video1", Path: "/media/home/main_directory", Id:...

    video2.mp4 will still be shown in the Library, but unplayable, because it's gone.

    Is there a setting to prevent this or is this a bug?

    I am running Linux docker v10.10.7, using the web client.

    Thanks in advance,
    S
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,021
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #2
    Yesterday, 12:35 AM
    What was the name of the sub directory?
    solitonthe3rd
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 May
    Reputation: 0
    Country:Czech Republic
    #3
    Yesterday, 10:07 PM
    All the names are as stated in the example. As for when this happened the first time, I have no clue anymore since it got wiped (probably something like "\compressed 4k\").
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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