• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Upgrading version of jellyfin server gives me trouble

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Upgrading version of jellyfin server gives me trouble

    Upgrading for a older version to the newest have issues
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #1
    2025-03-02, 04:38 PM (This post was last modified: 2025-03-02, 04:41 PM by alike. Edited 1 time in total.)
    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-jell...5#pid39765
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-03-02, 05:36 PM
    Can you share your full jellyfin logs pre-upgrade and post-upgrade via privatebin.net?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #3
    2025-03-02, 06:07 PM (This post was last modified: 2025-03-02, 06:08 PM by alike. Edited 1 time in total.)
    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]
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #4
    2025-03-02, 06:15 PM (This post was last modified: 2025-03-02, 06:16 PM by alike. Edited 1 time in total.)
    (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...QxpyHqWrSb
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2025-03-03, 01:02 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #6
    2025-03-04, 08:37 AM
    (2025-03-03, 01:02 PM)TheDreadPirate Wrote: 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.

    I did this. After starting the server back up i checked but i don't see any difference. What are your thoughs?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2025-03-04, 02:04 PM
    You still see a database error? Exact same one?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #8
    2025-03-04, 03:49 PM (This post was last modified: 2025-03-04, 06:39 PM by TheDreadPirate. Edited 2 times in total.)
    (2025-03-04, 02:04 PM)TheDreadPirate Wrote: You still see a database error?  Exact same one?

    SQLite Error is gone after this. But this only came when i was not running the server(Jellyfin.Windows.Tray.exe) in admin mode.
    I will try running it in non-admin mode again and see if the results change. Looks like the issue with not finding those Rar2FS drives is only when i run the server in admin mode. But i am not 100% sure as i don't remember which version i had from before the upgrade to reinstall old version and check.

    Edit: When i changed the service to run a user without admin rights, the app won't start. The log does not create any input, so i think im going to try to reinstall the app in "normal way" again to see if i can see the error message. Im almost sure that this is the "SQLite error" that is kicking in again.
    alike
    Offline

    Member

    Posts: 52
    Threads: 7
    Joined: 2024 Feb
    Reputation: 0
    Country:Norway
    #9
    2025-03-07, 07:04 AM (This post was last modified: 2025-03-07, 07:07 AM by alike. Edited 1 time in total.)
    I cant even start the app this way. It does not care to write logs when it fails. Last log entry is:
    [2025-03-04 16:51:29.308 +01:00] [INF] [10] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"

    Running the file in admin mode and im back right in. But without rights to see the rar2fs drives. Log:
    https://privatebin.net/?d513244216100c70...KEfYnxx9qF
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2025-03-07, 03:50 PM (This post was last modified: 2025-03-07, 03:50 PM by TheDreadPirate.)
    Does it write logs in a different directory when run as a service? I'm not even sure where to look to figure that out. Event viewer?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode