Jellyfin Forum
After updating to 10.8.13, can't connect/triggers setup wizard - 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: After updating to 10.8.13, can't connect/triggers setup wizard (/t-after-updating-to-10-8-13-can-t-connect-triggers-setup-wizard)

Pages: 1 2


After updating to 10.8.13, can't connect/triggers setup wizard - Stackson212 - 2023-11-29

Hi all,

I have been successfully running a Jellyfin server on a Windows machine and successfully consuming the content on a variety of clients within my network (iPhone, iPad, Roku, Fire TV). I was not set up for external connection.

I saw a strong recommendation to upgrade to V10.8.13, so I downloaded and installed. The installation screen said it would retain my current server settings. However, after installation and restart, I am seeing this behavior:
- From all devices, both client and server (including localhost:8096), a "Select Server" message with my server, but when I try to connect I receive the message "We're unable to connect to the selected server right now. Please ensure it is running and try again."
- I cleared cache and cookies from my browser running localhost:8096 and reloaded. Now I see the "Welcome to Jellyfin" message with a quick help guide and a setup wizard. If I click through, it does look as if I'd be starting from scratch.

Am I missing something here? Is there a way to "select" my previous server settings without having to recreate the whole thing? I worry that if I continue the setup process, I will overwrite all my old settings (if they are not in fact already overwritten/deleted).

I seem to remember hitting this problem once before after an update, and I needed to delete a file in the Jellyfin folder to unstick things. However, I can't find that post now. Any help would be appreciated - even if it's a confirmation that I'm SOL and need to re-set-up the whole thing. Thanks in advance!


RE: After updating to 10.8.13, can't connect/triggers setup wizard - TheDreadPirate - 2023-11-29

You shouldn't need to restart as long as the install type didn't change.

There are two paths you can take. Both involve doing this first.

Stop Jellyfin. Backup C:\ProgramData\Jellyfin.

Path 1: After backing up the ProgramData folder for Jellyfin, edit C:\ProgramData\Jellyfin\Server\config\system.xml

Switch this value from false to true.

Code:
<IsStartupWizardCompleted>true</IsStartupWizardCompleted>

Path 2: Complete the wizard. I think it will reset your admin credentials, but IIRC it should retain your library. Worst case we still have the backup.

For the record, ALWAYS backup your settings and database. Even for routine upgrades. Thousands and thousands of Windows users will have seamless upgrades. For some reason 0.1% won't.


RE: After updating to 10.8.13, can't connect/triggers setup wizard - Stackson212 - 2023-11-30

Thanks so much for the reply. My mistake in not backing everything up before I upgraded to the latest version. I won't make that mistake again!

I followed Path 1, and it did skip the setup wizard - but then it wouldn't accept my login credentials and when I clicked "forgot" it told me to do it on my home network (which I'm already on).

So I'll follow the second path and hope it keeps my settings. If not, Time to recreate! Lesson learned.

Thanks again.


RE: After updating to 10.8.13, can't connect/triggers setup wizard - BarbLives - 2024-03-13

I'm having the same issue.

I was on 10.8.12 and ran the "jellyfin_10.8.13_windows-x64.exe" installer without stopping the Jellyfin server first, my bad. Got the BDinfo.dll error. So then I shutdown Jellyfin and ran the installer again.

When I tried to open Jellyfin in my browser I got the Select Server prompt and unable to connect error. I rebooted. I could then see Jellyfin start but fail on startup. When I manually started it, it also immediately closed and wouldn't stay running. So then I ran the "jellyfin_10.8.13_windows-x64.exe" installer again and still got the Select Server prompt.

I cleared my browser cache and go the Startup Wizard. I checked my C:\ProgramData\Jellyfin\Server\config\system.xml file and "IsStartupWizardCompleted" was already set to "true". So then I completed the wizard. But my library is missing.

Did it overwrite instead of upgrading? Is there anyway I can copy settings files back over?

Thanks.


RE: After updating to 10.8.13, can't connect/triggers setup wizard - TheDreadPirate - 2024-03-13

Hard to say. Depends if your Jellyfin was running as admin before.

Sometimes, for whatever reason, Windows will run the Jellyfin installer as your user and place the data folder in C:\Users\yourUser\appdata\local\Jellyfin (or something like that). Is that what happened here?


RE: After updating to 10.8.13, can't connect/triggers setup wizard - BarbLives - 2024-03-13

(2024-03-13, 05:50 PM)TheDreadPirate Wrote: Hard to say.  Depends if your Jellyfin was running as admin before.

Sometimes, for whatever reason, Windows will run the Jellyfin installer as your user and place the data folder in C:\Users\yourUser\appdata\local\Jellyfin (or something like that).  Is that what happened here?

Looks like that might be it. The folder "C:\Users\yourUser\AppData\Local\jellyfin" has modified dates of 12 & 13 of March 2024.

The folder "C:\ProgramData\Jellyfin\Server" has modified dates of 12 March 2024 but also Feb 2024 and some 2023. The folder "C:\Program Files\Jellyfin\Server" has similar dates.

