Zum Inhalt springen

Roundcube/Plugin/carddav: Unterschied zwischen den Versionen

Aus Foxwiki
Zeile 68: Zeile 68:
** Danach sollte unter ''Einstellungen'' ein Bereich ''CardDAV'' sichtbar sein
** Danach sollte unter ''Einstellungen'' ein Bereich ''CardDAV'' sichtbar sein


=== Troubleshooting ===
== Troubleshooting ==
If you get a <code>curl</code> error like this when downloading the dependencies
If you get a <code>curl</code> error like this when downloading the dependencies
  All settings are correct for using Composer
  All settings are correct for using Composer

Version vom 9. Juli 2026, 09:51 Uhr

Roundcube/Plugin/carddav


Beschreibung

This is a plugin to access CardDAV servers like nextcloud

  • Installed via composer roundcube/carddav

Set up the database tables using the suitable file saved in the dbmigrations/0000-dbinit/ subfolder

Then you can configure your address book. If you use an ownCloud server, this is how to do it:

If you have an Android phone, you may want to take a look at the CardDAV application here.

Installation

  • carddav ist ein externes Roundcube-Plugin
  • Es ist der Release-Tarball carddav-vX.Y.Z.tar.gz zu verwenden
  • Die Datenbankinitialisierung erfolgt beim nächsten Roundcube-Login
carddav herunterladen und installieren
  • CARDAV_VERSION muss auf die gewünschte Release-Version gesetzt werden
CARDAV_VERSION="5.1.3"
wget https://github.com/mstilkerich/rcmcarddav/releases/download/v5.1.3/carddav-v5.1.3.tar.gz
tar -xzf carddav-v5.1.3.tar.gz -C /var/lib/roundcube/plugins
test -d /var/lib/roundcube/plugins/carddav
Konfigurationsdatei anlegen
cp -n /var/lib/roundcube/plugins/carddav/config.inc.php.dist /var/lib/roundcube/plugins/carddav/config.inc.php
Berechtigungen setzen
chown -R root:root /var/lib/roundcube/plugins/carddav
find /var/lib/roundcube/plugins/carddav -type d -exec chmod 0755 {} \;
find /var/lib/roundcube/plugins/carddav -type f -exec chmod 0644 {} \;
carddav aktivieren
  • In /etc/roundcube/config.inc.php muss carddav zur bestehenden Plugin-Liste hinzugefügt werden
$config['plugins'] = [
    'markasjunk',
    'html5_notifier',
    'managesieve',
    'enigma',
    'carddav',
];
Roundcube neu laden
systemctl reload apache2
tail -F /var/log/roundcube/errors.log /var/log/roundcube/errors.log.1
carddav Initialisierung
  • Danach muss eine Roundcube-Abmeldung und erneute Anmeldung erfolgen
    • Beim Login werden notwendige Datenbanktabellen bzw. Migrationen durch das Plugin initialisiert
    • Danach sollte unter Einstellungen ein Bereich CardDAV sichtbar sein

Troubleshooting

If you get a curl error like this when downloading the dependencies

All settings are correct for using Composer

PHP Warning: failed loading cafile stream: `/etc/ssl/certs/cacert.pem' in - on line 762
PHP Warning: file_get_contents(): Failed to enable crypto in - on line 762
PHP Warning: file_get_contents(https://getcomposer.org/versions): failed to open stream: operation failed in - on line 762
PHP Warning: Invalid argument supplied for foreach() in - on line 508
None of the 0 stable version(s) of Composer matches your PHP version (5.6.21 / ID: 50621)

then you have to install a cert bundle:

cd /etc/ssl/certs
wget --no-check-certificate https://curl.haxx.se/ca/cacert.pem

and tell php where to find it editing your php.ini

openssl.cafile=/etc/ssl/certs/cacert.pem

Anwendung

Problembehebung

Konfiguration

Dateien

Datei Beschreibung


Anhang

Siehe auch



Dokumentation

Projekt

  1. https://www.allerstorfer.at/roundcube-install-carddav-plugin-on-ubuntu-20-04/