• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting JEllyfin no stating on Synology

     
    • 0 Vote(s) - 0 Average

    JEllyfin no stating on Synology

    SOmetimes it doesnt run on NAS restart
    cackmobile
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:Australia
    #1
    2024-02-09, 12:26 AM
    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 Pouting-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-02-09, 12:58 AM
    Change the port from 32400 to 8096?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    cackmobile
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:Australia
    #3
    2024-02-09, 01:07 AM
    YEah, i changed it to my ip address and port. YOu reckon thats it?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-02-09, 01:34 AM
    (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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #5
    2024-02-09, 02:10 AM
    (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.

    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.

    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
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode