2024-07-10, 04:15 PM
(2024-07-10, 04:01 PM)TheDreadPirate Wrote: Since you are running Jellyfin directly on Ubuntu, /opt/jellyfin is not used. Just delete that directory and the script you created. And you should not be starting jellyfin simply by typing "jellyfin", which is what appears to be happening.
You need to be using systemctl to manage jellyfin.
Code:sudo systemctl restart jellyfin
Stop, start, and status are also valid commands.
As for the "restart" button in the web, I also noticed this issue and there appears to be an open issue already.
https://github.com/jellyfin/jellyfin/issues/12161
Thank you. But even then, by default /etc/systemd/system/jellyfin.service appeared like this.
Code:
GNU nano 6.2 /etc/systemd/system/jellyfin.service
[Unit]
Description=Jellyfin
After=network.target
[Service]
Type=simple
User=ubuntu
Restart=always
ExecStart=/opt/jellyfin/jellyfin.sh
[Install]
WantedBy=multi-user.target
ExecStart where should point at?