• 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 What are the conditions under which Jellyfin will delete a TV Show folder?

     
    • 0 Vote(s) - 0 Average

    What are the conditions under which Jellyfin will delete a TV Show folder?

    Missing several tv series. Suspect Jellyfin.
    Archontes
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #1
    2023-11-27, 05:56 PM
    I have experienced an issue wherein several of my TV series folders have been deleted.

    The only plausible explanation that I have is to attribute it to an interaction I had through the android TV client; I used the client to delete a series, and when it didn't apparently delete relatively quickly, I repeated the instruction a couple times, and it seems that the instruction was carried out for each time I issued the instruction, but on a TV series folder at random.

    Does anyone have any thoughts on that?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2023-11-27, 06:15 PM (This post was last modified: 2023-11-27, 06:26 PM by tmsrxzar. Edited 1 time in total.)
    ??? jellyfin nor jellyfin android tv have the capability to delete anything, what is it you actually did?
    Archontes
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #3
    2023-11-27, 06:20 PM
    https://www.reddit.com/r/jellyfin/commen...ete_media/

    You can configure a user to be able to delete media. For the record, I *do* want the ability to delete media. But I can assure the forum that I didn't issue a specific request to delete media that has been deleted, so I suspect I'm hunting down a bug.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #4
    2023-11-27, 06:28 PM
    my mistake i went back and looked and it is apparently possible i have just never enabled it (and actually have the mounts in docker "ro")

    recommend managing files from any number of available administration tools and techniques external to jellyfin
    Archontes
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #5
    2023-11-27, 07:59 PM
    So your recommendation is, "Stop wanting that feature to work correctly"?

    Thanks.

    Does anyone else find the behavior of deleting multiple different folders as a result of iterated requests for a single folder deletion plausible?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #6
    2023-11-28, 04:02 PM (This post was last modified: 2023-11-28, 04:04 PM by Efficient_Good_5784. Edited 2 times in total.)
    Jellyfin should only delete everything under what you deleted.

    As in (for TV shows at least):
    • Delete an episode --> single episode deleted
    • Delete a season folder --> season and all episodes in it deleted
    • Delete a show --> all seasons and episodes in show is deleted

    What you're describing with having your tv shows/series disappear at random doesn't seem possible to me. With my experience with software coding, one of the people that wrote the code to delete things in Jellyfin would have had to purposely written code that selects series at random for that effect to happen when you spam the delete button. Or at the very least, the developer would have had to link the delete function to a function that random selects a show when you delete a non-existing show.

    I would look elsewhere for this. Do you have other services running that have access to your media folders and can modify/delete media? Any Jellyfin plugins that do the same?

    Finally, it's up to you how you run your server. Like tmsrxzar pointed out, many people like to make their media folders read only for Jellyfin so that their media server doesn't mess with their files. You gain security among those files at the expense of functionality. I even remember reading threads in the past about people debating on the delete option within Jellyfin being needed. Jellyfin's main goal isn't to become a file manager for your media, but to serve it to you with metadata and some level of organization.

    I personally have all metadata saved along with my media files, so I can't set them to read only, but I would if that wasn't the case. You can also avoid this issue by keeping a backup of your files that you don't want to lose (and enable snapshots if your file system supports that).
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2023-11-28, 05:29 PM (This post was last modified: 2023-11-28, 07:38 PM by TheDreadPirate. Edited 1 time in total.)
    There are some edge cases. Did you change the jellyfin cache or transcode path? If you co-located your library with your cache or transcode directory, the clean up jobs for both will recursively delete everything in the path.
    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]
    Archontes
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #8
    2023-11-28, 06:05 PM (This post was last modified: 2023-11-28, 06:12 PM by Archontes. Edited 2 times in total.)
    Efficient_Good_5784: I can imagine implementations that would not intentionally delete a folder at random. Say if you had an array of paths and the command simply got the item from that index number multiple times. As the command is repeated, the item in that array index changes as the array changes.

    I have no other services that have access to that media folder. I did have to reinstall the jellyfin server docker container in order to update it as a consequence of TrueNAS Scale issuing a breaking update. I noticed the folders had been deleted when spinning up the fresh replacement install of jellyfin server. I don't suspect that installing it caused the issue, but I suppose it's possible. Edit: I should note that at the time of issuing multiple commands I noticed that three folders had ultimately been deleted. On the later day reinstalling I noticed a few more folders on top of that.

    TheDreadPirate: I think I *did* change my jellyfin cache path, but it's adjacent to the media folder, e.g. /mnt/NAS/cache, /mnt/NAS/media.

    Tomorrow I'll set up a test media library and attempt to replicate the issue.

    Another thing that is suggestive to me is that one never receives a message or indication that a folder targeted for deletion has already been deleted or cannot be found.
    frayedwire
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Apr
    Reputation: 0
    Country:Canada
    #9
    2024-04-05, 06:49 AM
    I'm new here and this thread is a few months old, but this exact thing happened to me and confounded me tonight.

    In chromecast with google tv I clicked delete on an episode of a show I had finished watching. It seemed to not work (nothing happened and delete was still highlighted) so I clicked delete again. It deleted the entire show folder including all other episodes from the directory AND deleted at least one other entire show folder and all episodes for a different show as well.

    I haven't determined if it deleted more than just those two because there may be some I'm forgetting, but they're gone from the universe and not in recycle bin or anything (this is the MO of all Jellyfin deletes so not surprising).

    Anyway I'm not well versed in this stuff, but figured I'd add my similar anecdote to the pile.
    « 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