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)
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
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.
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 (9.6 KB)
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?
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?
Then you might as well delete the old, renamed Plex data folder. 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.