Jellyfin Forum
Jellyfin looking in wrong directory - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin looking in wrong directory (/t-jellyfin-looking-in-wrong-directory)



Jellyfin looking in wrong directory - enzomtp - 2023-09-07

Hi ! Im having an issue were jelly won't start, i looked up the logs and saw this :
Code:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\ProgramData\Jellyfin\Server\metadata'.
  at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
  at System.IO.Directory.CreateDirectory(String path)
  at Emby.Server.Implementations.Configuration.ServerConfigurationManager.UpdateMetadataPath()
  at Emby.Server.Implementations.Configuration.ServerConfigurationManager..ctor(IApplicationPaths applicationPaths, ILoggerFactory loggerFactory, IXmlSerializer xmlSerializer, IFileSystem fileSystem)
  at Emby.Server.Implementations.ApplicationHost..ctor(IServerApplicationPaths applicationPaths, ILoggerFactory loggerFactory, IStartupOptions options, IConfiguration startupConfig)
  at Jellyfin.Server.CoreAppHost..ctor(IServerApplicationPaths applicationPaths, ILoggerFactory loggerFactory, IStartupOptions options, IConfiguration startupConfig)
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
  at Jellyfin.Server.Program.<Main>(String[] args)


Jellyfin is looking up the matadata in a disk that doesn't exists anymore (i moved jellyfin), i read on github i could fix it, but i didn't find the metadata thing.
Does anyone know where is the metadata thingy ?

Thank you in advance !
Your cordialities
- enzomtp


RE: Jellyfin looking in wrong directory - paulc - 2023-09-07

Manually edit the system.xml file and look for the line that says:
Code:
<MetadataPath>E:\ProgramData\Jellyfin\Server\metadata</MetadataPath>
 Change it where you want it to be.


RE: Jellyfin looking in wrong directory - enzomtp - 2023-09-07

(2023-09-07, 09:22 PM)paulc Wrote: Manually edit the system.xml file and look for the line that says:
Code:
<MetadataPath>E:\ProgramData\Jellyfin\Server\metadata</MetadataPath>
 Change it where you want it to be.

Wow thanks you a lot ! It worked ! But all the users i had disapeared, do you know why ? And by any chance do you know how to get them back ?


RE: Jellyfin looking in wrong directory - TheDreadPirate - 2023-09-07

If your registry go to

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Jellyfin\Server

The DataFolder value should be set to your new path.