Plex doesn't start up after upgrade to 1.30.1.6562

Server Version#:1.30.1.6562
Player Version#:

I am running Plex on a Raspberry Pi. After years of succesful running and updating on this machine I encounter a problem after updating from 1.29 to 1.30.

Blockquote

[root@d39 system]# service plexmediaserver status
Redirecting to /bin/systemctl status plexmediaserver.service
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since zo 2023-01-22 10:21:33 CET; 22min ago
Process: 10816 ExecStart=/bin/sh -c PLEX_MEDIA_SERVER_INFO_VENDOR=“$(grep ^NAME= /etc/os-release | awk -F= “{print $2}” | tr -d " )” PLEX_MEDIA_SERVER_INFO_DEVICE=“PC” PLEX_MEDIA_SERVER_INFO_MODEL=“$(uname -m)” PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION=“$(grep ^VERSION= /etc/os-release | awk -F= “{print $2}” | tr -d " )” “/usr/lib/plexmediaserver/Plex Media Server” (code=killed, signal=ABRT)
Process: 10813 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code=exited, status=0/SUCCESS)
Main PID: 10816 (code=killed, signal=ABRT)

jan 22 10:21:28 dxxx.com systemd[1]: Unit plexmediaserver.service entered failed state.
jan 22 10:21:28 dxxx.com systemd[1]: plexmediaserver.service failed.
jan 22 10:21:33 dxxx.com systemd[1]: start request repeated too quickly for plexmediaserver.service
jan 22 10:21:33 dxxx.com systemd[1]: Failed to start Plex Media Server.
jan 22 10:21:33 dxxx.com systemd[1]: Unit plexmediaserver.service entered failed state.
jan 22 10:21:33 dxxx.com systemd[1]: plexmediaserver.service failed.
[root@d39 system]#

Blockquote

Blockquote
[root@d39 system]# cat /etc/os-release
NAME=“ClearOS”
VERSION=“7 (Final)”
ID=“clearos”
ID_LIKE=“rhel fedora”
VERSION_ID=“7”
PRETTY_NAME=“ClearOS 7 (Final)”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:clearos:clearos:7”
HOME_URL=“https://www.clearos.com/
BUG_REPORT_URL=“https://tracker.clearos.com/

Blockquote

systemd status info isn’t enough to know what’s wrong

Make a tar.gz of the “Logs” directory under “Plex Media Server” and attach

RoelvdhPlex.tar.gz (4.2 MB)

Note: Depending on WHERE you are downloading the plex (PMS) installer FROM for your respective architecture (ARM or x86 or x64) / NAS model / OS, I have noticed in the last couple of months that the installer file may download as a *.TAR file from the Downloads page while from other locations (like from inside the Plex Media Server UI where you can choose to download the latest Public or Beta build), the exact same build will download as a *TGZ file. Obviously installer scripts do not treat *.TAR and *.TGZ files the same. I found success by RENAMING the downloaded *.TAR file to be *.TGZ. Hope this helps.

@roelvdh

Someone’s been playing in /var/lib/plexmediaserver :angry:

Jan 22, 2023 10:21:28.299 [0x7fad46ca40d0] ERROR - FATAL ERROR: Codecs: Initialize: 'boost::filesystem::create_directory: Permission denied: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/CL-ICDs"'

You need to do a full sudo chown -R of /var/lib/plexmediaserver

You likely need to do the following too:

sudo find /var/lib/plexmediaserver -type d -exec chmod 755 {} \;
sudo find /var/lib/plexmediaserver -type f -exec chmod 644 {} \;

That worked. Thank you for excellent and very fast support.