• 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 General Questions Failed to start jellyfin.service - Jellyfin Media Server.

    Pages (4): 1 2 3 4 Next »

     
    • 0 Vote(s) - 0 Average

    Failed to start jellyfin.service - Jellyfin Media Server.

    rahulsharma49
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #1
    2024-06-01, 08:37 AM (This post was last modified: 2025-02-13, 08:44 AM by Efficient_Good_5784. Edited 2 times in total.)
    All of sudden I am not able to start my Jellyfin server.

    I am getting error as -

    Failed to start jellyfin.service - Jellyfin Media Server.

    Please see below screenshot for better understanding

    https://imgur.com/a/ju3huyA


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-01, 05:49 PM
    Run this command so we can get more info.

    sudo journalctl -u jellyfin

    It will put in you in text editor like interface. Press shift+g to go to the bottom. Copy and paste the last ~100 lines into pastebin and share the link back here.
    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]
    rahulsharma49
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #3
    2024-06-02, 04:46 AM
    Here you go -

    https://pastebin.com/DZ5af7Xm
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-02, 05:12 AM (This post was last modified: 2024-06-02, 05:12 AM by TheDreadPirate.)
    Go to /etc/jellyfin. Are any of the XMLs empty? migrations.xml?
    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]
    rahulsharma49
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #5
    2024-06-02, 05:51 AM
    yes, its there
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-06-02, 03:35 PM
    But is the file size empty? Are any of the XML files in that directory empty? As in the file size is zero?
    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]
    rahulsharma49
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #7
    2024-06-02, 04:47 PM
    migration.xml was empty so i took backup of it and restarted jellyfin so it created a new migration.xml with following contents -



    <?xml version="1.0" encoding="utf-8"?>
    <MigrationOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Applied>
    <ValueTupleOfGuidString>
    <Item1>9b354818-94d5-4b68-ac49-e35cb85f9d84</Item1>
    <Item2>CreateNetworkConfiguration</Item2>
    </ValueTupleOfGuidString>
    <ValueTupleOfGuidString>
    <Item1>a6dcacf4-c057-4ef9-80d3-61cef9ddb4f0</Item1>
    <Item2>MigrateMusicBrainzTimeout</Item2>
    </ValueTupleOfGuidString>
    <ValueTupleOfGuidString>
    <Item1>4fb5c950-1991-11ee-9b4b-0800200c9a66</Item1>
    <Item2>MigrateNetworkConfiguration</Item2>
    </ValueTupleOfGuidString>
    <ValueTupleOfGuidString>
    <Item1>4124c2cd-e939-4ffb-9be9-9b311c413638</Item1>
    <Item2>DisableTranscodingThrottling</Item2>
    </ValueTupleOfGuidString>
    <ValueTupleOfGuidString>
    <Item1>ef103419-8451-40d8-9f34-d1a8e93a1679</Item1>
    <Item2>CreateLoggingConfigHeirarchy</Item2>
    </ValueTupleOfGuidString>
    </Applied>
    </MigrationOptions>



    that folder has system.xml and network.xml but they are not empty.

    now when jellyfin has created a new migration.xml, here is what i am getting as error -

    $ sudo service jellyfin status
    ○ 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 Sun 2024-06-02 14:31:43 IST; 7h ago
    Duration: 2.295s
    Process: 17595 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=exited, status=0/SUCCESS)
    Main PID: 17595 (code=exited, status=0/SUCCESS)
    CPU: 2.315s

    Jun 02 14:31:43 homeserver jellyfin[17595]: at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, IL>
    Jun 02 14:31:43 homeserver jellyfin[17595]: at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
    Jun 02 14:31:43 homeserver jellyfin[17595]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    Jun 02 14:31:43 homeserver jellyfin[17595]: [14:31:43] [INF] Running query planner optimizations in the database... This might take a while
    Jun 02 14:31:43 homeserver jellyfin[17595]: [14:31:43] [INF] Disposing CoreAppHost
    Jun 02 14:31:43 homeserver jellyfin[17595]: [14:31:43] [INF] Disposing MusicBrainzArtistProvider
    Jun 02 14:31:43 homeserver jellyfin[17595]: [14:31:43] [INF] Disposing MusicBrainzAlbumProvider
    Jun 02 14:31:43 homeserver jellyfin[17595]: [14:31:43] [INF] Disposing PluginManager
    Jun 02 14:31:43 homeserver systemd[1]: jellyfin.service: Deactivated successfully.
    Jun 02 14:31:43 homeserver systemd[1]: jellyfin.service: Consumed 2.315s CPU time, 60.9M memory peak, 0B memory swap peak.
    lines 1-20/20 (END)


    On sudo journalctl -u jellyfin, getting this - https://pastebin.com/gcFsM1Lx
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-06-02, 05:21 PM
    Those logs are from June 1. You need to press shift+g to go to the bottom. /var/log/jellyfin should also have some logs now.
    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]
    rahulsharma49
    Offline

    Junior Member

    Posts: 12
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    #9
    2024-06-02, 05:28 PM
    Here you go


    https://pastebin.com/mACn6j3k
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-06-02, 05:32 PM
    Did your disk fill up?

    Code:
    Jun 02 14:31:43 homeserver jellyfin[17595]: [14:31:43] [FTL] Error while starting server
    Jun 02 14:31:43 homeserver jellyfin[17595]: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: ActivityLog'.

    Looks like your database was corrupted or truncated. Do you have backups?
    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]
    Pages (4): 1 2 3 4 Next »

    « 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