Owncloud Could Not Find Driver Sqlite

Posted on
Owncloud Could Not Find Driver Sqlite

I had the same problem concerning what you've cited above: 'exception 'Doctrine DBAL DBALException' with message 'Failed to connect to the database: An exception occured in driver: could not find driver' in /var/www/owncloud/lib/private/db/connection.php:54' I solved it. The problem (in my case) was caused by different php version for 'the command line' and for the serving side via 'apache'.

Needs to use the same php version. • check the php version at the command line 'php -v' for example PHP7.0.2 • check the php version which the serving-side is using via e.g. Creating a info.php with the content: ' this gives as output e.g. PHP 5.6.17 So the difference is PHP7.0.2 and PHP5.6.17. Btw the occ command is php based also. I solved the problem by installing PHP5.6.17 at the 'command line' side as well so it is the same as at 'serving side'.

But we're not there yet in case you have multiple php versions on your system. If the 'php -v' doesn't give PHP5.6.17 you have to create a new alias for php (assuming the correct version is also stored in the file system, otherwise install it). Locate the correct php version with 'whereis php'.

Kitkat Baby Dance Ringtone Download. Change the alias to the correct path until the 'php -v' gives the same version as the 'serving side' php version. Your occ command should work again if it was caused by the same problem. If not, please remove my reply. Almanaque Mundial Pdf Download.

Owncloud Could Not Find Driver Sqlite

Sudo -u www-data php /var/www/owncloud/console.php files:scan --all. An unhandled exception has been thrown: Doctrine DBAL DBALException: Failed to connect to the database: An exception occured in driver: could not find driver in /var/www/owncloud/lib/private/DB/Connection.php:63.