Issues installing 1.43.2.10687

Server Version#:1.43.2.10687
Player Version#:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

Seeing this error when I tried to update, and now I can no longer launch my server at all:

Error while installing package: new plexmediaserver package pre-installation script subprocess returned error exit status 1

I tried finding the .deb for the previous version but I’m still seeing that same error message. What should I do?

I’ve long switched to docker, can pin versions very easy.
You can probably dig through the docker release tags and find the url you want https://hub.docker.com/r/plexinc/pms-docker/tags

Sorry, I should have mentioned I’m on Ubuntu. I found an old deb for 1.43.1.10611 but when I try installing that I’m getting the same message

See: https://support.plex.tv/articles/235974187-enable-repository-updating-for-supported-linux-server-distributions/

I tried both the easy way using the curl setupRepo script and the manual way. Running the Curl command gave me this

sudo curl -LsSf https://repo.plex.tv/scripts/setupRepo.sh | sudo bash
This script will add the Plex repository to the system.
It will also attempt to rectify any previous repository information that may exist on the
system - this is not guaranteed to be successful in all instances. Please visit the Plex
support forums for any further troubleshooting should it be required.

Debian-based distro detected
Remove the old plex repository file? [y/n]: main: line 24: read: read error: 0: Input/output error
main: line 25: answer: unbound variable

I removed the old source list, install gnupg2, ran the other curl command and created the new list and I am still getting a similar error. This is the output message

deven@deven-Ubuntu:/etc/systemd/system/plexmediaserver.service.d$ sudo apt install -y plexmediaserver
Upgrading:
plexmediaserver

Summary:
Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 0
1 not fully installed or removed.
Download size: 0 B / 84.2 MB
Freed space: 190 kB

(Reading database … 217504 files and directories currently installed.)
Preparing to unpack …/plexmediaserver_1.43.2.10687-563d026ea_amd64.deb …
Failed to stop plexmediaserver.service: Unit plexmediaserver.service not loaded.
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: ERROR: Environment variable “PLEX_MEDIA_SERVER_HOME” is no longer allowed in “/etc/systemd/system
/plexmediaserver.service.d/override.conf”.  Please remove.
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:          media
PlexMediaServer install:   Video Group:         render
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:           AMD Ryzen 5 2600 Six-Core Processor
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:     Found
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete.  Errors: 1, Warnings: 0
dpkg: error processing archive /var/cache/apt/archives/plexmediaserver_1.43.2.10687-563d026ea_amd64.deb (–unpack):
new plexmediaserver package pre-installation script subprocess returned error exit status 1
dpkg: error while cleaning up:
installed plexmediaserver package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/plexmediaserver_1.43.2.10687-563d026ea_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Ok I removed the PLEX_MEDIA_SERVER_HOME line from my override conf and it installed successfully. Thank you!