seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

Unable to run on QNAP (Apache) #401

Closed sw-dev1 closed 5 years ago

sw-dev1 commented 6 years ago

Hi,

I am getting error 500 after install (folder cops under Web) on a QNAP Apache server.

Any special config needed for Apache?

Cheers.

seblucas commented 6 years ago

Did you check the logs ?

I never tried to install COPS on QNAP but I know some users did successfully.

sw-dev1 commented 6 years ago

Yes, I checked the logs but found no error. I ended up installing the QPKG from a link here: https://forum.qnap.com/viewtopic.php?t=101794. This works (no 500 error). Is it a different version of your app or is it a kind of a fork for QNAP?

Next problem is that I cannot get it to work with a Calibre database on a different server. Mapping the remote folder to a local folder via nfs gives a "database not found".

Any idea how to make a working configuration with the php app on one server and the Calibre library on another?

Merci beaucoup.

seblucas commented 6 years ago

Never tried using NFS but I guess it shouldn't cause any problem, did you check the linux rights ?

sw-dev1 commented 6 years ago

Yes, the database has read-write rights. I do need the server separation. Would there be another way of accessing files on a LAN?