# Can't Install Plex Server on Ubuntu

**URL:** <https://forums.plex.tv/t/cant-install-plex-server-on-ubuntu/772184>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [January 21, 2022, 9:29pm UTC](https://forums.plex.tv/t/cant-install-plex-server-on-ubuntu/772184 "2022-01-21T21:29:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Issam2204](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Issam2204](https://forums.plex.tv/u/Issam2204)\
**Post date:** [January 21, 2022, 9:29pm UTC](https://forums.plex.tv/t/cant-install-plex-server-on-ubuntu/772184/1 "2022-01-21T21:29:55Z")

</div>

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:

[https://forums.plex.tv/t/customizing-your-plex-configuration/205443](https://forums.plex.tv/t/customizing-your-plex-configuration/205443)

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?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [April 21, 2022, 9:30pm UTC](https://forums.plex.tv/t/cant-install-plex-server-on-ubuntu/772184/2 "2022-04-21T21:30:22Z")

</div>

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