Jellyfin Forum
Upgrading version of jellyfin server gives me trouble - 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: Upgrading version of jellyfin server gives me trouble (/t-upgrading-version-of-jellyfin-server-gives-me-trouble)



Upgrading version of jellyfin server gives me trouble - alike - 2025-03-02

When i try to upgrade from an older version the migration fails.
Running windows 11.
It wont start at all if my server app is not running as admin. Error code is: 
Code:
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)
If i change the tray app shortcut to run as admin i can start the server app, but when im inside the app doesnt have access to my RAR2FS network drives. 
When looking at the rar2fs folder permissions they do look weird. But it worked before.
[Image: Ono7g6V.png]
I was struggling with this earlier. I almost threw the whole project down the drain and wanted to get back paying for netflix and all that crap. But i finally got it to work. But since then, each time i have tried to upgrade version, this happened. https://forum.jellyfin.org/t-solved-jellyfin-can-access-mounted-nfs-but-ffmpeg-says-no-such-file?pid=39765#pid39765


RE: Upgrading version of jellyfin server gives me trouble - TheDreadPirate - 2025-03-02

Can you share your full jellyfin logs pre-upgrade and post-upgrade via privatebin.net?


RE: Upgrading version of jellyfin server gives me trouble - alike - 2025-03-02

I tried installing jellyfin server as a service, same problem that it cant find my rar2fs drives. Both as network service user and local service user.
I tried changing the network service user to the same user that should have access to the rar2fs folder, but i get the same result.

I installed rar2fs according to this manual, and it gives my user these rights to the rar2fs folders. https://github.com/hasse69/rar2fs/wiki/Windows-HOWTO
[Image: w9H9M2O.png]


RE: Upgrading version of jellyfin server gives me trouble - alike - 2025-03-02

(2025-03-02, 05:36 PM)TheDreadPirate Wrote: Can you share your full jellyfin logs pre-upgrade and post-upgrade via privatebin.net?

Unfortunately the log only goes to today at 15:56. No idea why, could be i by mistake or design changed how long back it keeps them.

https://privatebin.net/?a0f9cf4781cb5016#6JXwTXmxRMqEWg6F7tajkccFiWEm15uUt6QxpyHqWrSb


RE: Upgrading version of jellyfin server gives me trouble - TheDreadPirate - 2025-03-03

Try renaming the playback reporting plugin DB. Pretty sure it is in C:\ProgramData\Jellyfin\Server\data

Rename playback_reporting.db to playback_reporting.db.old or something like that.