View Single Post
Old 03-10-2017, 06:43 PM   #1478
iostrym
Connoisseur
iostrym began at the beginning.
 
Posts: 73
Karma: 10
Join Date: Mar 2015
Device: kobo
I don't succeed to make my calibre database in sharefolder /volume2/ebook to work.
I suspect open_basedir problem.

In Synology there is a GUI ton configure open_basedir but maybe this GUI is not modifying the correct file ? For instance, my modification in the GUI lead to the modification of :

/usr/syno/etc/packages/WebStation/php56/conf.d/user_settings.ini =

zend_extension = opcache.so
extension = apcu.so

date.timezone = Europe/Amsterdam
display_errors = On
open_basedir = /tmp:/var/services/tmp:/var/services/web:/var/services/homes:/volume2/ebook



whereas in the COPS checkconfig.php it is said to check value of open_basedir in php.ini.

There are several php.ini in my synology. one is located in :

/usr/syno/etc/packages/WebStation/php56/php.ini and don't contain any open_basedir configuration.

there are also some other php.ini :

/etc/php/php.ini
/etc.defaults/php/php.ini
/usr/syno/etc/packages/WebStation/php56/php.ini
/usr/syno/etc/packages/WebStation/php70/php.ini
/usr/local/etc/php56/php.ini

And I don't know which one to modify.

Concerning the rights of /volume2/ebook I think there are OK as I did a chmod -R 777, also add http group (instead of http user that is a synocommunities mistake I think)
iostrym is offline   Reply With Quote