2023-08-10, 11:00 PM
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"
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"