Server Version#: 1.21.4.4079
Player Version#: NA
Ubuntu 20.04.2 LTS VM
I was checking the server today and saw a new update to install. When I tried to proceed, I got the following error message bellow. I’ve been unable to find any other post with the same exact message I’m getting, so here it goes!
plexmediaserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
plexmediaserver
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/81.3 MB of archives.
After this operation, 172 kB of additional disk space will be used.
(Reading database ... 83273 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.22.0.4163-d8c4875dd_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Error: Directory "/plex/Library/Application Support " used in "/etc/systemd/system/plexmediaserver.service.d/override.conf" does not exist.
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation failed.
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install: Installation Type: New
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 QSV Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: OpenCL library: Installed
PlexMediaServer install: Beignet package: Installed
PlexMediaServer install:
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete. Errors: 1, Warnings: 0
dpkg: error processing archive /var/cache/apt/archives/plexmediaserver_1.22.0.4163-d8c4875dd_amd64.deb (--unpack):
new plexmediaserver package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/plexmediaserver_1.22.0.4163-d8c4875dd_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The directory it mentions does exist and the service runs properly using it. Here’s the “override.conf” file:
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/plex/Library/Application Support"
User=plex
Group=plex
UMask=0002
I know the lines specifying the User/Group are not needed with the default accounts, but I just added them just for the sake of trying. I’ve also tried writing the path like this “Application\ Support/” instead of how it is currently written above.
Thank you guys!