• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Roundcube carddav plugin - missing carddav_addressbooks

proton23

Basic Pleskian
Hello!

Question is: What am I doing wrong?

I'm trying to install carddav plugin to roundcube.
I tried "via git" and "via tarball" versions from roundcube/carddav - Roundcube Webmail Plugin Repository

But after enabling the plugin when I try to login I get a page with:
HTML:
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.
/var/log/plesk-roundcube/errors tells me this:
Code:
/usr/share/psa-roundcube/program/lib/Roundcube/rcube_db.php on line 539 (GET /?_task=mail&_reply_uid=11646&_mbox=INBOX&_action=compose)
[25-Mar-2018 19:08:54 +0000]: <tjmfhf9p> DB Error: [1146] Table 'roundcubemail.carddav_addressbooks' doesn't exist (GET /?_task=mail&_reply_uid=11646&_mbox=INBOX&_action=compose)

I also tried to execute the sql-scripte myself like for caldav (https://support.plesk.com/hc/en-us/articles/115002812813-How-to-install-kolab-calendar-plugin-for-RoundCube- )
but this results in
Code:
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin roundcubemail < /usr/share/psa-roundcube/plugins/carddav/dbmigrations/0000-dbinit/mysql.sql
ERROR 1215 (HY000) at line 2: Cannot add foreign key constraint
This thread
Table 'roundcubemail.carddav_addressbooks' doesn't exist (GET /) doesn't exist · Issue #189 · blind-coder/rcmcarddav
seems to think it's an plesk issue and that's why I'm here.

I'm a little bit stuck and every help is highly appreaciated.

Best regards
 
Last edited:
Finally I managed to make it work.
Running those sql-scripts manually required to remove 'TABLE_PREFIX' in every of them.

Don't know why it has not been replaced and executed on first login but now it works.

Best regards
 
Back
Top