Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync-cli.sh Unsupported database driver #50

Open
thoatswold opened this issue Jul 8, 2018 · 1 comment
Open

sync-cli.sh Unsupported database driver #50

thoatswold opened this issue Jul 8, 2018 · 1 comment

Comments

@thoatswold
Copy link

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?

@vgropp
Copy link

vgropp commented Dec 31, 2019

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/' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants