Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

UpgradeSynology

Rainer Volz edited this page Mar 30, 2014 · 3 revisions

SQLite driver not found

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

Upload problems

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, set upload_tmp_dir to /var/services/tmp/php
Clone this wiki locally