Good.
I’ll pull this all together and submit for review.
I’ll update here when I know which release; closing after it’s successfully released
Good.
I’ll pull this all together and submit for review.
I’ll update here when I know which release; closing after it’s successfully released
The changes were approved. When Engineering next updates the packaging (they do frequently), we’ll get it. I’m also going to request they update a little quicker this time.
If it’s lagging, I will hand-build here until they do catch up
Today’s Plex Pass version (1.23.0.4480) have your changes all appears to work well, except that after the update, plexmediaserver.service did not automatically start back up, I had to start it with systemctl.
sudo dpkg -i plexmediaserver_1.23.0.4480-fe95a312e_amd64.deb
(Reading database ... 174318 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.23.0.4480-fe95a312e_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.23.0.4480-fe95a312e) over (1.23.0.4459-20536d6fc) ...
Setting up plexmediaserver (1.23.0.4480-fe95a312e) ...
PlexMediaServer install: PlexMediaServer-1.23.0.4480-fe95a312e - 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: /dev/shm (set in Preferences.xml)
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: OpenCL: Installed
PlexMediaServer install: Intel Gmmlib: Installed
PlexMediaServer install: Intel IGC Core: Installed
PlexMediaServer install: Intel IGC OpenCL: Installed
PlexMediaServer install: Intel OpenCL: Installed
PlexMediaServer install: Intel OCLoc: Installed
PlexMediaServer install: Intel Zero GPU: Installed
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: PlexMediaServer-1.23.0.4480-fe95a312e - Installation successful. Errors: 0, Warnings: 0
Processing triggers for mime-support (3.64ubuntu1) ...
cat /tmp/plexinstaller.log
# Plex Media Server installation configuration info: Tue 04 May 2021 11:14:55 AM EDT
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="/dev/shm"
LangEncoding="en_US.UTF-8"
ExistingVersion=12300
HaveHardware=1
HaveTranscoderPref=1
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=0
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
Processor=i5-10600K
CPUSKU=10600
NeedOpenCL=1
NeedBeignet=0
NeedIntelCompute=1
HaveIntelGmmlib=1
HaveIntelIGCCore=1
HaveIntelIGCOpenCL=1
HaveIntelOpenCL=1
HaveIntelOCLoc=1
HaveIntelZeroGPU=1
HaveIntelCompute=1
HaveBeignet=0
HaveOpenCL=1
Platform="System Product Name"
Processor="i5-10600K"
Distro="Ubuntu 20.04.2 LTS"
Kernel="Linux Saturn 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"
Memory="31946 1547 28789"
Was PMS already stopped? If so, it will remain in the stopped state.
I’ll go look now. Hope I didn’t break that in the overhaul. If so, sorry. I will fix asap
EDIT: Sorry. I broke it. fixing.
Here we go.
root@plexdev:~/git/plex-postprocessor# systemctl start plex
root@plexdev:~/git/plex-postprocessor# !ps
ps -ef | grep -i plex
avahi 815 1 0 May02 ? 00:23:48 avahi-daemon: running [plexdev.local]
plex 60397 1 12 12:57 ? 00:00:00 /usr/lib/plexmediaserver/Plex Media Server
plex 60460 60397 99 12:57 ? 00:00:01 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.23.0.4482-62106842a /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/System.bundle
plex 60504 60397 0 12:57 ? 00:00:00 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.23.0.4482-62106842a 32600
plex 60533 60397 0 12:57 ? 00:00:00 Plex Plug-in [tv.plex.agents.movie] /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.23.0.4482-62106842a /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/PlexMovieNew.bundle
plex 60536 60397 0 12:57 ? 00:00:00 Plex Plug-in [com.plexapp.agents.fanarttv] /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.23.0.4482-62106842a /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/Fanart-TV.bundle
plex 60537 60397 0 12:57 ? 00:00:00 Plex Plug-in [tv.plex.agents.series] /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.23.0.4482-62106842a /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/PlexSeries.bundle
root 60539 50008 0 12:57 pts/0 00:00:00 grep --color=auto -i plex
root@plexdev:~/git/plex-postprocessor#
root@plexdev:~/git/plex-postprocessor#
root@plexdev:~/git/plex-postprocessor#
root@plexdev:~/git/plex-postprocessor# dpkg -i /home/chuck/git/output-all/plexmediaserver_1.23.0.4482-62106842a_amd64.deb
(Reading database ... 186734 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.23.0.4482-62106842a_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Warning: Multiple override files found. PMS may not function as expected.
PlexMediaServer install: Files found are: Another.conf override.conf
PlexMediaServer install: Selected: "override.conf".
PlexMediaServer install: Warning: "/var/lib/plexmediaserver/Library/Application Support" isn't owned by "plex", UID: 998. Found "UNKNOWN", UID: 12345 instead. Continuing.
PlexMediaServer install: Pre-installation Validation complete. Errors: 0, Warnings: 2
Unpacking plexmediaserver (1.23.0.4482-62106842a) over (1.23.0.4482-62106842a) ...
Setting up plexmediaserver (1.23.0.4482-62106842a) ...
PlexMediaServer install: PlexMediaServer-1.23.0.4482-62106842a - 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: Config file used: /etc/systemd/system/plexmediaserver.service.d/override.conf
PlexMediaServer install: Intel i915 Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.23.0.4482-62106842a - Installation successful. Errors: 0, Warnings: 2
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
root@plexdev:~/git/plex-postprocessor# !ps
ps -ef | grep -i plex
avahi 815 1 0 May02 ? 00:23:48 avahi-daemon: running [plexdev.local]
plex 61758 1 8 12:58 ? 00:00:00 /usr/lib/plexmediaserver/Plex Media Server
plex 61788 61758 44 12:58 ? 00:00:01 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.23.0.4482-62106842a /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/System.bundle
plex 61879 61758 0 12:58 ? 00:00:00 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.23.0.4482-62106842a 32600
plex 61923 61758 47 12:58 ? 00:00:01 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.23.0.4482-62106842a /usr/lib/plexmediaserver/Resources/Plug-ins-62106842a/PlexMovie.bundle
root 61946 50008 0 12:58 pts/0 00:00:00 grep --color=auto -i plex
root@plexdev:~/git/plex-postprocessor#
Looks good now! Service up and running after installing (was running beforehand in both cases).
Thank you!
1.23.0.4482-62106842a got installed automatically (using plexupdate) on two of my PMS today and both of them had their plexmediaserver.service’s not started. Does that mean the bug is not yet fixed? This is what I saw when I checked the status of the service:
/etc/systemd/system/plexmediaserver.service.d/override.conf:4: Failed to parse mode value, ignoring: 0002 # this must be octal - See warning below
Since it says it’s ignoring the “0002” line, does that mean I have the UMask=0002 incorrectly set?
May 5 06:25:02 nuc plexupdate: Retrieving list of available distributions
May 5 06:25:03 nuc plexupdate: Downloading release "plexmediaserver_1.23.0.4482-62106842a_amd64.deb"
May 5 06:25:06 nuc plexupdate: File downloaded
May 5 06:25:06 nuc plexupdate: (Reading database ... 169398 files and directories currently installed.)
May 5 06:25:06 nuc plexupdate: Preparing to unpack .../plexmediaserver_1.23.0.4482-62106842a_amd64.deb ...
May 5 06:25:06 nuc plexupdate: PlexMediaServer install: Pre-installation Validation.
May 5 06:25:06 nuc plexupdate: PlexMediaServer install: Pre-installation Validation complete.
May 5 06:25:06 nuc plexupdate: Unpacking plexmediaserver (1.23.0.4482-62106842a) over (1.23.0.4459-20536d6fc) ...
May 5 06:25:11 nuc plexupdate: Setting up plexmediaserver (1.23.0.4482-62106842a) ...
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: PlexMediaServer-1.23.0.4482-62106842a - Installation starting.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Now installing based on:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Installation Type: Update
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Process Control: systemd
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Plex User: plex
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Plex Group: plex
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Video Group: render
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Metadata Dir: /home/plex/Library/Application Support
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Temp Directory: /home/plex/Transcode
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Lang Encoding: en_US.UTF-8
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Config file used: /etc/systemd/system/plexmediaserver.service.d/override.conf
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Intel i915 Hardware: Found
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Nvidia GPU card: Not Found
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: OpenCL: Installed
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Intel Gmmlib: Not Installed
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Intel IGC Core: Not Installed
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Intel IGC OpenCL: Not Installed
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Intel OpenCL: Not Installed
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Intel OCLoc: Not Installed
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Intel Zero GPU: Not Installed
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: WARNING: The Intel GMM library, required for Intel Compute Runtime support, is missing.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Please install package: 'intel-gmmlib' from https://github.com/intel/compute-runtime/releases
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: WARNING: The Intel IGC Core, required for Intel Compute Runtime support, is missing.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Please install package: 'intel-igc-core' from https://github.com/intel/compute-runtime/releases
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: WARNING: The Intel IGC OpenCL library, required for Intel Compute Runtime support, is missing.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Please install package: 'intel-igc-opencl' from https://github.com/intel/compute-runtime/releases
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: WARNING: The Intel OpenCL library, required for Intel Compute Runtime support, is missing.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Please install package: 'intel-opencl' from https://github.com/intel/compute-runtime/releases
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: WARNING: The Intel Ocloc library, required for Intel Compute Runtime support, is missing.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Please install package: 'intel-ocloc' from https://github.com/intel/compute-runtime/releases
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: WARNING: The Intel Level Zero GPU library, required for Intel Compute Runtime support, is missing.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Please install package: 'intel-level-zero-gpu'
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Intel Compute Runtime packages are available from: https://github.com/intel/compute-runtime/releases
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Please be certain to install them in the listed order.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install:
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: Completing final configuration.
May 5 06:25:11 nuc plexupdate: PlexMediaServer install: PlexMediaServer-1.23.0.4482-62106842a - Installation successful. Errors: 0, Warnings: 6
May 5 06:25:11 nuc plexupdate: Processing triggers for mime-support (3.62) ...
May 5 06:25:11 nuc plexupdate: Deleted "plexmediaserver_1.23.0.4482-62106842a_amd64.deb"
Also, I realized that I didn’t have the ICR packages installed so I did install them. I’m curious though, why does it say “Please be certain to install them in the listed order.”? In the github instructions, they use “dpkg -i *.deb” which won’t install them in the order specified in the logs.
I fixed it but Engineering probably didn’t get it into this upload to the downloads page
I will check with them.
Yes, depending on system, it’s either UMask or Umask.
Which distribution?
Regarding the order, there is a dependency. When installing together using a wildcard dpkg resolves that internally.
During my package installation checks, each check is atomic.
I found that none of the options worked for umask while there was a comment after the desired value.
Remove everything including and after the # and no error was reported after that.
Thanks @ChuckPa for the clarification 
YMMV…
If I may elaborate?
This isn’t Plex complaining. It’s systemd (the OS itself)
I would report that.
Do you know when this update will be pushed to docker?
Docker updates are pushed with normal release process.
I had a breakthrough about recognizing the 11th Gen Intel CPUs in the packaging.
(amazing what a little porcelain pontification does)
I can now correctly, and quite easily, handle all Core and Xeon CPUs.
If memory serves, there exist HDR Tonemapping capable Celeron (11th Gen?) CPUs ?
Can anyone point a couple out to me so I can finally finish this complete effort and get everything done the way it should be?
What I’m hoping to see is the output of
cat /proc/cpuinfo | grep 'model name' | uniq
Here’s mine on my NUC11PAHi7
cat /proc/cpuinfo | grep ‘model name’ | uniq
model name : 11th Gen Intel(R) Core™ i7-1165G7 @ 2.80GHz
Thanks!
Here’s a little snippet of code. Would you run it please and see if you get a nice clean result ?
# echo CPU is \[$(cat /proc/cpuinfo | grep 'model name' | uniq | grep Intel | sed -e 's/^.*) //' | sed -e 's/ @.*//' | sed -e 's/ CPU.*$//')\]