• 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 Moved data directory using datadir option, some bits not working...

     
    • 0 Vote(s) - 0 Average

    Moved data directory using datadir option, some bits not working...

    Dan Challis
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    #1
    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.FileSystemEnumerator1.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, IProgress1 progress, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass69_0
    1.<<RunTasks>b__1>d.MoveNext()<<RunTasks>b__1>d.MoveNext()
    niels
    Offline

    Core Team

    Posts: 271
    Threads: 4
    Joined: 2023 Jun
    Reputation: 15
    Country:Netherlands
    #2
    2025-07-09, 06:36 PM
    Jellyfin does not currently support moving your data as it relies on absolute paths in parts of the database and config files.
    [Image: GitHub%20Sponsors-grey?logo=github] [Image: Buy%20Me%20a%20Coffee-grey?logo=buymeacoffee]
    Dan Challis
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    #3
    2025-07-10, 01:46 PM
    (2025-07-09, 06:36 PM)niels Wrote: Jellyfin does not currently support moving your data as it relies on absolute paths in parts of the database and config files.

    Thanks for your help.

    I wonder what the point of the datadir directive and/or registry entry is, if the developers are just going to hardcode paths in the database?

    If I need to get the programdata directory onto my SSD, then I guess the only option is a reinstall?
    « 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