Jellyfin Forum
Unable to Successfully Restart Through UI - 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: Unable to Successfully Restart Through UI (/t-unable-to-successfully-restart-through-ui)



Unable to Successfully Restart Through UI - nxllxvxxd - 2025-04-15

Behavior:
When pressing restart button through the admin dashboard it is sometimes unsuccessful, though other times it is fine


Logs:
Code:
[23:05:29] [FTL] [38] Main: Error while starting server
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
  at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
  at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
  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)

Now something to note is that this seems to be random sometimes this happens sometimes it doesn't and that also I am manually able to restart the Jellyfin server with zero issues. I don't know if maybe the server is trying to restart itself faster than the database can unlock itself sometimes?


RE: Unable to Successfully Restart Through UI - TheDreadPirate - 2025-04-15

Do you have the Playback Reporting plugin installed? It is known to occasionally cause this issue.


RE: Unable to Successfully Restart Through UI - nxllxvxxd - 2025-04-15

(2025-04-15, 12:38 PM)TheDreadPirate Wrote: Do you have the Playback Reporting plugin installed?  It is known to occasionally cause this issue.

I do I assume that there is no way around this issue then?


RE: Unable to Successfully Restart Through UI - TheDreadPirate - 2025-04-15

Ensure that you've updated the playback reporting plugin recently. Version 16 was just released with a fix for exactly this issue.

https://github.com/jellyfin/jellyfin-plugin-playbackreporting/releases

The fix.

https://github.com/jellyfin/jellyfin-plugin-playbackreporting/pull/98

The original ticket I submitted for exactly this problem.

https://github.com/jellyfin/jellyfin-plugin-playbackreporting/issues/89