View Single Post
Old 09-08-2014, 06:31 AM   #999
vladacr
Member
vladacr began at the beginning.
 
Posts: 18
Karma: 34
Join Date: Mar 2011
Device: android
COPS on a Raspberry Pi with NFS storage

First of all, thanks for COPS, seems like pretty fast on my raspberry.

Second of all, I have to say that my setup is perhaps a little non-standard. COPS is installed on a Rasperry Pi in /var/www. The library is primarily on my laptot, but it's regularly rsynced to Xtrend 9500, which is a linux based satellite receiver with linux standard network capabilities. So it's internal 1 TB hard drive is used as a NAS drive.

Xtrend export settings:
Code:
/media/hdd/ostatni/knihovna/ 192.168.1.30(rw,sync,no_subtree_check)
(knihovna directory has been recursively chmodded to 777)

on the raspberry this export is mounted with:
Code:
sudo mount xtrend:/media/hdd/ostatni/knihovna /home/vlad/ebooks
my /var/www/config_local.php has:
Code:
    $config['calibre_directory'] = '/home/vlad/ebooks/';
    $config['cops_title_default'] = "Knihovna";
    $config['cops_use_url_rewriting'] = "0";
When I remotely connect my raspberry at http://9x.x2.xx8.2xx:9998/index.php (remote port 9998 is forwarded to local port 80) I get nothing but a blank screen, but the page is named "Knihovna" as set in config_local. The checkconfig.php says:


Any ideas what could be wrong? Thanks for your replies.
vladacr is offline   Reply With Quote