Also problem with deleting library from server

I had my server up and running on one computer fine for months now.
I moved the disk into another computer, and started the server there with the same login.
Moved also the appdata folder and made sure its located as it should be
I copy the regedit file also so it should be the same

Everything works almost fine, I can see and play my movies/music library and so on.

The only problem is that my Tv Shows library wont load.
I can scan it, and it list as many shows there are, but just loading… text under everbody.
5mins later it stops and just and error on the page instead that it cant find anything and go to forum.

Now I can’t delete the library from the web app to make a new one.
I tried:
moved the folder on the hardrive to another place
renamed it
empty trash
analyse library
scan library on a empty folder, then the number on show goes down but stops scanning and back to start.

It’s a folder on 5TB, but my other folders are 1 and 2 and the load just fine
have been on google for 2hours now and I cant find what makes the problem.

Loggs included

Plex Media Server Logs_2019-03-07_13-06-17.zip (3.0 MB)

Did you copy the plex data folder while the Plex server was still running?
Your main plex database file is damaged.

Mar 07, 2019 13:03:48.452 [7996] ERROR - SQLITE3:0xc7ba3c2c, 11, database corruption at line 59739 of [fc49f556e4]
Mar 07, 2019 13:03:48.452 [7996] ERROR - SQLITE3:0xc7ba3c2c, 11, statement aborts at 83: [delete from metadata_items where library_section_id=?] database disk image is malformed

https://support.plex.tv/articles/201100678-repair-a-corrupt-database/

I copy the folder when the server was off new computer, maybe it was on a little bit on the old computer while i did it.

Also I did it one more time today and skipped all the files that already where there if i missed someone, and i missed 200k files but thought it was just the cache folder.

Should i make sure the server is off now and delete the folder and then re copy the files, u think?

No. If you omit the files which are already there, the damaged database file won’t get replaced by a (hopefully) intact version.

Perform the database repair procedure
or
restore one of the older database backups: https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

That you very much, just renamed an older database backup and now it work fine :slight_smile:

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