Can't Install Plex Server on Ubuntu

I’m trying to install Plex Media Server on my Ubuntu Server 20.04.3, but without success. I’ve followed this guide to override the location of the default plex metadata folder:

Now I have a folder called “/etc/systemd/system/plexmediaserver.service.d” and in it I have a file called override.conf with the following content:

#Customize Plex’s config

#Identify this as a service override
[Service]

#Move the data directory
Environment=“PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/ubuntu/.config/plex/Library/Application Support”

#These values are only needed if you wish to change user & group
User=ubuntu
Group=ubuntu

#This is needed to change the default umask
UMask=0002 # this must be octal - See warning below

When I launch the following command:

sudo apt install plexmediaserver

I get the following:

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
plexmediaserver
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/76.7 MB of archives.
After this operation, 218 MB of additional disk space will be used.
(Reading database … 98941 files and directories currently installed.)
Preparing to unpack …/plexmediaserver_1.25.3.5409-f11334058_amd64.deb …
PlexMediaServer install: Pre-installation Validation.
" used in “/etc/systemd/system/plexmediaserver.service.d/override.conf”.
" used in “/etc/systemd/system/plexmediaserver.service.d/override.conf”.
" 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 i915 Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete. Errors: 3, Warnings: 0
dpkg: error processing archive /var/cache/apt/archives/plexmediaserver_1.25.3.5409-f11334058_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.25.3.5409-f11334058_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Do you guys have an idea?

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