-
Notifications
You must be signed in to change notification settings - Fork 72
UpgradeSynology
Upgrading from Synology DSM 4 to DSM 5 causes problems for BicBucStriim because the extension for Sqlite3 databases is not loaded by default anymore. As a result errors about missing drivers appear.
To get it running again there are two options:
Add the mssql extension in the control panel, found by @anniemossity, #87:
The issue is resolved by changing the PHP extension settings in the DSM control panel / web services. The PHP extension mssql is not selected by default after the firmware upgrade (to DSM5) and needs to be manually selected. This solves the problem.
Add the drivers manually:
Edit the file /usr/syno/etc/php/extensions.ini
and add the lines
extension = pdo_sqlite.so
extension = sqlite3.so
With DSM 5 versions the upload of author images might cause errors. One reason for that could be the PHP configuration. The default storage location for upload files on Synology devices is the directory /var/services/tmp
, also known as /volume1/@tmp
. However, this directory is not in the open_basedir
list for locations that PHP is allowed to access, by default this list contains /volume1/@tmp/php
.
To solve this problem, either
- add the directory
/volume1/@tmp
to the open_basedir list (Control Panel, web services, PHP) - change the default upload location for PHP to
/volume1/@tmp/php
by editing/etc/php/php.ini
, setupload_tmp_dir
to/var/services/tmp/php