Upgrade to 1.22.1.4200 Failed

Not sure where else to post this, but had issue when upgrading to 1.22.1.4200.
Downgraded back to 1.22.0.4163 and running again.
Sharing for awareness.

Pi Server Info
Linux hostname 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l
description: ARMv7 Processor rev 3 (v7l)
product: Raspberry Pi 4 Model B Rev 1.1
serial: 100000008fc0a1b7
width: 32 bits

Running plexmediaserver_1.22.0.4163-d8c4875dd_armhf.deb

Installed plexmediaserver_1.22.1.4200-c073686f2_armhf.deb

After install completed, Plex not available.
Rebooted server, Plex still not available.

Downgraded back to plexmediaserver_1.22.0.4163-d8c4875dd_armhf.deb
Plex still not available.
Rebooted server, Plex is available again.

In case of corrupted .deb download, I removed plexmediaserver_1.22.1.4200-c073686f2_armhf.deb and downloaded a fresh copy.

Installed fresh plexmediaserver_1.22.1.4200-c073686f2_armhf.deb
Same result, Plex not available.
Downgraded to plexmediaserver_1.22.0.4163-d8c4875dd_armhf.deb
Rebooted server, Plex available.

Need more information please

ZIP (or tar.gz) of the Logs directory.

Plex Media Server Logs_2021-03-17_11-07-16.zip (4.7 MB)

Zipped logs uploaded.

@mat3hew

Are you comfortable with a little command line work to capture the console output?

  1. Open terminal window
  2. Without setting any environment variables,
  3. “/usr/lib/plexmediaserver/Plex Media Server”
  4. It will load PMS and run as that user ; placing the Library directory in $HOME
  5. (if your existing Library tree is in $HOME, it will use it)
  6. Copy/Paste the output. I’m expecting 1 of 2 errors. I’m curious which it is.

Output of
‘/usr/lib/plexmediaserver/Plex Media Server’

$ ‘/usr/lib/plexmediaserver/Plex Media Server’
Error in command line:the argument for option ‘–serverUuid’ should follow immediately after the equal sign
Crash Uploader options (all are required):
–directory arg Directory to scan for crash reports
–serverUuid arg UUID of the server that crashed
–userId arg User that owns this product
–platform arg Platform string
–platformVersion arg Platform version string
–vendor arg Vendor string
–device arg Device string
–model arg Device model string
–sentryUrl arg Sentry URL to upload to
–sentryKey arg Sentry Key for the project
–version arg Version of the product
–allowRetries arg Whether we will allow retries
Error: Unable to set up server: listen: Address already in use (N5boost10wrapexceptINS_6system12system_errorEEE)

the last 2 lines tell us what’s happening.

You still have a server process running.

Error: Unable to set up server: listen: Address already in use (N5boost10wrapexceptINS_6system12system_errorEEE)

Run ps -ef | grep -i plex

Yes, I downgraded to previous version and Plex is running.
4200 is not currently installed.

If you like, I can upgrade to 4200 again and perform the same steps.
Will need to wait til tomorrow.

Let’s back up here a bit and get on stable footing.

  1. Stop Plex
  2. Install 4200
  3. Start Plex normally (presume Debian?)
  4. If it fails to start (check ps -ef | grep plex), open a terminal window
  5. Now, in that terminal window, Manually invoke the server again without environment configured.

I want to confirm there is not a problem with the executable & compatibility with the host.

Once that’s confirmed, we can then go toward your PMS and system logs (journalctl) to find out why it’s not liking anything.

Chuck I’m having the same issue with the docker version. Just FYI.

@climber455

I need something which shows an error of some type.

Is there anything in the docker logs as it tries to start or in the PMS logs?

I’ve heard “It’s broken” FYI. :wink:

1.22.1.4200 has also failed on my raspberry pi. Here’s what I’m seeing from running sudo systemctl status plexmediaserver:

plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2021-03-17 14:17:39 PDT; 3min 22s ago
  Process: 11409 ExecStart=/bin/sh -c  export PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \$2}" | tr -d \" )";  export PLEX_MEDIA_SERVER_INFO_DEVICE="PC";  e
  Process: 11405 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/
 Main PID: 11409 (code=exited, status=127)

