![]() |
#1231 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
The apache2 server on OSX is rather outdated (as far as I know).
Your Mac is your "only" computer and is it running Calibre? Are you sure the Calibre directory is working? |
![]() |
![]() |
![]() |
#1232 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#1233 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
I asked because Calibre can serve ebooks quite nicely (though I like COPS better).
Accessing the Dropbox folders should work. So I think your problem is either a configuration problem or a rights issue. The first is hard to "debug" and the latter is a bit dangerous if you do not know what you do and change access rights (I know, I made all the errors ![]() |
![]() |
![]() |
![]() |
#1234 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
|
|
![]() |
![]() |
![]() |
#1235 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Ok, after some reinstalling and reconfiguring I have Abyss webserver (Debian Linux) working with COPS!
![]() It works both inside and outside of the COPS directory/folder. If it works for me, it should work for you! I suggest starting with putting the calibre folder with all files inside of the COPS directory [../htdocs/cops/e-book]. If this works then change the Code:
$config['calibre_directory'] = './e-book/'; Code:
$config['calibre_directory'] = '/Users/peter/Dropbox/Public/E-books/'; |
![]() |
![]() |
Advert | |
|
![]() |
#1236 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
This is encouraging news. I will try to reinstall everything from scratch. Maybe I did something wrong along the way. Thank you. I will tell you the result. Have a good day. |
|
![]() |
![]() |
![]() |
#1237 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
Here is a link to my books on dropbox. Maybe you can try to make it work if you have time. Of course feel free to take any of the books you could be interested in. https://www.dropbox.com/sh/9jbiwx3df...VVbKL1iZa?dl=0 Thanks again for your help. |
|
![]() |
![]() |
![]() |
#1238 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
You can take down the Dropbox-link.
Your calibre folder works fine (with Dropbox) on a Windows PC with another webserver. I'm convinced it should work with Abyss webserver as well. There is probably something wrong with a setting in config_local.php Did you have all the right "/" in config_local.php? Could you post the COPS output with the error(s) again? Last edited by mariosipad; 05-21-2016 at 05:51 PM. |
![]() |
![]() |
![]() |
#1239 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
Thank you again for helping me. Here is the Cops output https://www.dropbox.com/s/a7cvkykihq...58.51.jpg?dl=0 And here is my config_local.php Maybe something will strike you. https://www.dropbox.com/s/otco043gjy...l.php.png?dl=0 |
|
![]() |
![]() |
![]() |
#1240 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
https://www.dropbox.com/s/ofjph0lkgt...older.png?dl=0 |
|
![]() |
![]() |
![]() |
#1241 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@inthemood
It should work if you change the file config_local.php: Code:
/*
* The directory containing calibre's metadata.db file, with sub-directories
* containing all the formats.
* BEWARE : it has to end with a /
*/
$config['./ebooks/'] = './';
Code:
/*
* The directory containing calibre's metadata.db file, with sub-directories
* containing all the formats.
* BEWARE : it has to end with a /
*/
$config['calibre_directory'] = './ebooks/';
![]() Additionally you could rename the directory/folder ./htdocs/cops-1.0.0RC3 to ./htdocs/cops Hope it works! ![]() |
![]() |
![]() |
![]() |
#1242 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
I had seen that = './' - and for some reason I thought it was just an indication of how the path had to be written or something. I don't know. Now, of course, it seems so obvoius. Thank you very much for taking this time to help me. |
|
![]() |
![]() |
![]() |
#1243 |
Connoisseur
![]() Posts: 75
Karma: 14
Join Date: Jun 2008
Location: Australia
Device: iPad Pro 12"; Kindle Paperwhite
|
![]()
Hi,
I am trying to get COPS 1.0.0RC3 working on my hosted server. (I had an older version working, but accidentally deleted my config_local.php when preparing to upgrade.) Details are: COPS files are in the domain root metadata.db and ebook directories/files are in a subdirectory called ebooks which is in the domain root config_local.php: ***** <?php if (!isset($config)) $config = array(); /* * The directory containing calibre's metadata.db file, with sub-directories * containing all the formats. * BEWARE : it has to end with a / */ $config['calibre_directory'] = 'ebooks/'; /* * Catalog's title */ $config['cops_title_default'] = "Test Title"; /* * use URL rewriting for downloading of ebook in HTML catalog * See README for more information * 1 : enable * 0 : disable */ $config['cops_use_url_rewriting'] = "0"; ***** base_opendir is set in php.ini to NULL PHP version is 5.6.19 fastcgi sqlite3 is installed Both the ebooks subdirectory and metadata.db are set to 755 (and have been tested with 777) I am the owner of the directories and files. This configuration gets me a grey screen, with a changed title on the tab. If I change the calibre_directory to anything else, I can get the Configuration Check page, which shows everything as OK, but gives the "<path>/metadata.db not found" message. I've reinstalled everything a couple of times and started with a clean config_local.php file (which is what I'm currently trying, as per the above). I did once manage to get past this error (and can't remember how) and immediately ran into an error message "fetchColumn on a boolean" when checkconfig.php was trying to check that metadata.db had the required columns, so I suspect that I hadn't solved the issue but had managed to bypass it somehow. Any suggestions welcome :-) Stephen Silk |
![]() |
![]() |
![]() |
#1244 |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
I think your calibre directory should be : './ebooks/'
|
![]() |
![]() |
![]() |
#1245 |
Connoisseur
![]() Posts: 75
Karma: 14
Join Date: Jun 2008
Location: Australia
Device: iPad Pro 12"; Kindle Paperwhite
|
I tried that - same result. Grey screen.
I had a look at the page source for the grey screen - it has some set up code, but nothing in the <body></body> section. Last edited by sasilk; 05-24-2016 at 01:33 PM. |
![]() |
![]() |
![]() |
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 |