recettes/Homelab/Troubleshooting/Jellyfin can't scan movies folder.md
gribse ecdfa2f7c4 Squashed 'temp-repo/' content from commit 6688605
git-subtree-dir: temp-repo
git-subtree-split: 6688605ad41f49d1eccead8d29421c658cad0100
2025-10-06 19:14:58 +02:00

1.8 KiB
Executable file
Raw Blame History

type
problem

Problem

When I try to scan the /movies library, it fails with this in the log :

[13:43:24] [ERR] [50] MediaBrowser.Controller.Entities.BaseItem: Error retrieving children folder
System.IO.FileNotFoundException: Can't find item path.
File name: '/movies/Pok<6F>mon.Detective.Pikachu.2019.720p.BluRay.x264-[YTS.LT].mp4'
   at Emby.Server.Implementations.Library.ResolverHelper.SetInitialItemValues(BaseItem item, Folder parent, ILibraryManager libraryManager, IDirectoryService directoryService)
   at Emby.Server.Implementations.Library.LibraryManager.ResolvePaths(IEnumerable`1 files, IDirectoryService directoryService, Folder parent, LibraryOptions libraryOptions, String collectionType, IItemResolver[] resolvers)
   at Emby.Server.Implementations.Library.LibraryManager.ResolvePaths(IEnumerable`1 files, IDirectoryService directoryService, Folder parent, LibraryOptions libraryOptions, String collectionType)
   at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)

The pokemon movie does not exist anymore.

What I tried

Deleting the movie

But I cant find it. Maybe it's in the db but not in the files ? A link said a refresh should correct this issue. Maybe it doesn't because there a "é" in the name ?

Recreating a fresh install of jellyfin

I created jellyfin2

Same problem. So should not be a db issue, i guess. Where is it getting the pokemon idea from ?

Solution

created empty text files with the exact name found in the logs so it could go though the import process. I cannot delete the movies from jellyfin though, or else it breaks again.