2024-07-21, 04:47 PM
Hello guys,
first time posting in this forum, i am not sure if your issues got fixed with these solutions or not, i tried all the aforementioned solutions but none worked for me.
finally i figured out what was causing the issue and thought to post the problem explanation here, maybe it'll help someone too
PROBLEM: Jellyfin server fails to start after system reboot even on fresh installations
EXPLANATION: In my case, it was caused due to bad permission to the jellyfin user. it was not able to access important files in the system.
SOLUTION: Run these codes on your server, if you have changed the directories of jellyfin, please adjust accordingly
sudo chown -R jellyfin:jellyfin /var/lib/jellyfin
sudo chmod -R 755 /var/lib/jellyfin
sudo chown -R jellyfin:jellyfin /var/cache/jellyfin
sudo chmod -R 755 /var/cache/jellyfin
sudo chown -R jellyfin:jellyfin /var/log/jellyfin
sudo chmod -R 755 /var/log/jellyfin
(if "/var/log/jellyfin" does not exist, use "mkdir" to create the directory then run the above two lines again)
This fixed it for me, now my system properly reboots and i don't have to worry about jellyfin crashing again. I hope it will help someone else too, if the moderators of the thread can please verify if this is a proper solution and mark it such way it would be helpful for many people
Good Day!
Regards
first time posting in this forum, i am not sure if your issues got fixed with these solutions or not, i tried all the aforementioned solutions but none worked for me.
finally i figured out what was causing the issue and thought to post the problem explanation here, maybe it'll help someone too
PROBLEM: Jellyfin server fails to start after system reboot even on fresh installations
EXPLANATION: In my case, it was caused due to bad permission to the jellyfin user. it was not able to access important files in the system.
SOLUTION: Run these codes on your server, if you have changed the directories of jellyfin, please adjust accordingly
sudo chown -R jellyfin:jellyfin /var/lib/jellyfin
sudo chmod -R 755 /var/lib/jellyfin
sudo chown -R jellyfin:jellyfin /var/cache/jellyfin
sudo chmod -R 755 /var/cache/jellyfin
sudo chown -R jellyfin:jellyfin /var/log/jellyfin
sudo chmod -R 755 /var/log/jellyfin
(if "/var/log/jellyfin" does not exist, use "mkdir" to create the directory then run the above two lines again)
This fixed it for me, now my system properly reboots and i don't have to worry about jellyfin crashing again. I hope it will help someone else too, if the moderators of the thread can please verify if this is a proper solution and mark it such way it would be helpful for many people
Good Day!
Regards