PMS Update Failed

Server Version#: 1.13.8.5395
Player Version#:

I am trying to update my server (Ubuntu 16.04) to PMS 1.21.0.3616. I recieve the following error in the terminal when attempting the update:

ion Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel QSV Hardware: Not found
PlexMediaServer install:
PlexMediaServer install: OpenCL library: Not Installed
PlexMediaServer install: Beignet package: Not Installed
PlexMediaServer install:
PlexMediaServer install:
PlexMediaServer install:
PlexMediaServer install: WARNING: Package ‘Beignet’, required for hardware transcoding of HDR content, is missing.
PlexMediaServer install: Please install package: ‘beignet-opencl-icd’
PlexMediaServer install: WARNING: The OpenCL library, required for hardware transcoding of HDR content, is missing.
PlexMediaServer install: Please install package: ‘ocl-icd-libopencl1’
PlexMediaServer install: Pre-installation Validation complete. Errors: 0, Warnings: 3
dpkg: error processing archive /tmp/mozilla_bgandy0/plexmediaserver_1.21.0.3616-d87012962_amd64-1.deb (–install):
subprocess new pre-installation script returned error exit status 1
Created symlink from /etc/systemd/system/multi-user.target.wants/plexmediaserver.service to /etc/systemd/system/plexmediaserver.service.
Processing triggers for libc-bin (2.23-0ubuntu11.2) …

Is the missing library and package the problem?

Should not be. Beignet and opencl are not available on raspberrypi and my pi server updated smoothly.

Did PMS not start up? It only shows 3 warnings, and no errors.

Warnings are just that — Warnings. It states that the two libraries are needed for transcoding of HDR content. Not all systems are capable of transcoding HDR but the installer does not know this.

I have still not been able to get the update to process. Is there anything I should look at?

What does /tmp/plexinstaller.log show?

There is no file named that in that location.

I was able to get the update to run by temporarily renaming /etc/systemd/system/plexmediaserver.service

After I renamed it, the installer ran fine. I found another post that mentioned that the file may have been there due to a bug in ubuntu 16.04

That is part of the problem.

There should not be an /etc/systemd/system/plexmediaserver.service.
Good catch.

I am VERY curious why the installer didn’t print out the error and tell you that file is not supported and abort installation.

the file was left over from a Ubuntu 16 error (when first released).
systemd distribution files belong in /lib/systemd, not /etc/systemd.

I specifically test:

    # if there is a lingering /etc/systemd/system/plexmediaserver.service, this is wrong.  Flag the PlexUser to correct
    if [ -e /etc/systemd/system/plexmediaserver.service ]; then

      Output "Systemd configuration error detected:"
      Output "File \"/etc/systemd/system/plexmediaserver.service\" is leftover from an earlier Debian/Ubuntu bug."
      Output "Please transfer any customizations \(APP_DIR, User, Group, TMPDIR, and/or UMask\) to a proper \"$OverrideDir/override.conf\""
      Output "and reinstall."
      Output "Unit override \"/etc/systemd/system/plexmediaserver.service\" found."
      Output "Only \"/etc/systemd/system/plexmediaserver.service.d/override.conf\" is supported."
      Fail=1

    else

I recommend you remove /etc/systemd/system/plexmediaserver.service,
transferring any customizations to the properly supported override.conf file.

Thanks for the recommendation. I will remove it.

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