Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2014, 10:15 AM   #1
nchcalvin
Junior Member
nchcalvin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2014
Device: galaxy tab pro
Metadata.db can't be found

Nice to meet you all. COPS is a great add-on for my synology nas. COPS works well before I update the MariaDB and COPS (update form SynoCommunity) . One day, when I update the MariaDB and COPS, the COPS show me that the metadata.db cannot be found. I have tried to modify the permission of metadata.db to 'http' group, but the problem is still here. How should I fix this problem. Please help

The detail of my setting are as follow:

1. The permission of metadata.db is 'http'.
2. The open_basedir path has been added and it is right.
3. The metadata.db path of 'config_local.php ' is consistent with open_basedir.
4. The location of metadata.db is '/volume1/Books/metadata.db'
5. The Web Station and php services has been launched.
6. Synology Model DS 713+ (DSM 5.0-4482)

Thank you very much!!

Last edited by nchcalvin; 06-02-2014 at 10:22 AM.
nchcalvin is offline   Reply With Quote
Old 06-04-2014, 01:46 AM   #2
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
Does the directory containing your metadata.db also have the http permission ?
vlad59 is offline   Reply With Quote
Advert
Old 06-04-2014, 12:11 PM   #3
nchcalvin
Junior Member
nchcalvin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2014
Device: galaxy tab pro
Quote:
Originally Posted by vlad59 View Post
Does the directory containing your metadata.db also have the http permission ?
Thank you for your reply. I have also modified the permission of the directory (volume1/Books) that open all of permission to "user", "administrator" and "http" group. The problem is still here.

COPS CONFIGURATION CHECK

You've been redirected because COPS is not configured properly
Database error

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 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 /volume1/Books/metadata.db not found, Please check

Value of $config['calibre_directory'] in config_local.php Value of
open_basedir
in your php.ini The access rights of the Calibre Database Synology users please read
this

Last edited by nchcalvin; 06-04-2014 at 12:23 PM.
nchcalvin is offline   Reply With Quote
Old 06-05-2014, 11:19 PM   #4
nzrunner
Junior Member
nzrunner began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2014
Device: iPad 2
I am encountering exactly the same issue. Any resolution?
nzrunner is offline   Reply With Quote
Old 06-06-2014, 03:45 AM   #5
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
Can you both tell me your exact open_basedir ?
vlad59 is offline   Reply With Quote
Advert
Old 06-07-2014, 05:08 AM   #6
nchcalvin
Junior Member
nchcalvin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2014
Device: galaxy tab pro
Quote:
Originally Posted by vlad59 View Post
Can you both tell me your exact open_basedir ?
open_basedir:

/etc.defaults:/etc:/usr/syno/synoman:/tmp:/var/services/tmp:/var/services/web:/var/services/homes:/volume1/Books/


Thanks!
nchcalvin is offline   Reply With Quote
Old 06-14-2014, 02:50 AM   #7
redlob
Connoisseur
redlob began at the beginning.
 
redlob's Avatar
 
Posts: 61
Karma: 10
Join Date: Jul 2010
Location: The Netherlands
Device: Kobo Glo HD, Kobo Aura H2O edition 2, Kobo Libra 2
Same problem here after upgrade to the latest COPS package on DSM 4.3

Thanks!
redlob is offline   Reply With Quote
Old 06-18-2014, 02:19 PM   #8
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
That's really strange could you try to see if https://github.com/seblucas/cops/issues/157 helps ?
vlad59 is offline   Reply With Quote
Old 06-18-2014, 02:51 PM   #9
redlob
Connoisseur
redlob began at the beginning.
 
redlob's Avatar
 
Posts: 61
Karma: 10
Join Date: Jul 2010
Location: The Netherlands
Device: Kobo Glo HD, Kobo Aura H2O edition 2, Kobo Libra 2
there is no /etc/php/conf.d/com.synocommunity.packages.cops.ini on my Synology. Maybe it's a DSM 5.0 only thing?
redlob is offline   Reply With Quote
Old 06-19-2014, 07:50 AM   #10
nchcalvin
Junior Member
nchcalvin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2014
Device: galaxy tab pro
Quote:
Originally Posted by vlad59 View Post
That's really strange could you try to see if https://github.com/seblucas/cops/issues/157 helps ?
The problem still here. I has modified both "/etc/php/conf.d/com.synologycommunity.packages.cops.ini" and "/etc.default/php/conf.d/user-setting.ini"

Error message from COPS
Check if Calibre database file exists and is readable
File /volume1/Books/metadata.db not found, Please check


The open_dir setting has been detected by COPS, but it seem to be that the metadata.db cannot be found.
nchcalvin is offline   Reply With Quote
Old 06-19-2014, 07:56 AM   #11
nchcalvin
Junior Member
nchcalvin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2014
Device: galaxy tab pro
Quote:
Originally Posted by redlob View Post
there is no /etc/php/conf.d/com.synocommunity.packages.cops.ini on my Synology. Maybe it's a DSM 5.0 only thing?
You have to login root ac via telnet or ssh
nchcalvin is offline   Reply With Quote
Old 06-19-2014, 11:58 AM   #12
redlob
Connoisseur
redlob began at the beginning.
 
redlob's Avatar
 
Posts: 61
Karma: 10
Join Date: Jul 2010
Location: The Netherlands
Device: Kobo Glo HD, Kobo Aura H2O edition 2, Kobo Libra 2
Lol, yes I know that /etc/php doesn't even exist on my box....
redlob is offline   Reply With Quote
Old 06-28-2014, 05:57 AM   #13
nchcalvin
Junior Member
nchcalvin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2014
Device: galaxy tab pro
Hey guys, I have fixed this problem. This problem seem to be caused by MariaDB. Please try to update the newest version of MariaDB and DSM (DSM 5.0-4993 Update 2).
nchcalvin is offline   Reply With Quote
Old 06-28-2014, 06:57 PM   #14
redlob
Connoisseur
redlob began at the beginning.
 
redlob's Avatar
 
Posts: 61
Karma: 10
Join Date: Jul 2010
Location: The Netherlands
Device: Kobo Glo HD, Kobo Aura H2O edition 2, Kobo Libra 2
But MariaDB is DSM5.0 only right? It's still an issue on my DSM 4.3 box.
redlob is offline   Reply With Quote
Old 07-04-2014, 11:46 AM   #15
nchcalvin
Junior Member
nchcalvin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2014
Device: galaxy tab pro
Quote:
Originally Posted by redlob View Post
But MariaDB is DSM5.0 only right? It's still an issue on my DSM 4.3 box.
Did you install the MariaDB addon? If you did, you should have received the update message of MariaDB recently.

Last edited by nchcalvin; 07-04-2014 at 11:49 AM.
nchcalvin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save the Metadata to the Libary files/change filename to the Metadata RyuujiTakasu Calibre 10 03-19-2014 02:01 PM
Metadata priority & how does metadata lookup work? MelBr Calibre 4 03-11-2013 12:13 AM
Failed to download metadata (both metadata & cover) EddieSean Calibre 0 01-31-2013 09:49 PM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 02:10 PM
Cybook not found in linux, found in win XP fjf Bookeen 15 01-18-2008 06:57 PM


All times are GMT -4. The time now is 09:03 AM.


MobileRead.com is a privately owned, operated and funded community.