Jump to content

Scan Media Library tasks fails every time


cow666

Recommended Posts

cow666

Hi

 

I'm having problems with a new install of Emby Server

 

My collection is made of several folders held on a separate windows server sorted into type folders Eg.. TV Shows, Movies etc

Each folder can be scanned and updated individually but when the Update media Library job runs it always failed

 

Please help

Log attached

Log.txt

Link to comment
Share on other sites

Happy2Play

Unfortunately this appears to be a corrupt database.

Corrupt: database disk image is malformed

I would wait for @@Luke to confirm it is the library.db though.  If it is you will need to use the Server Configuration Backup plugin to capture your users data to be restored in a new database, as you will need to delete the current one.

Link to comment
Share on other sites

cow666

Thanks for responding @Happy2Play

 

Bugger was fearing as much...how do I delete or fix the database?

Edited by cow666
Link to comment
Share on other sites

Happy2Play

I would install the Server Configuration Backup plugin and run the scheduled task to create a backup to save your userdata, shutdown Emby server, then delete the library.db in C:\Users\username\AppData\Roaming\Emby-Server\programdata\data.  Restart your server, perform a library scan, return to backup plugin and select your backup and only restore the users and user playstate section.

 

I would still wait for Luke to confirm it is the library.db.

Link to comment
Share on other sites

Yes, it does look like the library DB.

 

This can happen if the server application is shut down abruptly like with a power failure or if you killed it with task manager.

Link to comment
Share on other sites

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...