Server Version#: 1.42.2.10156
Player Version#: n/a
I somewhat recently changed my Plex Media Server’s metadata directory to be in a different location (to avoid taking up so much space on my OS’s drive). I accomplished this by moving the Application Support directory to a new drive, and modifying the plexmediaserver service file as such:
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/mnt/zeta/plexmediaserver/Library/Application\ Support"
UMask=0002
The server has been running great for months since making this change.
However, I am no longer able to update via the standard method (installing via new .deb package). When I try, I get the following error:
Preparing to unpack plexmediaserver_1.43.0.10492-121068a07_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Error: Directory "/mnt/zeta/plexmediaserver/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: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: _ssh
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: Processor: 13th Gen Intel(R) Core(TM) i5-13600K
PlexMediaServer install: Config file used: /etc/systemd/system/plexmediaserver.service.d/override.conf
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete. Errors: 1, Warnings: 0
Notably:
Error: Directory "/mnt/zeta/plexmediaserver/Library/Application\ Support" used in "/etc/systemd/system/plexmediaserver.service.d/override.conf" does not exist.
This directory does, in fact, exist and is owned by plex:plex:
root@plex:~# ls -ld /mnt/zeta/plexmediaserver/Library/Application\ Support
drwxr-xr-x 3 plex plex 4096 Sep 10 09:05 '/mnt/zeta/plexmediaserver/Library/Application Support'