![]() |
#1216 |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Hello. I am trying to set up Cops on a personal web server (using Abyss on mac os x). My calibre database is in my Dropbox folder on my desktop. Cops is in the Abyss web server folder in the Applications folder. I get this error reported in the attached image. https://www.dropbox.com/s/a7cvkykihq...58.51.jpg?dl=0 Does anyone have any idea how I can fix this? I'm not an expert in code, so could someone could give me an explanation on how to write the path to the calibre library as maybe that is one of the problems. Thank you very much.
![]() Last edited by inthemood; 05-19-2016 at 03:56 AM. |
![]() |
![]() |
![]() |
#1217 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
To help you solve your problem please post this line out of your config.local.php file:
Code:
$config['calibre_directory'] = './'; |
![]() |
![]() |
![]() |
#1218 |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Thank you for answering. I am not home right now. I will send you what you request later tonight. Have a nice day.
|
![]() |
![]() |
![]() |
#1219 |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
HI again. Actually I was able to get what you asked remotely.
Dropbox location : (house logo) peter $config['./Users/peter/Dropbox/Public/E-books/metadata.db'] = './'; Thank you for your help. |
![]() |
![]() |
![]() |
#1220 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Try:
Code:
$config['calibre_directory'] = '/Users/peter/Dropbox/Public/E-books/'; |
![]() |
![]() |
![]() |
#1221 |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
|
![]() |
![]() |
![]() |
#1222 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
Could you give me some advice. I am trying to set up Cops on a personal web server (using Abyss on mac os x). My calibre database is in my Dropbox folder on my desktop. Cops is in the Abyss web server folder in the Applications folder. I get this error reported in the attached image. https://www.dropbox.com/s/a7cvkykihq...58.51.jpg?dl=0 I don't know what I'm doing wrong. Thank you. |
|
![]() |
![]() |
![]() |
#1223 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
You are, probably, not doing much wrong.
What is not yet correct is either: 1 - the path to the Calibre database file metadata.db is not correct. Therefore it cannot be found. To test this: a - make a directory in your home folder named "e-book". So the path will be: /Users/peter/e-book b - change the line in the COPS config file config_local.php to: $config['calibre_directory'] = '/Users/peter/e-book/'; c - then try to connect to cops in a browser again 2 - the file metadata.db (and folder it is in) cannot be read by COPS because it has the wrong access rights. You should change the access rights to 755 = drwxr-xr-x (directory) and -rwxr-xr-x (files). This can easily be done in the terminal. with the command Code:
chmod -R 755 /Users/peter/e-book |
![]() |
![]() |
![]() |
#1224 |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Thank you Mariosipad. I will try and get back to you.
|
![]() |
![]() |
![]() |
#1225 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
|
|
![]() |
![]() |
![]() |
#1226 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
On top of the database error, there are also these lines in the COPS configuration check : Check if intl is properly installed and loaded Please install the php5-intl extension and make sure it's enabled Check if Normalizer class is properly installed and loaded Please make sure intl is enabled in your php.ini Check if the rendering will be done on client side or server side Client side rendering Could there be something to do there ? Thanks again for your help. |
|
![]() |
![]() |
![]() |
#1227 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Quote:
Quote:
You could try: Code:
chmod -R 777 /Users/peter/e-book Maybe your webserver (Abyss on mac os x) puts restrictions on where to place the PHP accessible COPS database? (Just like on Synology [fixable]) You could try to put (for testing) the Calibre directory/folder inside of the COPS directory (/Applications/Abyss/www/COPS/e-book or something like that) and use $config['calibre_directory'] = './e-book/'; in config_local.php As Abyss is "non-free" software I cannot help you with that on one of my OSX boxes. ![]() Correction: It is free! ![]() I might try for myself (on Linux) if I can get it to work with COPS(maybe this afternoon). ![]() Last edited by mariosipad; 05-20-2016 at 06:22 AM. |
||
![]() |
![]() |
![]() |
#1228 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
Maybe I should try reinstalling both Abyss server and COPS ? Thank you again for your generous help. Have a nice day. |
|
![]() |
![]() |
![]() |
#1229 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
After about an hour of installing and configuring I gave up
![]() It just will not work "out of the box". I could not even get the web server started on port 80! I think reinstalling and reconfiguring Abyss is the wisest move. (is sqlite3 installed in Abyss?) |
![]() |
![]() |
![]() |
#1230 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
I will try reinstalling all this. Thanks again. |
|
![]() |
![]() |
![]() |
Tags |
calibre opds, dns, kobo aura, synology |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre OPDS server with windows apps? | nickdma | Related Tools | 10 | 03-03-2024 02:53 PM |
[Old Thread] Android FBreader and Calibre OPDS server question | kalex | Calibre | 5 | 12-24-2015 10:16 PM |
PHP+Apache web server for calibre ... | chaley | Related Tools | 254 | 04-28-2014 08:18 PM |
External OPDS catalogue in Calibre | bolton | Calibre | 1 | 09-05-2012 06:14 AM |
Calibre Command Line usage with PHP | artoros | Related Tools | 13 | 07-01-2010 09:57 AM |