Jump to content

Raspbian: Scan Library not working - Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.


Recommended Posts

Posted

Hi,

 

I am trying to install Emby on my RPi3 with Raspbian Jessie Headless.

 

So far I can acess the Webfrontend of Emby without issues. But when trying to scan the library I am getting the error message listed above.

 

Here is the Log of the Server:

 

Br,

Johannes

Log.txt

Posted

Looks like your library database file has become corrupted. A typical cause of this is pulling the power or abruptly terminating the application during writes to the database. try shutting down the server, then deleting this file:

 

/var/lib/emby-server/data/library.db

 

Then start back up and run a library scan.

Posted

Hi,

 

I was able now to scan my movies and tv shows (not so many) but still get stuck when scanning my images and music.

 

Attached you can find the Log after trying to scan my music (~ 30 GB).

 

First the scan starts fast until about 18%, then increasing very slow until it ends with the error-message "Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown."

 

Maybe the RPi3 has to less performace?

 

Br,

Johannes

 

 

Log2.txt

Posted

Hi, I made now a complete Reinstallation based on this Doku:

https://emby.media/community/index.php?/topic/43166-arm-devices-official-instructions/

 

for FFMPEG I used:

http://hannes.enjoys.it/blog/2016/03/ffmpeg-on-raspbian-raspberry-pi/

 

Now the system works much faster and I was able to import my (small) movie database without issues.

 

But I am still struggeling with my Audio Files (30GB, 20.000 Files). Should this be possible?

 

Br,

Johannes

Posted

Struggling how?

Posted

Scan Media failed at random positions

 

Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.

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