Jellyfin Forum
Server must be reinstalled after every reboot - 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: Server must be reinstalled after every reboot (/t-server-must-be-reinstalled-after-every-reboot)



Server must be reinstalled after every reboot - cyremann - 2023-08-10

Hello, my setup is as follows:
  • Windows 10 64-bit
  • Installed using windows installer
  • Version 10.8.10
  • Clients: Roku, Samsung TV, Windows in browser on server

My Jellyfin server works perfectly except for one thing: I have to reinstall the server after each and every reboot. It doesn't matter if the reboot was because of a power flicker or an intentional reboot.

After a reboot the server and tray application are both running, but I can't connect to the server either locally or over LAN. I have tried killing and restarting both applications but it doesn't change anything. The only thing that I have found that helps is to kill both applications, run the installer again with default options, then restart the server. After that it just picks up were it left off, with all of my media still intact. It will then function normally until the next reboot.

This seems to be the same or at least a similar problem, but there was no resolution: https://github.com/jellyfin/jellyfin-server-windows/issues/69

Does anyone have any ideas about what might be causing this and/or how to resolve it?


RE: Server must be reinstalled after every reboot - TheDreadPirate - 2023-08-10

Go to the jellyfin server install directory and set the properties on the server executable to always run as admin.


RE: Server must be reinstalled after every reboot - xaque - 2023-08-10

I was having issues with windows installs after the update from 10.8.9 to 10.8.10. I went against the the advice of the jellyfin windows install instructions and installed the server as a service. This eliminated issues after shutdowns/reboots etc.

Here is part of my .bat file I use for fresh jellyfin server installs.


7z x "jellyfin_10.8.10.zip" -o%CD%
mkdir "%PROGRAMFILES%\Jellyfin"
mkdir "%PROGRAMFILES%\Jellyfin\Server"
mkdir "%PROGRAMDATA%\Jellyfin"
xcopy /s /i /y "jellyfin_10.8.10" "%PROGRAMFILES%\Jellyfin\Server"

cd "%PROGRAMFILES%\Jellyfin\Server"
call nssm.exe install JellyfinServer "%PROGRAMFILES%\Jellyfin\Server\jellyfin.exe" --service --datadir "%PROGRAMDATA%\Jellyfin"
call nssm.exe start JellyfinServer
call nssm.exe set JellyfinServer Type SERVICE_INTERACTIVE_PROCESS
cd %~dp0
rmdir /s /q "%~dp0jellyfin_10.8.10"
del /s "%~dp0jellyfin_10.8.10.zip"