• 0 Posts
  • 1 Comment
Joined 1 month ago
cake
Cake day: November 14th, 2024

help-circle
  • I just wanted to post this if anybody else has the same problem. After updating to 10.10.2 the jellyfin service would exit after a short time after trying “Applying migration '“RemoveDuplicatePlaylistChildren””. My jellyfin user didn’t have write privileges for some of my library directory’s I added some time ago. To fix just make sure the user running jellyfin has write access to all your media directory’s So maybe this will help somebody else who is googling for this.

    This was the status of the systemd service:

    systemctl status jellyfin.service 
    * jellyfin.service - Jellyfin Media Server
         Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                 `-jellyfin.service.conf
         Active: inactive (dead) since Mon 2024-11-18 16:31:18 CET; 2min 2s ago
       Duration: 2.717s
        Process: 8482 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: 8482 (code=exited, status=0/SUCCESS)
            CPU: 2.439s
    
    Nov 18 16:31:18 home-server jellyfin[8482]:    at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
    Nov 18 16:31:18 home-server jellyfin[8482]:    at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
    Nov 18 16:31:18 home-server jellyfin[8482]:    at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    Nov 18 16:31:18 home-server jellyfin[8482]: [16:31:18] [INF] Running query planner optimizations in the database... This might take a while
    Nov 18 16:31:18 home-server jellyfin[8482]: [16:31:18] [INF] Disposing CoreAppHost
    Nov 18 16:31:18 home-server jellyfin[8482]: [16:31:18] [INF] Disposing MusicBrainzArtistProvider
    Nov 18 16:31:18 home-server jellyfin[8482]: [16:31:18] [INF] Disposing MusicBrainzAlbumProvider
    Nov 18 16:31:18 home-server jellyfin[8482]: [16:31:18] [INF] Disposing PluginManager
    Nov 18 16:31:18 home-server systemd[1]: jellyfin.service: Deactivated successfully.
    Nov 18 16:31:18 home-server systemd[1]: jellyfin.service: Consumed 2.439s CPU time.