Jellyfin Forum
Issue - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: Issue (/t-issue--9759)



Issue - Thegreatant256 - 2024-12-24

Used it for years with no problem. Did my yearly fresh install of windows and after 2 weeks Jellyfin stopped working. If I uninstall and reinstall then Jellyfin will work for a while but then lose access to a specified path. I'm going to post the log so you can see for yourselves.



[2024-12-24 01:01:05.825 -05:00] [INF] [1] Main: Jellyfin version: "10.10.3"
[2024-12-24 01:01:05.838 -05:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-12-24 01:01:05.840 -05:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-12-24 01:01:05.841 -05:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22631"
[2024-12-24 01:01:05.842 -05:00] [INF] [1] Main: Architecture: X64
[2024-12-24 01:01:05.843 -05:00] [INF] [1] Main: 64-Bit Process: True
[2024-12-24 01:01:05.843 -05:00] [INF] [1] Main: User Interactive: True
[2024-12-24 01:01:05.844 -05:00] [INF] [1] Main: Processor count: 24
[2024-12-24 01:01:05.844 -05:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-12-24 01:01:05.845 -05:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-12-24 01:01:05.846 -05:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-12-24 01:01:05.846 -05:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-12-24 01:01:05.847 -05:00] [INF] [1] Main: Temp directory path: "C:\Users\tee03\AppData\Local\Temp\jellyfin"
[2024-12-24 01:01:05.847 -05:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-12-24 01:01:05.848 -05:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-12-24 01:01:05.898 -05:00] [FTL] [1] Main: Unhandled Exception
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Jellyfin\Server\config\migrations.xml' is denied.
  at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
  at Emby.Server.Implementations.Serialization.MyXmlSerializer.SerializeToFile(Object obj, String file)
  at Jellyfin.Server.Migrations.MigrationRunner.<>c__DisplayClass3_0.<RunPreStartup>b__1(MigrationOptions options)
  at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action
1 saveConfiguration, ILogger logger)
  at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
  at Jellyfin.Server.Program.<Main>(String[] args)
[2024-12-24 01:16:24.608 -05:00] [INF] [1] Main: Jellyfin version: "10.10.3"
[2024-12-24 01:16:24.623 -05:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-12-24 01:16:24.625 -05:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-12-24 01:16:24.626 -05:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22631"
[2024-12-24 01:16:24.627 -05:00] [INF] [1] Main: Architecture: X64
[2024-12-24 01:16:24.628 -05:00] [INF] [1] Main: 64-Bit Process: True
[2024-12-24 01:16:24.629 -05:00] [INF] [1] Main: User Interactive: True
[2024-12-24 01:16:24.629 -05:00] [INF] [1] Main: Processor count: 24
[2024-12-24 01:16:24.630 -05:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-12-24 01:16:24.631 -05:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-12-24 01:16:24.631 -05:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-12-24 01:16:24.632 -05:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-12-24 01:16:24.633 -05:00] [INF] [1] Main: Temp directory path: "C:\Users\tee03\AppData\Local\Temp\jellyfin"
[2024-12-24 01:16:24.634 -05:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-12-24 01:16:24.634 -05:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-12-24 01:16:24.683 -05:00] [FTL] [1] Main: Unhandled Exception
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Jellyfin\Server\config\migrations.xml' is denied.
  at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
  at Emby.Server.Implementations.Serialization.MyXmlSerializer.SerializeToFile(Object obj, String file)
  at Jellyfin.Server.Migrations.MigrationRunner.<>c__DisplayClass3_0.<RunPreStartup>b__1(MigrationOptions options)
  at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action
1 saveConfiguration, ILogger logger)
  at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
  at Jellyfin.Server.Program.<Main>(String[] args)
[2024-12-24 01:22:32.928 -05:00] [INF] [1] Main: Jellyfin version: "10.10.3"
[2024-12-24 01:22:32.937 -05:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-12-24 01:22:32.939 -05:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-12-24 01:22:32.940 -05:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22631"
[2024-12-24 01:22:32.941 -05:00] [INF] [1] Main: Architecture: X64
[2024-12-24 01:22:32.941 -05:00] [INF] [1] Main: 64-Bit Process: True
[2024-12-24 01:22:32.942 -05:00] [INF] [1] Main: User Interactive: True
[2024-12-24 01:22:32.943 -05:00] [INF] [1] Main: Processor count: 24
[2024-12-24 01:22:32.943 -05:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-12-24 01:22:32.944 -05:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-12-24 01:22:32.944 -05:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-12-24 01:22:32.945 -05:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-12-24 01:22:32.945 -05:00] [INF] [1] Main: Temp directory path: "C:\Users\tee03\AppData\Local\Temp\jellyfin"
[2024-12-24 01:22:32.946 -05:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-12-24 01:22:32.947 -05:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-12-24 01:22:32.987 -05:00] [FTL] [1] Main: Unhandled Exception
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Jellyfin\Server\config\migrations.xml' is denied.
  at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
  at Emby.Server.Implementations.Serialization.MyXmlSerializer.SerializeToFile(Object obj, String file)
  at Jellyfin.Server.Migrations.MigrationRunner.<>c__DisplayClass3_0.<RunPreStartup>b__1(MigrationOptions options)
  at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action
1 saveConfiguration, ILogger logger)
  at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
  at Jellyfin.Server.Program.<Main>(String[] args)
