@all Synology NAS users
I spent a little time this afternoon to test COPS on my DS210J and i went really fine without the need to change any line of code.
Calibre database inside the webdir
I followed the
wiki page to the fifth point
In my case my calibre database is : \\diskstation\web\cops\feedbook\metadata.db
COPS is installed in \\diskstation\web\cops
In config_local.php I only changed :
Code:
$config['calibre_directory'] = './feedbook/';
$config['calibre_internal_directory'] = './feedbook/';
And everything was working fine (including book download)
Calibre database outside the webdir
I choose to install in a shared folder named "logiciel" and the full path is :
/volume1/logiciel/feedbook
I had to go to Control Panel -> Web Services -> Web Applications and Customise PHP open_base_dir to add :
Code:
:/volume1/logiciel/feedbook/
And then edit config_local.php to change :
Code:
$config['calibre_directory'] = '/volume1/logiciel/feedbook/';
$config['calibre_internal_directory'] = '/volume1/logiciel/feedbook/';
$config['cops_x_accel_redirect'] = "X-Sendfile";
And again everything was working fine (including book download).
Please confirm
I would be very pleased if some people could test it. That way the wiki could be updated quickly.
Thanks in advance.