Quote:
Originally Posted by mariosipad
1. does cops work with a local (as on the Raspberry Pi) database?
2. did you end your path (in config_local.php) with a / ?
|
Yes to both. Here goes a rather long post.

Below are some screen shots to illustrate things on my end. The end result is the COPS program works when either the Calibre/book folders are located on a USB drive attached to the Pi or when using CIFS network mapping to a NAS (WD My Cloud). Only when using NFS for network mapping does it fail for some reason. The current NFS fstab mount code looks like this (IP address blanked out):
Code:
XXX.XXX.XXX.XXX:/nfs/Calibre /home/pi/wdmc_calibre nfs rw,hard,intr,noatime,norelatime,rsize=8192,wsize=8192,timeo=14 0 0
This is how the web page (both index.php and the hung checkconfig.php) look when the path is configured to use a network share that is mapped using NFS.
The config file showing the network share mapping.
The terminal window showing there are book files including the Calibre database files in that network share directory.
When the Calibre files are copied to a USB hard drive attached to the Raspberry Pi, COPS works as expected.
The Config file indicating the USB drive.