Jellyfin Forum
Jellyfin server doesn't connect after Windows 11 restart - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: Jellyfin server doesn't connect after Windows 11 restart (/t-jellyfin-server-doesn-t-connect-after-windows-11-restart)



Jellyfin server doesn't connect after Windows 11 restart - oraudev - 2024-03-30

I installed Jellyfin (10.8.13) on windows 11 imported my library and everything works fine (even with other devices on the local network). when I turn off/restart the PC if I try to start the server but I can't. On chrome I enter the correct address 192.xxx.x.x:8096 and then I correctly see the name of the server I had created but I get an error when I try to connect.

"We're unable to connect to the selected server right now. Please ensure it is running and try again."


RE: Jellyfin server doesn't connect after Windows 11 restart - TheDreadPirate - 2024-03-30

Can you share your jellyfin logs with us via sourcebin or by attaching it to a post?


RE: Jellyfin server doesn't connect after Windows 11 restart - oraudev - 2024-03-30

https://pastebin.com/fZq8SUfv

[2024-03-30 20:51:16.141 +01:00] [INF] [7] Main: Jellyfin version: "10.8.13"
[2024-03-30 20:51:16.160 +01:00] [INF] [7] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2024-03-30 20:51:16.164 +01:00] [INF] [7] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2024-03-30 20:51:16.165 +01:00] [INF] [7] Main: Operating system: "Windows"
[2024-03-30 20:51:16.166 +01:00] [INF] [7] Main: Architecture: X64
[2024-03-30 20:51:16.167 +01:00] [INF] [7] Main: 64-Bit Process: True
[2024-03-30 20:51:16.168 +01:00] [INF] [7] Main: User Interactive: True
[2024-03-30 20:51:16.168 +01:00] [INF] [7] Main: Processor count: 12
[2024-03-30 20:51:16.169 +01:00] [INF] [7] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2024-03-30 20:51:16.169 +01:00] [INF] [7] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2024-03-30 20:51:16.170 +01:00] [INF] [7] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2024-03-30 20:51:16.233 +01:00] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration"]
[2024-03-30 20:51:16.398 +01:00] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-03-30 20:51:16.486 +01:00] [INF] [7] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2024-03-30 20:51:16.797 +01:00] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2024-03-30 20:51:16.798 +01:00] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2024-03-30 20:51:16.799 +01:00] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2024-03-30 20:51:16.809 +01:00] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"
[2024-03-30 20:51:16.809 +01:00] [INF] [7] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2024-03-30 20:51:18.073 +01:00] [INF] [7] Jellyfin.Server.Implementations.JellyfinDbProvider: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
[2024-03-30 20:51:18.311 +01:00] [INF] [7] Jellyfin.Server.Implementations.JellyfinDbProvider: EFCore migrations applied successfully
[2024-03-30 20:51:18.611 +01:00] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2024-03-30 20:51:18.614 +01:00] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-03-30 20:51:18.617 +01:00] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.8.13.0"
[2024-03-30 20:51:18.619 +01:00] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.8.13.0"
[2024-03-30 20:51:18.620 +01:00] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.8.13.0"
[2024-03-30 20:51:18.621 +01:00] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.8.13.0"
[2024-03-30 20:51:18.622 +01:00] [INF] [7] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.8.13.0"
[2024-03-30 20:51:18.676 +01:00] [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"]
[2024-03-30 20:51:18.679 +01:00] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddDefaultPluginRepository"'
[2024-03-30 20:51:18.680 +01:00] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2024-03-30 20:51:18.682 +01:00] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2024-03-30 20:51:18.684 +01:00] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddDefaultPluginRepository"' applied successfully
[2024-03-30 20:51:18.692 +01:00] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"ReaddDefaultPluginRepository"'
[2024-03-30 20:51:18.693 +01:00] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Migration '"ReaddDefaultPluginRepository"' applied successfully
[2024-03-30 20:51:18.694 +01:00] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"AddPeopleQueryIndex"'
[2024-03-30 20:51:18.696 +01:00] [INF] [7] Jellyfin.Server.Migrations.Routines.AddPeopleQueryIndex: Creating index idx_TypedBaseItemsUserDataKeyType
[2024-03-30 20:51:18.699 +01:00] [INF] [7] Jellyfin.Server.Migrations.Routines.AddPeopleQueryIndex: Creating index idx_PeopleNameListOrder
[2024-03-30 20:51:18.703 +01:00] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Migration '"AddPeopleQueryIndex"' applied successfully
[2024-03-30 20:51:18.708 +01:00] [INF] [7] Main: Kestrel listening on "Any IP4 Address"
[2024-03-30 20:51:19.060 +01:00] [INF] [7] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2024-03-30 20:51:19.092 +01:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2024-03-31 02:00:00.000 +01:00, which is 05:08:40.9074640 from now.
[2024-03-30 20:51:19.182 +01:00] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "5.1.4"
[2024-03-30 20:51:19.229 +01:00] [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"]
[2024-03-30 20:51:19.254 +01:00] [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"]
[2024-03-30 20:51:19.279 +01:00] [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"]
[2024-03-30 20:51:19.390 +01:00] [WRN] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: "overlay_vaapi" with option "Action to take when encountering EOF from secondary input" is not available
[2024-03-30 20:51:19.413 +01:00] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "dxva2", "qsv", "d3d11va", "opencl"]
[2024-03-30 20:51:19.502 +01:00] [INF] [7] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "ffmpeg"
[2024-03-30 20:51:19.504 +01:00] [INF] [7] Emby.Server.Implementations.ApplicationHost: ServerId: "9ef45b88e1b4421da7efb320f3d8e3b9"
[2024-03-30 20:51:19.647 +01:00] [INF] [7] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1375488
[2024-03-30 20:51:19.649 +01:00] [INF] [7] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2024-03-30 20:51:19.755 +01:00] [INF] [7] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.104691
[2024-03-30 20:51:19.757 +01:00] [INF] [7] Main: Startup complete 0:00:04.0699953
[2024-03-30 20:51:22.118 +01:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Update Plugins"
[2024-03-30 20:51:22.122 +01:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask"
[2024-03-30 20:51:22.127 +01:00] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Update Plugins"
[2024-03-30 20:51:23.430 +01:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 1 seconds
[2024-03-30 20:51:23.445 +01:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2024-03-30 20:51:30.916 +01:00] [INF] [4] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used.
DeviceIdentification { FriendlyName: "ATV_4", ModelNumber: null, SerialNumber: null, ModelName: "WaxRainPlayer", ModelDescription: "WaxRainPlayer", ModelUrl: "http://www.waxrain.com", Manufacturer: "WaxRain", ManufacturerUrl: "http://www.waxrain.com", Headers: [] }
[2024-03-30 20:51:30.923 +01:00] [INF] [4] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "ATV_4" - "WaxRainPlayer"


RE: Jellyfin server doesn't connect after Windows 11 restart - TheDreadPirate - 2024-03-30

Clear your browser cache. Double check Jellyfin is allowed in the firewall. Otherwise, the logs look fine.


RE: Jellyfin server doesn't connect after Windows 11 restart - oraudev - 2024-03-30

When I install it it works fine. Then when I restart the PC I get this situation. The cache is clean because I always use incognito to access the server. The firewall is ok. The thing that in my opinion is strange is that when I start the application it shows me the "USER-PC" server which is the one configured initially but the credentials of any user are not accepted and I get the following error "We're unable to connect to the selected server right now. Please ensure it is running and try again.". The fact that it doesn't work on my phone is normal in my opinion because I don't think that when I restart the PC the server starts correctly


RE: Jellyfin server doesn't connect after Windows 11 restart - TheDreadPirate - 2024-03-30

I do see this in your log.

Code:
[2024-03-30 20:51:16.233 +01:00] [INF] [7] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration"]

Its like it isn't actually saving things? This isn't a VM or something, right?

Can you try reinstalling jellyfin, but when you run the installer can you right click and "run as administrator"?


RE: Jellyfin server doesn't connect after Windows 11 restart - oraudev - 2024-03-30

I installed and reinstalled jellyfin about ten times (I'm not using a virtual machine). It bothers me that when I restart Windows I can't even access the library


RE: Jellyfin server doesn't connect after Windows 11 restart - TheDreadPirate - 2024-03-30

(2024-03-30, 08:48 PM)oraudev Wrote: I installed and reinstalled jellyfin about ten times (I'm not using a virtual machine). It bothers me that when I restart Windows I can't even access the library

But did you ensure the installer was run as admin for any of them?  It looks like there is some permissions issue and Jellyfin isn't saving your changes after a reboot.  Which is why I am asking that you try one more time and run as admin.


RE: Jellyfin server doesn't connect after Windows 11 restart - oraudev - 2024-04-02

I don't know how but I partially solved the problem, now even if I restart the PC everything works correctly. The only problem is that if I click on the icon several times even if the program is already open in the background in the hidden icon bar on the right on Windows another icon is added, it's not a big problem and I don't even know if this is normal or less. Thanks anyway for the support and for trying to help me.