google_addressbook icon indicating copy to clipboard operation
google_addressbook copied to clipboard

sync-cli.sh Unsupported database driver

Open thoatswold opened this issue 6 years ago • 1 comments

I have just installed the google_addressbook plugin using Composer. It all seemed to go well (except that I had to run the SQL/mysql.initial.sql file manually), and the plugin shows up in Roundcube's About window.

However, when I run /usr/share/roundcube/plugins/google_addressbook/sync-cli.sh I get the message:

ERROR: Configuration error. Unsupported database driver: (there is no database driver specified in the error message)

My system is as follows: Ubuntu 18.04 server (64-bit) PHP 7.2 mysql provided by MariaDB (mysql Ver 15.1 Distrib 10.1.29-MariaDB) Roundcube 1.3.6

Can anyone help to resolve this issue?

thoatswold avatar Jul 08 '18 11:07 thoatswold

This was already mentioned in #5

In Debian (and i guess ubuntu as well) it helps to set (edit sync-cli.sh) the INSALL PATH to '/var/lib/roundcube'

-define('INSTALL_PATH', realpath(dirname(__FILE__) . '/../..') . '/' ); +define('INSTALL_PATH', '/var/lib/roundcube/' );

vgropp avatar Dec 31 '19 12:12 vgropp