Plex Media Server will not start after update

Server Version#: plexmediaserver:amd64 1.20.3.3437-f1f08d65b

Newest update broke plex.

Following another post’s formatting, which seemed to get a workable fix:

(Installing over same version, to check for better result)

sudo dpkg -i plexmediaserver_1.19.1.2589-2de7f3266_amd64.deb

(Reading database ... 110974 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.20.3.3437-f1f08d65b_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.20.3.3437-f1f08d65b) over (1.20.3.3437-f1f08d65b) ...
Setting up plexmediaserver (1.20.3.3437-f1f08d65b) ...
PlexMediaServer install: PlexMediaServer-1.20.3.3437-f1f08d65b - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   Update
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         video
PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:      /tmp
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Transcoding HW:      Not found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: PlexMediaServer-1.20.3.3437-f1f08d65b - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Processing triggers for mime-support (3.59ubuntu1) ...

cat /tmp/installer.log

# Plex Media Server installation configuration info:  Thu Oct 15 09:02:24 CDT 2020
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="video"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/tmp"
LangEncoding="en_US.UTF-8"
ExistingVersion=12003
HaveHardware=0
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=0
Errors=0
Warnings=0
Platform="Standard PC (i440FX + PIIX, 1996)"
Processor="Common KVM processor"
Distro="Ubuntu 16.04.7 LTS"
Kernel="Linux plex 4.4.0-193-generic #224-Ubuntu SMP Tue Oct 6 17:15:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux"
Memory="48302 259 47121"

cat /var/log/dkpg.log

2020-10-15 08:42:03 startup archives install
2020-10-15 08:42:04 upgrade plexmediaserver:amd64 1.20.2.3402-0fec14d92 1.20.3.3437-f1f08d65b
2020-10-15 08:42:04 status triggers-pending libc-bin:amd64 2.23-0ubuntu11.2
2020-10-15 08:42:04 status half-configured plexmediaserver:amd64 1.20.2.3402-0fec14d92
2020-10-15 08:42:04 status unpacked plexmediaserver:amd64 1.20.2.3402-0fec14d92
2020-10-15 08:42:04 status half-installed plexmediaserver:amd64 1.20.2.3402-0fec14d92
2020-10-15 08:42:12 status triggers-pending mime-support:all 3.59ubuntu1
2020-10-15 08:42:12 status half-installed plexmediaserver:amd64 1.20.2.3402-0fec14d92
2020-10-15 08:42:12 status unpacked plexmediaserver:amd64 1.20.3.3437-f1f08d65b
2020-10-15 08:42:12 status unpacked plexmediaserver:amd64 1.20.3.3437-f1f08d65b
2020-10-15 08:42:12 configure plexmediaserver:amd64 1.20.3.3437-f1f08d65b 1.20.3.3437-f1f08d65b
2020-10-15 08:42:12 status unpacked plexmediaserver:amd64 1.20.3.3437-f1f08d65b
2020-10-15 08:42:12 status unpacked plexmediaserver:amd64 1.20.3.3437-f1f08d65b
2020-10-15 08:42:12 status half-configured plexmediaserver:amd64 1.20.3.3437-f1f08d65b
2020-10-15 08:42:13 status installed plexmediaserver:amd64 1.20.3.3437-f1f08d65b
2020-10-15 08:42:13 trigproc libc-bin:amd64 2.23-0ubuntu11.2 <none>
2020-10-15 08:42:13 status half-configured libc-bin:amd64 2.23-0ubuntu11.2
2020-10-15 08:42:13 status installed libc-bin:amd64 2.23-0ubuntu11.2
2020-10-15 08:42:13 trigproc mime-support:all 3.59ubuntu1 <none>
2020-10-15 08:42:13 status half-configured mime-support:all 3.59ubuntu1
2020-10-15 08:42:13 status installed mime-support:all 3.59ubuntu1

cat /etc/default/plexmediaserver

# default script for Plex Media Server

# the number of plugins that can run at the same time
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6

# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
export PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000

# where the mediaserver should store the transcodes
export PLEX_MEDIA_SERVER_TMPDIR=/tmp

# uncomment to set it to something else
# export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application Support"

# the user that PMS should run as, defaults to 'plex'
# note that if you change this you might need to move
# the Application Support directory to not lose your
# media library (match what is in /etc/passwd)
export PLEX_MEDIA_SERVER_USER=plex

# Uncomment this to use syslog for logging instead of
# sending logs to Plex Media Server.log
#export PLEX_MEDIA_SERVER_USE_SYSLOG=true

uname -v

#224-Ubuntu SMP Tue Oct 6 17:15:28 UTC 2020

Downgrading to PlexMediaServer-1.20.2.3402-0fec14d92 did fix the issue

Edit: Plex is, now, crashing even on PlexMediaServer-1.20.2.3402-0fec14d92

Edit 2: PMS is now intermittently crashing and restarting

May I have the Plex logs? (Settings - Server - Troubleshooting - Download Logs)

/etc/default/plexmediaserver is not used on systemd systems

Which post do you refer to?

was referring to Plex not starting after upgrade from 1.18.6 to 1.19.1

old post. just using it to provide as much info as possible

pm you logs?

PM sent

I just updated as well to 1.20.3.3437-f1f08d65b on qnap x86 64, and now plex no longer responds. it is started, but, the /web/index is no longer found.
edit, found this in the log, and also, the crash uploader was triggered.
Oct 15, 2020 18:25:42.973 [0x7f8bf9347780] DEBUG - [CERT] Installed intermediate certificate.
Oct 15, 2020 18:25:42.973 [0x7f8bf9347780] ERROR - HttpServer: Error binding acceptor: Address already in use
Oct 15, 2020 18:25:43.065 [0x7f8bf9347780] ERROR - Error: Unable to set up server: listen: Address already in use (N5boost10wrapexceptINS_6system12system_errorEEE)

I am going to try a reboot first.

EDIT
Before rebooting, i noticed i could still access plex with the android app, browse everything, even being to start casting. but, after casting something, i get a “sorry!, conversion failed, the transcoder exited due to an error”

Edit, video still plays on my phone, just not casting.
when trying to access the web gui, i get the normal message about accepting the security Cert, but, after excepting, get a 404

Edit, I tried reinstalling the qpkg, that didn’t help.
but, after a reboot, Plex web loaded fine.andriod app works fine, casting fine.
I suspect that on the upgrade the program listening on that port plex uses 443? that it didn’t shut down properly and wouldn’t allow the upgraded one to start.

@chris.roulston

It restarted too quickly and got itself in trouble.
There is an update coming for that.

If it’s been stopped for a while now, it will restart cleanly.

I tried stopping the service, waitting like 10 min, then starting it. That didn’t help. I had to Reboot. But, like i said, it is working fine now.

I have problems too with this update. Rebooting qnap now. Hopefully that works. Otherwise I have to downgrade plex.