2025-07-09, 06:32 PM
I moved my data directory from D:\ProgramData\Jellyfin\Server to C:\ProgramData\Jellyfin\Server and used the datadir option on the service command line. In order to take advantage of an SSD drive.
Most of Jellyfin seems to be working okay, for example logs now go to the new drive and I can playback just fine. Unfortunately it is not indexing new shows (or movies or music) if I look in the log file I see the error below. Is there a job I can run to fix these hardcoded paths?
Version info:
Server version 10.10.6
Web version 10.10.6 (c335a3024)
Build version 10.10.6
Running on Windows 10
Thanks, Dan
----------- Detailed Error -------------------
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\ProgramData\Jellyfin\Server\root\default\Shows'.
at System.IO.Enumeration.FileSystemEnumerator
at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.RefreshChildMetadata(BaseItem child, MetadataRefreshOptions refreshOptions, Boolean recursive, IProgress
Most of Jellyfin seems to be working okay, for example logs now go to the new drive and I can playback just fine. Unfortunately it is not indexing new shows (or movies or music) if I look in the log file I see the error below. Is there a job I can run to fix these hardcoded paths?
Version info:
Server version 10.10.6
Web version 10.10.6 (c335a3024)
Build version 10.10.6
Running on Windows 10
Thanks, Dan
----------- Detailed Error -------------------
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\ProgramData\Jellyfin\Server\root\default\Shows'.
at System.IO.Enumeration.FileSystemEnumerator
1.Init()
at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at MediaBrowser.Controller.Providers.DirectoryService.<>c.<GetFileSystemEntries>b__5_0(String p, IFileSystem fileSystem)
at MediaBrowser.Controller.IO.FileData.GetFilteredFileSystemEntries(IDirectoryService directoryService, String path, IFileSystem fileSystem, IServerApplicationHost appHost, ILogger logger, ItemResolveArgs args, Int32 flattenFolderDepth, Boolean resolveShortcuts)
at MediaBrowser.Controller.Entities.CollectionFolder.CreateResolveArgs(IDirectoryService directoryService, Boolean setPhysicalLocations)
at MediaBrowser.Controller.Entities.CollectionFolder.RequiresRefresh()
at MediaBrowser.Providers.Manager.MetadataService
2.RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken)at MediaBrowser.Controller.Entities.BaseItem.RefreshMetadata(MetadataRefreshOptions options, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.RefreshChildMetadata(BaseItem child, MetadataRefreshOptions refreshOptions, Boolean recursive, IProgress
1 progress, CancellationToken cancellationToken)
at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass69_0
1.<<RunTasks>b__1>d.MoveNext()<<RunTasks>b__1>d.MoveNext()