turnkeylinux / tracker

TurnKey Linux Tracker
https://www.turnkeylinux.org
70 stars 16 forks source link

Mediaserver PVE/LXC - Jellyfin not installed!? #1974

Open JedMeister opened 3 months ago

JedMeister commented 3 months ago

It has been reported on our forums that Jellyfin wasn't running and trying to restart the service fails. It's ok in the ISO, just not the PVE container build.

After having a closer look, I can see that the Jellyfin packages are actually being removed during the LXC build!? I'm not why, but it's clear from the PVE/LXC build log that it is:

INFO [purge-pkgs]: Purging packages:  di-live live-boot live-tools live-boot-initramfs-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  di-live* jellyfin-server* jellyfin-web* libllvm16* live-boot*
  live-boot-initramfs-tools* live-tools*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 337 MB disk space will be freed.
(Reading database ... 100%
Removing di-live (1.0.2) ...
Removing jellyfin-server (10.9.6+deb12) ...
Stopping Jellyfin!
Removing jellyfin-web (10.9.6+deb12) ...
Removing libllvm16:amd64 (1:16.0.6-15~deb12u1) .
JedMeister commented 2 months ago

Looks like this is because we are manually installing jellyfin-ffmpeg5 but the ffmpeg jellyfin dependency is now jellyfin-ffmpeg6. When apt-get autoremove is run in bt-container, jellyfin-xxx are removed... Just installing the jellyfin package should resolve this - and pull in the correct dep, thus not removing the required packages when auto remove is run.