Jellyfin Forum
SOLVED: Jellyfin Web Broke After Update and Migrate - 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 Web Broke After Update and Migrate (/t-solved-jellyfin-web-broke-after-update-and-migrate)



Jellyfin Web Broke After Update and Migrate - LinuxHG - 2023-09-27

Hello,

Linux Distro: EndeavorOS (arch linux)

In the process of trying to upgrade from aur to build in packages I decided to myself that this may be a good time to migrate over to a Docker install. I followed the information here: https://jellyfin.org/docs/general/administration/migrate/#migrating-linux-install-to-docker. Everything worked great until I tried to access my server from a new browser that had no preloaded cookies. Anytime I use a browser that is "fresh" it is now sending me to the Welcome page asking to setup information. However, all my server data is setup and intact. Like a said in a browser that has the cookie information everything is working just find. All my videos and watch history and plugins are working.

Is there some flag or setting I can change to make the web side recognize that the server is already setup in a new browser?

Thanks!

I should also mention that after this happened with Docker, I reinstalled the arch packages to see if that would help and it's the same issue with my arch packages as well.

I also tried adding the /usr/share/jellyfin-web folder to the docker container and that didn't work either.


RE: Jellyfin Web Broke After Update and Migrate - LinuxHG - 2023-09-27

The closest thing in the log I could find is (and I'm not really sure if this applies).

Code:
[2023-09-27 15:40:58.893 -04:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration"]
[2023-09-27 15:41:01.494 -04:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase"]
[2023-09-27 15:41:01.494 -04:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddDefaultPluginRepository"'
[2023-09-27 15:41:01.495 -04:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddDefaultPluginRepository"' applied successfully
[2023-09-27 15:41:01.502 -04:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"ReaddDefaultPluginRepository"'
[2023-09-27 15:41:01.503 -04:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration '"ReaddDefaultPluginRepository"' applied successfully
[2023-09-27 15:41:01.503 -04:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddPeopleQueryIndex"'
[2023-09-27 15:41:01.503 -04:00] [INF] [4] Jellyfin.Server.Migrations.Routines.AddPeopleQueryIndex: Creating index idx_TypedBaseItemsUserDataKeyType
[2023-09-27 15:41:01.503 -04:00] [INF] [4] Jellyfin.Server.Migrations.Routines.AddPeopleQueryIndex: Creating index idx_PeopleNameListOrder
[2023-09-27 15:41:01.504 -04:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddPeopleQueryIndex"' applied successfully
[2023-09-27 19:42:28.925 +00:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"CreateNetworkConfiguration"'
[2023-09-27 19:42:28.953 +00:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Migration '"CreateNetworkConfiguration"' applied successfully



RE: Jellyfin Web Broke After Update and Migrate - TheDreadPirate - 2023-09-28

We would need your entire log to evaluate the state of your jellyfin.


RE: Jellyfin Web Broke After Update and Migrate - LinuxHG - 2023-09-28

I have attached the log. I had to split it every 1,000 lines. Hopefully, it helps.


RE: Jellyfin Web Broke After Update and Migrate - skribe - 2023-09-28

It looks to me like your migration was not actually successful. Jellyfin believes its a new install. I suspect that your configs were not migrated and mounted correctly. You are probably getting the configuration wizard because the system.xml that jellyfin is using now was created fresh, and does not have the key indicating that the server has been configured (because it hasn't).

Grab your backups from the migration and try that process again.


RE: Jellyfin Web Broke After Update and Migrate - LinuxHG - 2023-09-28

Thank you so much.
I had to flip the setting <IsStartupWizardCompleted>false</IsStartupWizardCompleted>.

Weirdly it was set to true in /var/lib/jellyfin/config/system.xml, but not in /etc/jellyfin/system.xml. Once I changed the etc version everything is working as it should. Really appreciate your help.