seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

COPS CONFIGURATION CHECK ( Database error) #423

Closed ravishanth closed 5 years ago

ravishanth commented 5 years ago

Hello, I'm getting the following error with my database:

You've been redirected because COPS is not configured properly Database error Check if PHP version is correct OK (7.0.33-0+deb9u1) Check if GD is properly installed and loaded OK Check if Sqlite is properly installed and loaded OK Check if libxml is properly installed and loaded OK Check if Json is properly installed and loaded OK Check if mbstring is properly installed and loaded OK Check if intl is properly installed and loaded OK Check if Normalizer class is properly installed and loaded OK Check if the rendering will be done on client side or server side Client side rendering Check if Calibre database path is not an URL OK Check if Calibre database file exists and is readable File /home/pi/storage/eBooksmetadata.db not found, Please check

I am done with the Calibre library and all , but also the error persists.. please help me out.

alanjross commented 5 years ago

Calibre creates a metadata.db in the library storage after the library is created and at each update to the library. That seems to be missing and COPS is complaining.

TuxmAL commented 5 years ago

May be a missing '/' between /home/pi/storage/eBooks and metadata.db?

ravishanth commented 5 years ago

screenshot 6 screenshot 7 screenshot 8

This is how i have done it and copied the books to the raspberry.. If any thing wrong in my method, please rectify me ... Thanks

horus68 commented 5 years ago

May be a missing '/' between /home/pi/storage/eBooks and metadata.db?

@ravishanth Please read this reply again and verify your COPS configuration file ... it looks a proper answer to your issue! In your local config file the calibre ebook path must end with a "/" as in (for a XPTO folder) $config['calibre_directory'] = 'XPTO/';

ravishanth commented 5 years ago

May be a missing '/' between /home/pi/storage/eBooks and metadata.db?

@ravishanth Please read this reply again and verify your COPS configuration file ... it looks a proper answer to your issue! In your local config file the calibre ebook path must end with a "/" as in (for a XPTO folder) $config['calibre_directory'] = 'XPTO/';

Sir Thank you so much... it works