(2024-08-28, 11:18 PM)TheDreadPirate Wrote: Go to /etc/jellyfin in the LXC and if migrations.xml is zero bytes, delete the file and restart Jellyfin.o.k. that fixed the not starting issue for me after upgrading to 10.10.
It now starts, but soon dies - goes from
Active: active (running) since Tue 2024-11-05 22:08:05 CET; 10s ago
to
Active: inactive (dead) since Tue 2024-11-05 22:09:23 CET; 34s ago
Why is this happening - how can it be fixed to get it up, keep it up and become reachable again?
Code:
root@jellyfin:/var/log/jellyfin# systemctl status jellyfin
● jellyfin.service - Jellyfin Media Server
Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─jellyfin.service.conf
Active: inactive (dead) since Tue 2024-11-05 22:20:47 CET; 2min 29s ago
Process: 132 ExecStartPre=/bin/mkdir -p /var/log/jellyfin (code=exited, status=0/SUCCESS)
Process: 137 ExecStartPre=/bin/chown jellyfin:jellyfin /var/log/jellyfin (code=exited, status=0/SUCCESS)
Process: 138 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: 138 (code=exited, status=0/SUCCESS)
CPU: 9.577s
Nov 05 22:20:47 jellyfin jellyfin[138]: at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
Nov 05 22:20:47 jellyfin jellyfin[138]: at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
Nov 05 22:20:47 jellyfin jellyfin[138]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Nov 05 22:20:47 jellyfin jellyfin[138]: [22:20:47] [INF] Running query planner optimizations in the database... This might take a while
Nov 05 22:20:47 jellyfin jellyfin[138]: [22:20:47] [INF] Disposing CoreAppHost
Nov 05 22:20:47 jellyfin jellyfin[138]: [22:20:47] [INF] Disposing MusicBrainzArtistProvider
Nov 05 22:20:47 jellyfin jellyfin[138]: [22:20:47] [INF] Disposing MusicBrainzAlbumProvider
Nov 05 22:20:47 jellyfin jellyfin[138]: [22:20:47] [INF] Disposing PluginManager
Nov 05 22:20:47 jellyfin systemd[1]: jellyfin.service: Succeeded.
Nov 05 22:20:47 jellyfin systemd[1]: jellyfin.service: Consumed 9.577s CPU time.
could the kept back upgrade be the cause?
Code:
root@jellyfin:/var/log/jellyfin# apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:4 https://downloads.plex.tv/repo/deb public InRelease
Get:5 https://repo.jellyfin.org/debian bullseye InRelease [6,663 B]
Fetched 50.7 kB in 1s (54.3 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@jellyfin:/var/log/jellyfin# apt list --upgradable
Listing... Done
jellyfin/unknown 10.10.1+deb11 all [upgradable from: 10.9.11+deb11]
N: There is 1 additional version. Please use the '-a' switch to see it
root@jellyfin:/var/log/jellyfin# apt list --upgradable -a
Listing... Done
jellyfin/unknown 10.10.1+deb11 all [upgradable from: 10.9.11+deb11]
jellyfin/now 10.9.11+deb11 all [installed,upgradable to: 10.10.1+deb11]
root@jellyfin:/var/log/jellyfin# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
jellyfin
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@jellyfin:/var/log/jellyfin#
~R.