Roundcube with carddav issue

Discussion in 'Installation/Configuration' started by tfboy, May 20, 2024.

  1. tfboy

    tfboy Member

    I'm finishing rebuilding my server having used the latest autoinstaller on a Debian12 OS. Roundcube appears to be working well and I've added a 2FA plugin, all good.
    However, I'm having issues with carddav (which will link with an addressbook on Nextcloud I have installed on the same server). I've installed it using composer, but as soon as I activate the plugin, I get an "Oops" error.
    Looking into the roundcube logs, I see:
    Code:
    DB Error: [1146] Table 'roundcube.carddav_accounts' doesn't exist (SQL Query: SELECT * FROM carddav_accounts WHERE ((`user_id` = '2'))) in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 578 (POST /webmail/?_task=mail&_action=)
    The user_id matches the IPSC user ID.
    My understanding is the fields are created in the database, but I didn't specify any DB credentials. However, in my previous installation of roundcube, I can see a load of ISPConfig plugins that were installed and I recall following this guide. But it's quite old... My guess is the roundcube carddav plugin is meant to authenticate as a remote user with ISPC then giving access to the roundcube DB. I've set up the remote user, defined the settings but no luck.
    Here are the ISPC plugins installed:
    Code:
    ispconfig3_account -> /usr/share/roundcube/plugins/ispconfig3_account
    ispconfig3_autoreply -> /usr/share/roundcube/plugins/ispconfig3_autoreply
    ispconfig3_autoselect -> /usr/share/roundcube/plugins/ispconfig3_autoselect
    ispconfig3_fetchmail -> /usr/share/roundcube/plugins/ispconfig3_fetchmail
    ispconfig3_filter -> /usr/share/roundcube/plugins/ispconfig3_filter
    ispconfig3_forward -> /usr/share/roundcube/plugins/ispconfig3_forward
    ispconfig3_pass -> /usr/share/roundcube/plugins/ispconfig3_pass
    ispconfig3_spam -> /usr/share/roundcube/plugins/ispconfig3_spam
    ispconfig3_wblist -> /usr/share/roundcube/plugins/ispconfig3_wblist
    
    What am I missing?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    According to the SQL error, the table carddav_accounts has not been created by composer. You should double-check the install instructions of the plugin you installed and then create the missing table.

    That's unlikely, I do not see any reason why a carddav plugin should do that. Also none of the Roundcube ISPConfig plugins is about carddav.
     

Share This Page