Jellyfin Forum
SOLVED: Jellyfin service not starting in Proxmox - 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: SOLVED: Jellyfin service not starting in Proxmox (/t-solved-jellyfin-service-not-starting-in-proxmox)



Jellyfin service not starting in Proxmox - viperex - 2024-08-26

I used the Proxmox Helper Scripts to install Jellyfin in an Ubuntu Proxmox container. Right off the bat, the web panel wasn't loading. I did some troubleshooting and found out that the service was crashing when trying to run.

I even created a VM and installed Jellyfin with the default install script on the Jellyfin documentation site but that gives the same issue.

I have a copy of my boot log posted here on Sourceb.in. Only thing I can make out is that the environment variables are not set and that the service gives up after the 5th startup attempt. For what it's worth, I found out that jellyfin runs just fine on the terminal if I pass the
Code:
--nowebclient
option. Hopefully, someone can provide more info and a solution.


RE: Jellyfin service not starting in Proxmox - TheDreadPirate - 2024-08-26

Running Jellyfin directly from the command line IS NOT the right solution, and passing --nowebclient will mean...well, no web UI.

There was an issue recently discovered during the installation process for the 10.9.10 release. Permissions are not being properly set on some directories during the package install process leading to what you described.

The workaround is to run these commands to manually set the permissions and then try starting the service properly.

Code:
sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/log/jellyfin /var/cache/jellyfin /usr/share/jellyfin
sudo systemctl restart jellyfin

A hotfix release is being worked on to resolve this issue.


RE: Jellyfin service not starting in Proxmox - viperex - 2024-08-26

(2024-08-26, 01:20 PM)TheDreadPirate Wrote: Running Jellyfin directly from the command line IS NOT the right solution, and passing --nowebclient will mean...well, no web UI.

There was an issue recently discovered during the installation process for the 10.9.10 release.  Permissions are not being properly set on some directories during the package install process leading to what you described.

The workaround is to run these commands to manually set the permissions and then try starting the service properly.

Code:
sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/log/jellyfin /var/cache/jellyfin /usr/share/jellyfin
sudo systemctl restart jellyfin

A hotfix release is being worked on to resolve this issue.

Yeah, I figured running Jellyfin from the command line was not the solution. I was trying to narrow down where the problem was.

Your command worked. Turns out only /etc/jellyfin and /usr/share/jellyfin had the owner as root but I changed them all anyway. Thank you Grinning-cat