How to Revert to earlier PMS Server

Server Version#: 1.41.9.9961
Player Version#: 4.147.1

I updated yesterday evening to version 9961 and now none of my additions to Movies or TV shows update metadata and trying to match simply returns nothing. I really don’t feel like dealing with this, how do I revert to the prior working version of PMS for Linux?

All you need is an older .deb file, then install the same way you updated.

The BETTER method mind you, would be to help you sort out the problem you’re having.

PMS Logs with Debugging enabled help!

Can you please elaborate on what’s not working?

1 Like

That’s the problem. I don’t have an old deb file. I’m on Ubuntu 24.04 LTS and I updated using apt. I now need to download the correct deb file BUT Plex’s online download only allows you to download the current deb. I know there’s a way to get to older versions, just don’t know how and the instructions from googling were less than helpful since they assumed I knew the filename of the older version, which I don’t nor do I see the actual download url when I use the Plex download page.

As to what is not working, the retrieval of metadata on any newly added movie or TV series. I get blank results on any attempt to match. This has happened before and frankly I am out of patience dealing with this issue with Plex. It should just work and not break on an update, particularly an update that has no mention whatsover of any changes to metadata handling.

What troubleshooting have you tried? The media you’re trying to get metadata for is not matching, so I would check what agents are in use for each library and go from there. Downgrading is only a bandaid solution and you’ll likely need to update again in the future once newer features are available or when things break again.

Try here - but I don’t think this will really solve the issue.

P.S. I keep a directory filled with older versions on my server just in-case, and I don’t update through apt, I use plexupdate to download the version then manually install with dpkg.

First uninstall the current version of PMS:

$sudo dpkg --remove "current .deb file name"

There is an archive of past plexmediaserver download urls on Github. Find the version you need and the link will download the version from the plex download server.
https://github.com/axlecrusher/plex_download_urls?tab=readme-ov-file

Install the older version of PMS:

$sudo dpkg --install "older version .deb file name"
1 Like

Thank you, that worked. I reverted to 9823 and everything is working again. I ‘matched’ the Movies and TV Shows that didn’t match on 9961 and all of them worked perfectly.

Clearly there is an issue with quality control at Plex.

Glad you have a different experience, but the fact is that making absolutely no other changes than downgrading the PMS server matching magically starts working again.

I can conclude only one thing, either 9961 or 9834 caused the problem. The fact that it doesn’t impact you is just my bad luck or your good luck.

I don’t need to prove anything to you. You are a nobody. I explained my experience and whether you believe it or not means absolutely nothing to me. Move on.

1 Like

May I be of assistance ?

Thanks for the offer. I may take you up once I have some time to examine logs. I run two instances of Plex and both instances broke when I upgraded to 9961. I reverted one to 9923 and it is working again. The other instance is still 9961 and still broken so I’ll explore the logs when I have time.

I’m just flustrated that a simple upgrade forces me to spend time I don’t have fixing things that shouldn’t be broken IMHO. Last time this happened many months ago the root cause was database corruption, using your script to repair the database fixed it. Unlikely that is the cause this time since corruption would stil be there on a revert of the server.

Anyways I do appreciate the offer. I just need to chill and find time to look into it further.

1 Like

True, but the corruption may not affect an older version because there were no calls to the database where the corruption would cause a failure. The new version is making a call now and can’t get past the failure.

As a quick check just watch the console when trying to make a match. Any corruption will show up there too.

1 Like

But what are the odds of BOTH instances having corruption like that at the same time? These are completely seperate instances on different servers.

That’s fair, but without more details can’t say either way. As someone else mentioned earlier, 9961 has been out for a while so it’s hard to think a wide spread issue like this hasn’t been reported yet. If you want to try matching 1 movie then providing the log, i can take a look for you.

Gotta get to a dentist appointment. I’ll try to do that later this afternoon or evening.

Well, looks like it was DB corruption again. Ran Chuck’s dbrepair on both servers, updated back to 9961 and the problem is gone. I don’t understand how two different servers can have corruption at the same time, but I guess lightening can strike twice so who knows.

1 Like

Maybe next time, you don’t need to be a weiner about it?

@darganbright56 lol you literally posted the same link I did… There was also no need to remove the previous version first, but that’s besides the point.

If you have the same content on both servers, both databases are going to have mostly the same tables/keys, etc in the db etc, any issues in the database will be there when you upgrade or downgrade. Then there’s schema changes between versions if there are any. There are multiple factors that could have contributed to this.

Folks,

Please remember, DBRepair only fixes

  • Structural (SQLite) errors
  • Broken Indexes
  • binary flags in the DB (like CHKDSK / FSCK for a file system)

Like CHKDSK / FSCK, it can’t tell you if the data in a file (DB Record) is corrupted.

Primary cause is a power outage. If the servers were powered off before Plex had a chance to gracefully save the database bad things could have happened.

Thing is, one server is a desktop. The other a laptop. They would not be impacted at the same time by a power outage since the laptop has battery power to shut down gracefully.

Is the PMS metadata (Library) stored on network storage or local?