Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2014, 11: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 11:22 AM.
nchcalvin is offline   Reply With Quote
Old 06-04-2014, 02: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: 352
Karma: 37761
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
Old 06-04-2014, 01: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 01:23 PM.
nchcalvin is offline   Reply With Quote
Old 06-06-2014, 12:19 AM   #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, 04: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: 352
Karma: 37761
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
Old 06-07-2014, 06: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, 03:50 AM   #7
redlob
Enthusiast
redlob began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jul 2010
Device: Bebook Neo, Kobo Glo
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, 03: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: 352
Karma: 37761
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, 03:51 PM   #9
redlob
Enthusiast
redlob began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jul 2010
Device: Bebook Neo, Kobo Glo
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, 08: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, 08: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, 12:58 PM   #12
redlob
Enthusiast
redlob began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jul 2010
Device: Bebook Neo, Kobo Glo
Lol, yes I know that /etc/php doesn't even exist on my box....
redlob is offline   Reply With Quote
Old 06-28-2014, 06: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, 07:57 PM   #14
redlob
Enthusiast
redlob began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jul 2010
Device: Bebook Neo, Kobo Glo
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, 12:46 PM   #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 12:49 PM.
nchcalvin is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:01 PM
Metadata priority & how does metadata lookup work? MelBr Calibre 4 03-11-2013 01:13 AM
Failed to download metadata (both metadata & cover) EddieSean Calibre 0 01-31-2013 10:49 PM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 03:10 PM
Cybook not found in linux, found in win XP fjf Bookeen 15 01-18-2008 07:57 PM


All times are GMT -4. The time now is 04:09 PM.


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