![]() |
#1711 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2019
Device: Nexus 7
|
Quote:
Code:
# Use nobody user (uid 65534) for nfs guest. This is restricted from private # shares by ACLs. # /nfs/ *(rw,all_squash,sync,no_subtree_check,insecure,crossmnt,anonuid=65534,anongid=1000) Did the chown 777 on the mount folder (wdmc_calibre) on the Pi (which runs Stretch Lite), no change. It appears the actual Share/folder on the NAS is 0777. ![]() |
|
![]() |
![]() |
![]() |
#1712 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
I do 2 things different:
1 - /etc/exports Code:
/exports/share 192.168.0.0/24(rw,async,insecure,all_squash,no_subtree_check,crossmnt,anonuid=1000,anongid=1000) Code:
mount 192.168.0.xxx:/exports/share /mnt/nfs /mnt/nfs/books Books is a directory inside /exports/share on the server. |
![]() |
![]() |
Advert | |
|
![]() |
#1713 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2019
Device: Nexus 7
|
Quote:
|
|
![]() |
![]() |
![]() |
#1714 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
I did some further checking.
I also get a grey/white browserscreen if I make a deliberate mistake in config_local.php. Just deleting a "';" or adding one causes this behaviour. Can you recreate your config_local.php from config_default.php just to remove any possibility of an error in this file? If you can reach the nfs share on your Pi, then the NFS server works (I would say). |
![]() |
![]() |
![]() |
#1715 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2019
Device: Nexus 7
|
Quote:
Obviously one would think that if one can access the NFS share that it should work. But obviously something is wrong as it's not working and it's only not working when using NFS to access the network share. If I change the share mapping to CIFS then COPS works fine. Plex is loaded to this same Raspberry Pi and it does not have any problems accessing content on mapped NFS shares. It's a head scratcher. Last edited by bennor; 04-06-2019 at 07:26 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#1716 | ||
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2019
Device: Nexus 7
|
Quote:
From the FAQ link: Quote:
|
||
![]() |
![]() |
![]() |
#1717 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
I'm convinced it's not a problem with sqlite3 (you are the only concurrent user right?) nor with nfs (it works).
That leaves an error in config_local.php. To test this hypothesis please do this: 1 - copy your existing config_local.php to config_local.php.orig 2 - copy config_local.php.example to config_local.php (don't change anything in this file) 3 - open COPS in a browser: you should get an error-page db not found 4 - then add in your NFS directory /home/pi/wdmc_calibre 5 - check if directory /home/pi/wdmc_calibre exists on your pi 6 - refresh your browser with cops and this works for me. And I hope for you too. |
![]() |
![]() |
![]() |
#1718 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Apr 2019
Device: Nexus 7
|
Quote:
Not sure where the issue lies. The firmware that WD created to run the My Cloud device is quirky and has various issues. Some elements of the firmware, like Samba, are years out of date. |
|
![]() |
![]() |
![]() |
#1719 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Apr 2019
Device: gmini A6LHD
|
|
![]() |
![]() |
![]() |
#1720 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 143
Karma: 76596
Join Date: Feb 2015
Location: Portugal
Device: Kobo Aura HD
|
As you may heard, a new COPS version is scheduled for the end of June.
Bring in your personal fixes into Github to help improve the software: https://github.com/seblucas/cops You can also improve translations using Transifex platform : https://www.transifex.com/projects/p/cops/ Also remember to can offer Sébastien Lucas a drink to help him fixing things: https://www.paypal.com/cgi-bin/websc...=9CNHDRJ6GX2Z4 |
![]() |
![]() |
![]() |
#1721 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2013
Device: Kindle Keyboard
|
I'm a long time user of COPS but only recently upgraded from v1.0.1 to v1.1.3, running on Synology DSM 6.2.2.
After the upgrade, nearly everything works ok - except for the open folder button which appears beside the download button for each ebook format. I'm not exactly sure what this button does which is different to the download button to it's left. Judging by the COPS demo this button should download the ebook (is it meant to download and open on some platforms?). When I click this button, with any book or format selected, it downloads the "fetch.php" file, rather than an ebook. Can anyone help with fixing this behaviour? |
![]() |
![]() |
![]() |
#1722 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 143
Karma: 76596
Join Date: Feb 2015
Location: Portugal
Device: Kobo Aura HD
|
New version released: 1.1.3 (2019/06/24)
https://github.com/seblucas/cops/releases |
![]() |
![]() |
![]() |
#1723 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@KeithJ108
What OS / browser combo are you using? I never succeeded in making it work with (Windows/OSX/Debian) Firefox (and several add-in's). But it's supposed to work with windows 10 / Edge browser (if I remember correctly). I just hacked it out of the source code and went back to just the download icon. |
![]() |
![]() |
![]() |
#1724 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2018
Device: nook 3
|
Weird Behavior in Firefox
When I use the Firefox browser (version 67.0.4 (64-bit)) and the new COPS 1.1.3. everything seems to work fine. I can pull 50 of my most recent calibre books (stored on my Synology NAS) and can click on an individual book and pull up the summary page with the 3 icons (epub download button, folder button, and COPS reader button).
What is weird is that when I right click on the "epub download button" it seems to do what it should by automatically downloading the book file, however, the resulting file is zero bytes in size. Yet if I left click on the "epub download button" and select "save link as" Firefox downloads the full proper book file. I don't get this weird behavior in Chrome or MS Edge - if I right click on the "epub download button" in those browsers the full proper book file is downloaded. Any ideas on what is going on? My operating system is Windows 10, 64bit. |
![]() |
![]() |
![]() |
#1725 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2018
Device: nook 3
|
Quote:
Uggh! I made a major typo in my post above - I meant to say: when I LEFT click on the "epub download button" it seems to do what it should by automatically downloading the book file, however, the resulting file is zero bytes in size. Yet if I RIGHT click on the "epub download button" and select "save link as" Firefox downloads the full proper book file. You would think at my age I could tell "left" from "right".... |
|
![]() |
![]() |
![]() |
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 |