Jump to content

Unable to delete some shows


Recommended Posts

Posted

Recently I removed a good amount of shows to clear up some space on my server. However in Emby some shows are still showing up. when I try deleting them again within Emby I get this error:

image.png.50301fc8ff37180b0abda1f436e99851.png

I tried following the "Corrupt Database" steps and using DB Browser for SQLite I got this:

image.png.ff2946e8334b8ec7cb286995efa4699b.png

 

Made a copy of the library.db file. Ran the SQLite command:

 sqlite3 library.db ".recover" | sqlite3 library-recovered.db

Then: 

 sqlite3 library-recovered.db "PRAGMA integrity_check"

Shut down Emby and put the library.db file in my data folder, but could no longer connect to the server. If I remove it and put the original library.db file I can connect to server with no problem again.

 

Not sure what I am doing wrong here. Also what could have caused this to begin with. I usually delete files through Sonarr or Radarr, then do a library scan.

 

embyserver.txt

Posted

Tried that not sure if I am doing it correctly. I did get a library-recovered.db.

renamed it to library.db placed it in my data folder but server would not launch.

Posted

yes I attached the server log in my original post

Posted
2 minutes ago, jluna001 said:

yes I attached the server log in my original post

Right but I need the server log from after you tried to follow the instructions in the link I gave you. Thanks.

Posted (edited)

Oh apologies. No logs as server does not load. All I get is a message saying "Emby Server is loading. Please try again shortly."

Edited by jluna001
Posted

If you got that far then there is a log file. Are you sure you shutdown the server? What files did you change?

Posted

after I shutdown the server I rename library.db to library.old and I rename library-recovered.db to library.db

Posted

Was there also a library.db-wal file? or library.db-shm? Those should be moved as well.

Posted

no I do not see those once the server is off. I do see them when it is running.

Posted

When the server is shutdown and you try to access the web interface, what do you get in the browser?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...