• 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 SOLVED: Jellyfin Inactive after troubleshooting

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin Inactive after troubleshooting

    G_O_B_L_N
    Offline

    Junior Member

    Posts: 24
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #1
    2024-09-13, 05:14 PM
    Hi All,

    after having issues with memory, which i have fixed, on my ubuntu server running jellyfin, it now registers as inactive (code snipit below):

    Code:
    ○ jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: inactive (dead) since Fri 2024-09-13 07:01:19 UTC; 9h ago
      Duration: 6.848s
        Process: 62500 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_N>
      Main PID: 62500 (code=exited, status=0/SUCCESS)
            CPU: 6.566s

    Sep 13 07:01:19 colin jellyfin[62500]:    at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRou>
    Sep 13 07:01:19 colin jellyfin[62500]:    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFa>
    Sep 13 07:01:19 colin jellyfin[62500]:    at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, Star>
    Sep 13 07:01:19 colin jellyfin[62500]: [07:01:19] [INF] Running query planner optimizations in the database... This mig>
    Sep 13 07:01:19 colin jellyfin[62500]: [07:01:19] [INF] Disposing CoreAppHost
    Sep 13 07:01:19 colin jellyfin[62500]: [07:01:19] [INF] Disposing MusicBrainzArtistProvider
    Sep 13 07:01:19 colin jellyfin[62500]: [07:01:19] [INF] Disposing MusicBrainzAlbumProvider
    Sep 13 07:01:19 colin jellyfin[62500]: [07:01:19] [INF] Disposing PluginManager
    Sep 13 07:01:19 colin systemd[1]: jellyfin.service: Deactivated successfully.
    Sep 13 07:01:19 colin systemd[1]: jellyfin.service: Consumed 6.566s CPU time, 51.4M memory peak, 0B memory swap peak.

    this is after reapplying the etc, cashe, and lib priverages along with a fresh install and recreating the migration.xml file. I would really appreciate some guidance as this is the first server i have built using ubuntu server 24.04.1. i can also supply the most recent log file if needed
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-13, 05:22 PM (This post was last modified: 2024-09-13, 05:22 PM by TheDreadPirate.)
    If you had memory issues before, was Jellyfin crashing ungracefully? I'm wondering if your database is corrupt. If you simply uninstalled then reinstalled jellyfin without purging, your corrupt database is still present.

    If this is a fresh install, as in you don't have any data in Jellyfin worth keeping, we can try purging jellyfin.
    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]
    G_O_B_L_N
    Offline

    Junior Member

    Posts: 24
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #3
    2024-09-13, 05:34 PM
    Hi,

    I did run the purge. the reason for the drop was I was transferring over a show through winscp and it errored during the transfer due to lake of space on the partision. this has been expanded now but had restarted the jellyfin and was getting a coredump (below):

    Code:
    × jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: core-dump) since Thu 2024-09-12 19:51:47 UTC; 6min ago
      Duration: 1.551s
        Process: 11934 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_N>  Main PID: 11934 (code=dumped, signal=ABRT)
            CPU: 995ms

    Sep 12 19:51:47 colin systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Sep 12 19:51:47 colin systemd[1]: jellyfin.service: Start request repeated too quickly.
    Sep 12 19:51:47 colin systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Sep 12 19:51:47 colin systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
    lines 1-14/14 (END)...skipping...
    × jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: core-dump) since Thu 2024-09-12 19:51:47 UTC; 6min ago
      Duration: 1.551s
        Process: 11934 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=dumped, signal=ABRT)
      Main PID: 11934 (code=dumped, signal=ABRT)
            CPU: 995ms

    Sep 12 19:51:47 colin systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Sep 12 19:51:47 colin systemd[1]: jellyfin.service: Start request repeated too quickly.
    Sep 12 19:51:47 colin systemd[1]: jellyfin.service: Failed with result 'core-dump'.
    Sep 12 19:51:47 colin systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.

    note that this was before renaming the migration.xml, which is were it went inactive. i have also run the install again after your suggestion and still have had no luck
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-13, 05:47 PM
    How did you purge jellyfin? "sudo apt purge jellyfin"? I'm not actually sure if apt purge removes the data directory.

    Code:
    sudo mv /var/lib/jellyfin /var/lib/backupJellyfin
    sudo mv /etc/jellyfin /etc/backupJellyfin
    sudo systemctl start jellyfin
    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]
    G_O_B_L_N
    Offline

    Junior Member

    Posts: 24
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #5
    2024-09-13, 05:52 PM
    Looks like we're getting somewhere 

    Code:
    × jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: failed (Result: exit-code) since Fri 2024-09-13 17:49:50 UTC; 2s ago
      Duration: 5ms
        Process: 103603 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=exited, status=200/CHDIR)
      Main PID: 103603 (code=exited, status=200/CHDIR)
            CPU: 2ms

    Sep 13 17:49:50 colin systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
    Sep 13 17:49:50 colin systemd[1]: jellyfin.service: Start request repeated too quickly.
    Sep 13 17:49:50 colin systemd[1]: jellyfin.service: Failed with result 'exit-code'.
    Sep 13 17:49:50 colin systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.

    would you be able to advise on the exit-code please?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-09-13, 06:00 PM
    Run this command and copy and paste it to pastebin.com.

    Code:
    sudo journalctl -u jellyfin -n 200 --no-pager
    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]
    G_O_B_L_N
    Offline

    Junior Member

    Posts: 24
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #7
    2024-09-13, 06:06 PM
    Paste link is below:

    https://pastebin.com/is3zMUAP
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-09-13, 06:34 PM
    Copy and paste these commands.

    Code:
    sudo apt purge jellyfin*
    sudo rm -rf /var/lib/jellyfin /etc/jellyfin /var/cache/jellyfin /usr/share/jellyfin
    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
    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]
    G_O_B_L_N
    Offline

    Junior Member

    Posts: 24
    Threads: 3
    Joined: 2024 Sep
    Reputation: 0
    Country:United Kingdom
    #9
    2024-09-13, 06:58 PM
    Thats worked. thank you so much
    « 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