The "Jellyfin Server" shortcut on my Desktop that the installer created points to "C:\Program Files\Jellyfin\Server\Jellyfin.Windows.Tray.exe". But the "Jellyfin (View Console)" entry in my Start Menu points to "C:\Program Files\Jellyfin\Server\jellyfin.exe" --datadir "C:\Users\yourUser\AppData\Local\Jellyfin".


RE: After updating to 10.8.13, can't connect/triggers setup wizard - TheDreadPirate - 2024-03-13

Try modifying the shortcut to point the datadir to C:\ProgramData\Jellyfin.


RE: After updating to 10.8.13, can't connect/triggers setup wizard - BarbLives - 2024-03-13

(2024-03-13, 08:17 PM)TheDreadPirate Wrote: Try modifying the shortcut to point the datadir to C:\ProgramData\Jellyfin.

I made a copy of the "Jellyfin (View Console)" entry in my Start Menu and changed it:
  • From "C:\Program Files\Jellyfin\Server\jellyfin.exe" --datadir "C:\Users\yourUser\AppData\Local\Jellyfin".
  • To "C:\Program Files\Jellyfin\Server\jellyfin.exe" --datadir "C:\ProgramData\Jellyfin"

Running that shortcut opened a console window with this output:

[16:59:43] [INF] [7] Main: Jellyfin version: 10.8.13
[16:59:43] [INF] [7] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\\ProgramData\\Jellyfin\\log]"]
[16:59:43] [INF] [7] Main: Arguments: ["C:\\Program Files\\Jellyfin\\Server\\jellyfin.dll", "--datadir", "C:\\ProgramData\\Jellyfin"]
[16:59:43] [INF] [7] Main: Operating system: Windows
[16:59:43] [INF] [7] Main: Architecture: X64
[16:59:43] [INF] [7] Main: 64-Bit Process: True
[16:59:43] [INF] [7] Main: User Interactive: True
[16:59:43] [INF] [7] Main: Processor count: 8
[16:59:43] [INF] [7] Main: Program data path: C:\ProgramData\Jellyfin
[16:59:43] [INF] [7] Main: Web resources path: C:\Program Files\Jellyfin\Server\jellyfin-web
[16:59:43] [INF] [7] Main: Application directory: C:\Program Files\Jellyfin\Server\
[16:59:43] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration"]
[16:59:43] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: C:\ProgramData\Jellyfin\cache
[16:59:43] [INF] [7] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[16:59:43] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[16:59:43] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
[16:59:43] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[16:59:43] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[16:59:43] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
[16:59:45] [INF] [7] Jellyfin.Server.Implementations.JellyfinDbProvider: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
[16:59:45] [INF] [7] Jellyfin.Server.Implementations.JellyfinDbProvider: EFCore migrations applied successfully
[16:59:46] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[16:59:46] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: C:\ProgramData\Jellyfin\cache
[16:59:46] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.13.0
[16:59:46] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.13.0
[16:59:46] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.13.0
[16:59:46] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.13.0
[16:59:46] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.13.0
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase"]
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'AddDefaultPluginRepository'
[16:59:46] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[16:59:46] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: C:\ProgramData\Jellyfin\cache
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Migration 'AddDefaultPluginRepository' applied successfully
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'ReaddDefaultPluginRepository'
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Migration 'ReaddDefaultPluginRepository' applied successfully
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'AddPeopleQueryIndex'
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.Routines.AddPeopleQueryIndex: Creating index idx_TypedBaseItemsUserDataKeyType
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.Routines.AddPeopleQueryIndex: Creating index idx_PeopleNameListOrder
[16:59:46] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Migration 'AddPeopleQueryIndex' applied successfully
[16:59:46] [INF] [7] Main: Kestrel listening on Any IP4 Address
[16:59:46] [INF] [7] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[16:59:46] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2024-03-14 02:00:00.000 -04:00, which is 09:00:13.1498385 from now.
[16:59:47] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 5.1.4
[16:59:47] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
[16:59:47] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[16:59:47] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_cuda", "scale_cuda", "scale_opencl", "scale_qsv", "tonemap_cuda", "tonemap_opencl", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[16:59:47] [WRN] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: overlay_vaapi with option Action to take when encountering EOF from secondary input is not available
[16:59:47] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "dxva2", "qsv", "d3d11va", "opencl"]
[16:59:47] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: ffmpeg
[16:59:47] [INF] [7] Emby.Server.Implementations.ApplicationHost: ServerId: 3d1c6a228f8c4218a30a5551f73841f4
[16:59:47] [INF] [7] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1625262
[16:59:47] [INF] [7] Emby.Server.Implementations.ApplicationHost: Core startup complete
[16:59:48] [INF] [7] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.1705683
[16:59:48] [INF] [7] Main: Startup complete 0:00:04.8276664
[16:59:49] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins
[16:59:49] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
[16:59:49] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins
[16:59:50] [INF] [6] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds
[16:59:50] [INF] [6] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks


RE: After updating to 10.8.13, can't connect/triggers setup wizard - TheDreadPirate - 2024-03-13

That looks right.


RE: After updating to 10.8.13, can't connect/triggers setup wizard - BarbLives - 2024-03-13

But when I run the Tray App and then double-click the tray to open it in my browser I get Select Server screen again with the connect error. If I open in a different browser (no saved cache) I get the Welcome Wizard again. So not sure what to do next.