JEllyfin no stating on Synology - 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: JEllyfin no stating on Synology (/t-jellyfin-no-stating-on-synology) |
JEllyfin no stating on Synology - cackmobile - 2024-02-09 Hi Team, I turnoff my NAS overnight and in the morning sometimes Jellyfin doesnt run. I've trying to get a scheudled task going. I found one in another reddit for plex which is below. Any one have any ideas on home to edit. I've have changed all the plex references to jellyfin and asked for it to send an email when it goes wrong but hopefully someone here can have a look please. #!/bin/bashecho Checking if plex is running...#if /usr/syno/bin/synopkg is_onoff "Plex Media Server" > /dev/nullif echo > /dev/tcp/127.0.0.1/32400 > /dev/nullthenecho Plex is running.exit 0elseecho Plex is not running. Will attempt to start it.echoecho --------------------Last 20 log entries--------------------tail -20 /volume1/PlexMediaServer/AppData/Plex\ Media\ Server/Logs/Plex\ Media\ Server.logecho --------------------End of log--------------------echo/usr/syno/bin/synopkg stop "PlexMediaServer"sleep 5/usr/syno/bin/synopkg start "PlexMediaServer"exit 1fi RE: JEllyfin no stating on Synology - TheDreadPirate - 2024-02-09 Change the port from 32400 to 8096? RE: JEllyfin no stating on Synology - cackmobile - 2024-02-09 YEah, i changed it to my ip address and port. YOu reckon thats it? RE: JEllyfin no stating on Synology - TheDreadPirate - 2024-02-09 (2024-02-09, 01:07 AM)cackmobile Wrote: YEah, i changed it to my ip address and port. YOu reckon thats it? I have no idea. The script should be in a code block and formatted properly. Hard to make heads or tails of it. What you should be doing is figuring out why it doesn't start. If you are running it as a docker container, make sure that the restart behavior is "always" instead of "unless-stopped". When you shut down that counts as "unless-stopped" and won't start up next time your NAS boots. RE: JEllyfin no stating on Synology - tmsrxzar - 2024-02-09 (2024-02-09, 01:34 AM)TheDreadPirate Wrote: I have no idea. The script should be in a code block and formatted properly. Hard to make heads or tails of it. i think this is the pertinent portion Quote:/usr/syno/bin/synopkg start "PlexMediaServer" not a synology user but by the executable name it would be used to start a synology package (synopkg) https://linuxcommandlibrary.com/man/synopkg appears the user didn't follow the instructions to install as a docker https://jellyfin.org/docs/general/installation/synology and instead installed some synology package version or community edition package? best bet; track down the developer who made the package or install using the official image and docs |