Jellyfin Forum
SOLVED: Jellyfin fails to start after update to 10.8.13 - 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: SOLVED: Jellyfin fails to start after update to 10.8.13 (/t-solved-jellyfin-fails-to-start-after-update-to-10-8-13)



Jellyfin fails to start after update to 10.8.13 - lmckisic - 2024-03-22

updated as instructions said and it failed to start the service when done, so I manually started the service. Shortly after it crashed. I rebooted with no change, reinstalled with no change, and did use the install as admin just in case.

Application error from event viewer:
Application: jellyfin.exe
CoreCLR Version: 6.0.2223.42425
.NET Version: 6.0.22
Description: The process was terminated due to an unhandled exception.
Exception Info: 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 Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQuery(RelationalCommandParameterObject parameterObject)
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRaw(DatabaseFacade databaseFacade, String sql, IEnumerable`1 parameters)
  at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRaw(DatabaseFacade databaseFacade, String sql, Object[] parameters)
  at Jellyfin.Server.Program.StartApp(StartupOptions options)
  at Jellyfin.Server.Program.<Main>(String[] args)

Service error form Event viewer:
The Jellyfin Server service terminated with the following service-specific error:
%%3762504530


RE: Jellyfin fails to start after update to 10.8.13 - Efficient_Good_5784 - 2024-03-22

(2024-03-22, 02:33 AM)lmckisic Wrote: Exception Info: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
Looks like a permissions issue. Your Jellyfin user is being presented with a read-only database file.

Try giving the user running Jellyfin read and write permissions to the location where you have the config folder stored.


RE: Jellyfin fails to start after update to 10.8.13 - lmckisic - 2024-03-22

(2024-03-22, 05:31 AM)Efficient_Good_5784 Wrote:
(2024-03-22, 02:33 AM)lmckisic Wrote: Exception Info: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
Looks like a permissions issue. Your Jellyfin user is being presented with a read-only database file.

Try giving the user running Jellyfin read and write permissions to the location where you have the config folder stored.


Thanks, don't see how I missed that since it was right there in the fifth line...just didn't think about it being a permission since nothing had been changed. I may run a directory scan later for permission issues, but it is launching now. So thanks again.