# Cannot upgrade past PlexMediaServer-1.30.0.6486

**URL:** <https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [June 3, 2023, 8:33pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318 "2023-06-03T20:33:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![plopdawg](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@plopdawg](https://forums.plex.tv/u/plopdawg)\
**Post date:** [June 3, 2023, 8:33pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/1 "2023-06-03T20:33:59Z")

</div>

Server Version#:PlexMediaServer-1.30.0.6486

This is the last version I can successfully use. Any upgrade beyond this installs and then immediately crashes after upgrading the library.

These are the final errors it throw after update:  
[Plex Media Server.1.log](https://forums.plex.tv/uploads/short-url/gX2Y7v6q7ssUmJnouVuelEuKdT1.log) (14.5 KB)

Jun 03, 2023 16:24:33.350 [1816] ERROR - SQLITE3:0x7f681838, 1, no such table: metadata\_agent\_providers in “update metadata\_agent\_providers set online = 0”

Jun 03, 2023 16:24:33.350 [1816] ERROR - Error: Unable to set up server: sqlite3\_statement\_backend::prepare: no such table: metadata\_agent\_providers for SQL: update metadata\_agent\_providers set online = 0 (class soci::soci\_error)

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [June 3, 2023, 8:40pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/2 "2023-06-03T20:40:50Z")

</div>

Try repairing your database before attempting the next update.  
Here is a batch file which can do this for you: [GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases](https://github.com/ChuckPa/PlexDBRepair)

* * *

On Windows 10 it is recommended to switch to the 64bit version.  
Do it manually:

- Stop/quit/end Plex Server with the tray icon
- deinstall Plex Server with the regular ‘Apps’ control panel of Windows  
(do **not** use 3rd party ‘Uninstaller’ software like Revo etc.  
do **not** use “Registry Cleaner/optimizer” software like CCleaner et al)
- for safety, reboot Windows
- download the installation exe of the newer version and install it

---

<div class="post-metadata">

**Author:** ![plopdawg](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@plopdawg](https://forums.plex.tv/u/plopdawg)\
**Post date:** [June 3, 2023, 8:58pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/3 "2023-06-03T20:58:52Z")

</div>

I will switch it to the 64 bit edition. I downloaded the batch file for windows and cannot get it to run properly. Where does the file need to be placed for Windows? It does not specify on the github page.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [June 3, 2023, 9:00pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/4 "2023-06-03T21:00:21Z")

</div>

> [@plopdawg](#):
>
> Where does the file need to be placed for Windows?

It doesn’t really matter. Easiest is to place it directly in the same folder as the database file.

---

<div class="post-metadata">

**Author:** ![plopdawg](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@plopdawg](https://forums.plex.tv/u/plopdawg)\
**Post date:** [June 4, 2023, 3:17am UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/6 "2023-06-04T03:17:51Z")

</div>

Same issue - see attached.

I previously have run the manual db repair. This time i ran the auto script. Uninstalled PMS, rebooted, installed x64 latest version, rebooted again. Logs attached.  
[Plex Media Server.log](https://forums.plex.tv/uploads/short-url/b6mk0Zxuar5Tdqy0PQp2TbtHkwi.log) (9.6 KB)

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [June 4, 2023, 5:52am UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/7 "2023-06-04T05:52:35Z")

</div>

That doesn’t look good.  
Are you running the server as a system service?  
How much free space is left on drive C: ?

One last attempt to confirm that your database is not salvageable:  
Shut down the server  
Rename the folder `C:\Users\plopd\AppData\Local\Plex Media Server` to e.g.  
`C:\Users\plopd\AppData\Local\Plex Media Server_old`

Start the server again.  
It should now behave like it never had been running before. Can you successfully create libraries and such?

---

<div class="post-metadata">

**Author:** ![plopdawg](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@plopdawg](https://forums.plex.tv/u/plopdawg)\
**Post date:** [June 4, 2023, 4:22pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/10 "2023-06-04T16:22:09Z")

</div>

I don’t believe I am running it as a service. C: has 20gb available I renamed the appdata folder, launched it and created a new library. Manually updated and everything works fine including the new library I just created. Uninstalled x86 version after that and installed x64. Still works perfectly.

I can assume that my DB cannot be upgraded beyond the current version?

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [June 4, 2023, 7:07pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/11 "2023-06-04T19:07:48Z")

</div>

Judging by the error messages, it is beyond repairability, I’m afraid.

---

<div class="post-metadata">

**Author:** ![plopdawg](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@plopdawg](https://forums.plex.tv/u/plopdawg)\
**Post date:** [June 7, 2023, 12:11pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/12 "2023-06-07T12:11:57Z")

</div>

Ok bummer. I was afraid of that. Thank you for looking into with me. I appreciate it.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [June 7, 2023, 1:06pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/13 "2023-06-07T13:06:29Z")

</div>

Then you might as well delete the old, renamed [Plex data folder](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/). To free up space on C:

It is very important that there is always a few GB free on C: Otherwise your Plex DB can get damaged again.  
If your media collection is very big and you want to use all the Plex features regarding media analysis, I recommend adding a dedicated SSD just for the [Plex data folder](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/).

---

<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:** [September 5, 2023, 1:06pm UTC](https://forums.plex.tv/t/cannot-upgrade-past-plexmediaserver-1-30-0-6486/843318/14 "2023-09-05T13:06:58Z")

</div>

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