Jellyfin Forum
"Could not start jellyfin server process after the specified wait period" - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: "Could not start jellyfin server process after the specified wait period" (/t-could-not-start-jellyfin-server-process-after-the-specified-wait-period--8164)



"Could not start jellyfin server process after the specified wait period" - 4r5hw45twh - 2024-09-27

For some reason, I am getting this error message. Never happened to me before. When researching it, I tried suggestions previously given here, such as: rename all the ProgramData/Jellyfin/Server/config files. That didn't work either. All I did was restart the server.

[Image: VXmT4kB.png]

The last lines of my log show:
Code:
[2024-09-27 19:21:04.492 -04:00] [FTL] [1] Main: Error while starting server
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
  at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
  at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
  at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
  at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
  at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
  at Emby.Server.Implementations.Data.SqliteExtensions.Execute(SqliteConnection sqliteConnection, String commandText)
  at Emby.Server.Implementations.Data.ManagedConnection.Execute(String commandText)
  at Emby.Server.Implementations.Data.BaseSqliteRepository.Initialize()
  at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize()
  at Emby.Server.Implementations.ApplicationHost.InitializeServices()
  at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2024-09-27 19:21:04.511 -04:00] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[2024-09-27 19:21:04.520 -04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2024-09-27 19:21:04.521 -04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"



RE: "Could not start jellyfin server process after the specified wait period" - TheDreadPirate - 2024-09-28

Did your server or Jellyfin shutdown or crash less than gracefully?


RE: "Could not start jellyfin server process after the specified wait period" - RMc - 2024-10-28

Hi, I'm a new convert to Jellyfin from PLEX, and I see exactly the same issue.

The Tray runs as a startup app, and that works fine, but it attempts to start the Jellyfin server automatically, which _always_ fails with same popup, and same error in the logs. I've added Full Control to the Jellyfin folder with ProgramData to all users, added "Run as Administrator" to both the tray app and the server app, but still the same issue.

I can _manually_ run the server no problem at all, and so that's what I now do. I've disabled the tray in the Windows startup apps, and now just have a shortcut to the serve EXE on my desktop and simply dbl-click that each time I reboot.


RE: "Could not start jellyfin server process after the specified wait period" - theguymadmax - 2024-10-28

Post your most recent log via pastebin from this location: c:\ProgramData\Jellyfin\Server\log\