PMS won't start after upgrade to Ubuntu 24.04

Got it! Will do-- annoyingly I JUST fresh-installed 22.04 a few weeks ago due to a totally unrelated problem. Guess I will do it again

Extra Practice makes Extra Perfect

:rofl:

ps: I’m waiting on 26.04, or even 28.04 before moving from 22.04

1 Like

Oh you know one thing I just thought of though I don’t know if ti makes a difference.

My /var/lib/plexmediaserver symlinks into /mnt/plexdata because I put it on a SSD. Do you think that could cause an issue?

Holy hell..

That’s important.

Stop the presses!!!

I’m willing to bet you don’t have /mnt/plexdata nounted with exec privilege. ???

Time to fix this the right way.

  1. With PMS stopped
  2. Remove the symlink
  3. Recreate /var/lib/plexmediaserver and set owner plex:plex
    ( Required to have a real $HOME directory )
  4. Create:
    – /etc/systemd/system/plexmediaserver.service.d/override.conf
  5. Contents:
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/mnt/plexdata/Library/Application Support"
  1. EDIT the /etc/fstab line for /mnt/plexdata . ADD ,exec option

Confirm the path above. Adjust as appropriate.

Ref:

1 Like

I did all that but alas, same error upon reboot.

grab one last set of logs from ā€œLogsā€. Let’s see if any change.

What I’m reading is AppArmour being hostile. I’ve never seen it this way before.
There are a lot of folks using 24.04.

This is what I don’t understand.

When you reinstall 22.04, Install the DEFAULT (Minimal) Gnome desktop with the new /partition scheme (ā€œsomething elseā€ option)

1 Like

Logs.tar.gz (117.7 KB)

For funsies I tried to disable app armor via GRUB_CMDLINE_LINUX="apparmor=0" and a reboot, still doesnt work

it’s too interwoven into the whole thing. You can’t disable it.

Womp. Well I am standing by to do your instructions if those Logs come back with nothing helpful either.

what are all those containers you’re running.

What I’m finding now:

Start: 17:47:27.534
Aborted: 17:47:30.264

PMS has signal traps built in. This termination is so hostile, it can’t even exit cleanly.

It’s time

:collision:

1 Like

Off we go! Appreciate the help none the less, I guess better it happens now before I get more stuff set up and have to redo more…

Hours wasted but im back up on 22.04!

All good and running?

Did you create /home partition?
Put APP SUPP Dir in /home/plex ?

For laughs, this is my PMS.

[chuck@lizum ~.2001]$ cat /etc/systemd/system/plexmediaserver.service.d/override.conf 
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/usb/plex"
User=chuck
Group=chuck
[chuck@lizum ~.2002]$

/usb is a NVMe SSD on USB3 type C :slight_smile:

Looks like this:

[chuck@lizum ~.2004]$ df -h
Filesystem                    Size  Used Avail Use% Mounted on
efivarfs                      192K  116K   72K  63% /sys/firmware/efi/efivars
/dev/nvme0n1p2                122G   33G   90G  27% /
/dev/nvme0n1p4                1.0T  363G  661G  36% /home
/dev/nvme0n1p1                499M   65M  434M  13% /boot/efi
/dev/nvme2n1p1                931G  144G  788G  16% /sata
/dev/nvme2n1p2                932G  251G  681G  27% /usb
Incus/containers/plexdev      915G  1.1G  914G   1% /var/lib/incus/storage-pools/Incus/containers/plexdev
Incus/containers/rocky9       915G  602M  914G   1% /var/lib/incus/storage-pools/Incus/containers/rocky9
Incus/containers/wirepod      915G  978M  914G   1% /var/lib/incus/storage-pools/Incus/containers/wirepod
[chuck@lizum ~.2005]$ sudo dd if=/dev/nvme2n1 iflag=direct of=/dev/null bs=4M count=5000
5000+0 records in
5000+0 records out
20971520000 bytes (21 GB, 20 GiB) copied, 4.30683 s, 4.9 GB/s
[chuck@lizum ~.2006]$

I am back in up and running yep!

Also I am 99% sure I figure out the issue, when I installed my Nvidia graphics driver, things stopped working again, downgraded and works fine. So I suspect 24.04 would have the same issue If I was brave enough to try and upgrade again, which im not.

Oh? Which Nvidia driver did you install?

`nvidia-driver-570’ from apt is what I installed originally, I believe

Ahh, that explains it.

I have the RTX 2000 ada gen. I’m running the 565 drivers. (565.77)
With the P2200 , I run the 550 drivers. (550.120)

I would consider backing down off the 570 ledge. It’s new & somewhat Bleeding Edge.

Yeah I think I just picked it because it was new… too bad I didnt figure that out before I reinstalled 22.04, oh well. You live and you learn.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.