[2024-12-24 01:30:48.836 -05:00] [INF] [1] Main: Jellyfin version: "10.10.3"
[2024-12-24 01:30:48.849 -05:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-12-24 01:30:48.851 -05:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-12-24 01:30:48.852 -05:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22631"
[2024-12-24 01:30:48.853 -05:00] [INF] [1] Main: Architecture: X64
[2024-12-24 01:30:48.854 -05:00] [INF] [1] Main: 64-Bit Process: True
[2024-12-24 01:30:48.854 -05:00] [INF] [1] Main: User Interactive: True
[2024-12-24 01:30:48.855 -05:00] [INF] [1] Main: Processor count: 24
[2024-12-24 01:30:48.856 -05:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-12-24 01:30:48.857 -05:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-12-24 01:30:48.857 -05:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-12-24 01:30:48.858 -05:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-12-24 01:30:48.859 -05:00] [INF] [1] Main: Temp directory path: "C:\Users\tee03\AppData\Local\Temp\jellyfin"
[2024-12-24 01:30:48.859 -05:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-12-24 01:30:48.860 -05:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-12-24 01:30:49.114 -05:00] [FTL] [1] Main: Unhandled Exception
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Jellyfin\Server\config\migrations.xml' is denied.
  at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
  at Emby.Server.Implementations.Serialization.MyXmlSerializer.SerializeToFile(Object obj, String file)
  at Jellyfin.Server.Migrations.MigrationRunner.<>c__DisplayClass3_0.<RunPreStartup>b__1(MigrationOptions options)
  at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action
1 saveConfiguration, ILogger logger)
  at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
  at Jellyfin.Server.Program.<Main>(String[] args)
[2024-12-24 01:31:01.720 -05:00] [INF] [1] Main: Jellyfin version: "10.10.3"
[2024-12-24 01:31:01.728 -05:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-12-24 01:31:01.731 -05:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-12-24 01:31:01.732 -05:00] [INF] [1] Main: Operating system: "Microsoft Windows 10.0.22631"
[2024-12-24 01:31:01.733 -05:00] [INF] [1] Main: Architecture: X64
[2024-12-24 01:31:01.734 -05:00] [INF] [1] Main: 64-Bit Process: True
[2024-12-24 01:31:01.735 -05:00] [INF] [1] Main: User Interactive: True
[2024-12-24 01:31:01.736 -05:00] [INF] [1] Main: Processor count: 24
[2024-12-24 01:31:01.737 -05:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-12-24 01:31:01.738 -05:00] [INF] [1] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
[2024-12-24 01:31:01.738 -05:00] [INF] [1] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
[2024-12-24 01:31:01.739 -05:00] [INF] [1] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-12-24 01:31:01.740 -05:00] [INF] [1] Main: Temp directory path: "C:\Users\tee03\AppData\Local\Temp\jellyfin"
[2024-12-24 01:31:01.740 -05:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-12-24 01:31:01.741 -05:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-12-24 01:31:01.780 -05:00] [FTL] [1] Main: Unhandled Exception
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Jellyfin\Server\config\migrations.xml' is denied.
  at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable
1 unixCreateMode)
  at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
  at Emby.Server.Implementations.Serialization.MyXmlSerializer.SerializeToFile(Object obj, String file)
  at Jellyfin.Server.Migrations.MigrationRunner.<>c__DisplayClass3_0.<RunPreStartup>b__1(MigrationOptions options)
  at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action
1 saveConfiguration, ILogger logger)
  at Jellyfin.Server.Migrations.MigrationRunner.RunPreStartup(ServerApplicationPaths appPaths, ILoggerFactory loggerFactory)
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
  at Jellyfin.Server.Program.<Main>(String[] args)


RE: Issue - TheDreadPirate - 2024-12-24

Stop jellyfin, close the tray app, then try running the Jellyfin tray app as admin.