Mar 17 14:17:34 raspberrypi systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Mar 17 14:17:39 raspberrypi systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Mar 17 14:17:39 raspberrypi systemd[1]: Stopped Plex Media Server.
Mar 17 14:17:39 raspberrypi systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Mar 17 14:17:39 raspberrypi systemd[1]: Failed to start Plex Media Server.
Mar 17 14:17:39 raspberrypi systemd[1]: plexmediaserver.service: Unit entered failed state.
Mar 17 14:17:39 raspberrypi systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.

And from journalctl -xe | grep -i plex:

Mar 17 14:17:34 raspberrypi systemd[1]: Starting Plex Media Server...
-- Subject: Unit plexmediaserver.service has begun start-up
-- Unit plexmediaserver.service has begun starting up.
Mar 17 14:17:34 raspberrypi systemd[1]: Started Plex Media Server.
-- Subject: Unit plexmediaserver.service has finished start-up
-- Unit plexmediaserver.service has finished starting up.
Mar 17 14:17:34 raspberrypi Plex Media Server[11409]: /usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libicudataplex.so.67: cannot open shared object file: No such file or directory
Mar 17 14:17:34 raspberrypi systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=127/n/a
Mar 17 14:17:34 raspberrypi systemd[1]: plexmediaserver.service: Unit entered failed state.
Mar 17 14:17:34 raspberrypi systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Mar 17 14:17:39 raspberrypi systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Mar 17 14:17:39 raspberrypi systemd[1]: Stopped Plex Media Server.
-- Subject: Unit plexmediaserver.service has finished shutting down
-- Unit plexmediaserver.service has finished shutting down.
Mar 17 14:17:39 raspberrypi systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Mar 17 14:17:39 raspberrypi systemd[1]: Failed to start Plex Media Server.
-- Subject: Unit plexmediaserver.service has failed
-- Unit plexmediaserver.service has failed.
Mar 17 14:17:39 raspberrypi systemd[1]: plexmediaserver.service: Unit entered failed state.
Mar 17 14:17:39 raspberrypi systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Mar 17 14:21:02 raspberrypi sudo[11609]:     root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl status plexmediaserver

Not really, it just says this…

Attempting to upgrade to: 1.22.1.4200-c073686f2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
Selecting previously unselected package plexmediaserver.
(Reading database … 7262 files and directories currently installed.)
Preparing to unpack /tmp/plexmediaserver.deb …
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Docker detected. Preinstallation validation not required.
Unpacking plexmediaserver (1.22.1.4200-c073686f2) …
Setting up plexmediaserver (1.22.1.4200-c073686f2) …
PlexMediaServer install: Docker detected. Postinstallation tasks not required. Continuing.
Processing triggers for libc-bin (2.31-0ubuntu9.1) …
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
[services.d] done.

Then for the docker image itself it says “unhealthy,” whatever that means.

image

There is no log file activity ? (manually inspect please)

We’re looking at one possible cause. I’m trying to determine scope and severity

Plex Media Server.log (9.3 KB)

Here’s the PMS log after the update, not sure if it provides any useful information though.

You don’t have a regular PMS host ? This is docker?

4200 has dB changes which can take a long time to finish.

Mine took 15+ minutes to finish and for pms to load.

Installed 4200.
Let is sit overnight.
Plex does not run.
Rebooted.
Still does not run.

Outputs:

$ ps -ef | grep plex
avahi 385 1 0 09:14 ? 00:00:00 avahi-daemon: running [plexpi.local]
pi 1046 1034 1 09:15 pts/0 00:00:00 grep --color=auto plex

$ ‘/usr/lib/plexmediaserver/Plex Media Server’
/usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libicudataplex.so.67: cannot open shared object file: No such file or directory

journalctl.txt (79.6 KB)

Output of journalctl -xe | grep -i plex attached.

Have the same issue on Raspberry Pi 4. Upgrading to 1.22.1.4200 makes the server unavailable. I waited several hours after the update, rebooted the device, waited more, but no luck. I had to downgrade to a “stable” version.