Items deleted from the file system remain visible in Jellyfin after library scan #7708

Closed
opened 2026-02-07 05:21:04 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @nothing2obvi on GitHub (Nov 6, 2025).

Description of the bug

When media files or entire movie folders are deleted from the underlying file system, Jellyfin does not automatically remove them from the library after a “Scan library files” operation. The deleted items continue to appear in the Movies library and remain playable (until clicked), forcing users to manually remove them through the Jellyfin web interface.

This behavior suggests that the file scanner is not properly verifying file existence or cleaning up missing entries during normal scans.

Reproduction steps

  1. Add a movie to a Jellyfin library (e.g., /Volumes/Media/Movies/MovieName/MovieName.mkv).
  2. Confirm it appears in the Jellyfin web UI.
  3. Delete the movie file or the entire MovieName folder from the file system.
  4. In the Jellyfin dashboard, run Scan Library Files on the affected library.
  5. Refresh the library in the web UI.

What is the current bug behavior?

  • The deleted movie still appears in the library.
  • Attempting to play it results in an error
  • The item remains listed until manually deleted from the server via right-click → Delete from library.

What is the expected correct behavior?

  • Jellyfin should detect that the corresponding file or folder no longer exists on disk during the next library scan.
  • The missing item should automatically be removed from the library database without requiring manual deletion.

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.11.2

Environment

- OS: macOS Tahoe 26.1.0
- Linux Kernel:
- Virtualization: None
- Clients: Web
- Browser: Chrome
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking: Local
- Jellyfin Data Storage:
- Media Storage:
- External Integrations:

Jellyfin logs

n/a

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @nothing2obvi on GitHub (Nov 6, 2025). ### Description of the bug When media files or entire movie folders are deleted from the underlying file system, Jellyfin does not automatically remove them from the library after a “Scan library files” operation. The deleted items continue to appear in the Movies library and remain playable (until clicked), forcing users to manually remove them through the Jellyfin web interface. This behavior suggests that the file scanner is not properly verifying file existence or cleaning up missing entries during normal scans. ### Reproduction steps 1. Add a movie to a Jellyfin library (e.g., /Volumes/Media/Movies/MovieName/MovieName.mkv). 2. Confirm it appears in the Jellyfin web UI. 3. Delete the movie file or the entire MovieName folder from the file system. 4. In the Jellyfin dashboard, run Scan Library Files on the affected library. 5. Refresh the library in the web UI. ### What is the current _bug_ behavior? - The deleted movie still appears in the library. - Attempting to play it results in an error - The item remains listed until manually deleted from the server via right-click → Delete from library. ### What is the expected _correct_ behavior? - Jellyfin should detect that the corresponding file or folder no longer exists on disk during the next library scan. - The missing item should automatically be removed from the library database without requiring manual deletion. ### Jellyfin Server version 10.10.0+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.11.2 ### Environment ```markdown - OS: macOS Tahoe 26.1.0 - Linux Kernel: - Virtualization: None - Clients: Web - Browser: Chrome - FFmpeg Version: - Playback Method: - Hardware Acceleration: - GPU Model: - Plugins: - Reverse Proxy: - Base URL: - Networking: Local - Jellyfin Data Storage: - Media Storage: - External Integrations: ``` ### Jellyfin logs ```shell n/a ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
OVERLORD added the bugduplicate labels 2026-02-07 05:21:04 +03:00
Author
Owner

@Jisagi commented on GitHub (Nov 6, 2025):

Can confirm this as well, but probably a duplicate or at least related to https://github.com/jellyfin/jellyfin/issues/15343

@Jisagi commented on GitHub (Nov 6, 2025): Can confirm this as well, but probably a duplicate or at least related to https://github.com/jellyfin/jellyfin/issues/15343
Author
Owner

@theguymadmax commented on GitHub (Nov 7, 2025):

Closing as a duplicate of #15384

@theguymadmax commented on GitHub (Nov 7, 2025): Closing as a duplicate of #15384
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#7708