• 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 Networking & Access Server stops working every 30 min outside of house?

     
    • 0 Vote(s) - 0 Average

    Server stops working every 30 min outside of house?

    Leafies121
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #1
    2024-02-12, 07:50 PM
    So my jellyfin server works great except when i try to access it outside of the house ie different network it doesnt load at all if i teamviewer into the pc and reset the server itll work great for another 30 min, meanwhile locally it works completely fine
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-02-12, 08:32 PM
    30m seems oddly specific
    do you have power saving enabled anywhere on your server? drives, network?
    Leafies121
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #3
    2024-02-12, 09:12 PM
    (2024-02-12, 08:32 PM)tmsrxzar Wrote: 30m seems oddly specific
    do you have power saving enabled anywhere on your server? drives, network?

    I dont have power saving and i should have said approximately 30 min
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-02-12, 09:22 PM (This post was last modified: 2024-02-12, 09:22 PM by TheDreadPirate.)
    This, 100%, sounds like it is entering a low power state even if it isn't straight up going to sleep. Jellyfin can't make your server sleep nor keep it awake if it isn't active. Go into the power settings and make sure the network, CPU, and storage devices never go to sleep.
    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]
    Leafies121
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #5
    2024-02-16, 03:43 AM (This post was last modified: 2024-02-16, 03:44 AM by Leafies121. Edited 1 time in total.)
    well this worked initially, and then windows did a massive update (not 11 thank god.) and even though hdd and network are set to never sleep it still happens now. i then learned task scheduler is just super broken in windows 10 now so i cant even set a task to restart JF every 20 min. this is probably the worst workaround to use but heres what i did.

    I made a batch file that counts down and resets jellyfin every 19 min, kills the old processes and starts it again. and added that to startup.

    Code:
    @echo off
    Title JellyFin Auto Reboot
    G:
    cd "G:\program files\jellyfin"
    :repeat
    REM Countdown timer for 19 minutes
    set /a "minutes=19"
    set /a "seconds=00"

    :countdown
    cls
    echo Rebooting Jellyfin in %minutes% minutes and %seconds% seconds.
    timeout /t 1 >nul
    set /a "seconds-=1"

    if %seconds% equ -1 (
        set /a "minutes-=1"
        set "seconds=59"
    )

    if %minutes% geq 0 goto countdown
    echo Rebooting JellyFin
    taskkill /f /im jellyfin.windows.tray.exe
    taskkill /f /im jellyfin.exe
    start jellyfin.lnk
    goto repeat
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-02-16, 03:50 AM
    But what if you're using Jellyfin? Won't this kill it? Also, this sounds like a recipe to corrupt your database.
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-02-16, 03:56 AM
    Are you using automatic port mapping? IIRC, the uPnP timeout on most routers is 30 minutes.
    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]
    Leafies121
    Offline

    Junior Member

    Posts: 18
    Threads: 8
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #8
    2024-02-17, 01:49 AM
    so it'll kill it for a fraction of a second. usually only noticeable on browsing. i set up the port forwarding in the router myself but i didnt see anything for timeout.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-02-17, 01:57 AM
    The timeout I was talking about only applies for uPnP, which is what "automatic port mapping" is referring to in Jellyfin's settings..
    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]
    « 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