Zum Inhalt springen

Roundcube/Plugin/carddav: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 17: Zeile 17:


If you have an Android phone, you may want to take a look at the CardDAV application here.
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
<syntaxhighlight lang="bash" highlight="1-4" copy line>
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
</syntaxhighlight>
; Konfigurationsdatei anlegen
<syntaxhighlight lang="bash" highlight="1" copy line>
cp -n /var/lib/roundcube/plugins/carddav/config.inc.php.dist /var/lib/roundcube/plugins/carddav/config.inc.php
</syntaxhighlight>
; Berechtigungen setzen
<syntaxhighlight lang="bash" highlight="1-3" copy line>
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 {} \;
</syntaxhighlight>
; carddav aktivieren
* In ''/etc/roundcube/config.inc.php'' muss ''carddav'' zur bestehenden Plugin-Liste hinzugefügt werden
<syntaxhighlight lang="php" copy line>
$config['plugins'] = [
    'markasjunk',
    'html5_notifier',
    'managesieve',
    'enigma',
    'carddav',
];
</syntaxhighlight>
; Roundcube neu laden
<syntaxhighlight lang="bash" highlight="1-2" copy line>
systemctl reload apache2
tail -F /var/log/roundcube/errors.log /var/log/roundcube/errors.log.1
</syntaxhighlight>
; 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 ===
== 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
Zeile 32: Zeile 82:
and tell <code>php</code> where to find it editing your <code>php.ini</code>
and tell <code>php</code> where to find it editing your <code>php.ini</code>
  openssl.cafile=/etc/ssl/certs/cacert.pem
  openssl.cafile=/etc/ssl/certs/cacert.pem
== Installation ==
<syntaxhighlight lang="bash" highlight="1" line copy>
</syntaxhighlight>
== Aufruf ==
<syntaxhighlight lang="bash" highlight="1" line copy>
</syntaxhighlight>
=== Optionen ===
{| class="wikitable sortable options gnu big"
|-
! Unix !! GNU !! Parameter !! Beschreibung
|-
| || || ||
|-
|}
=== Parameter ===
=== Umgebungsvariablen ===
=== Exit-Status ===
{| class="wikitable options col1center big"
|-
! Wert !! Beschreibung
|-
| 0 || Erfolg
|-
| >0 || Fehler
|}
== Anwendung ==
<syntaxhighlight lang="bash" highlight="1" line copy>
</syntaxhighlight>
<!-- output -->
<syntaxhighlight lang="bash" highlight="" line>
</syntaxhighlight>
=== Problembehebung ===


== Konfiguration ==
== Konfiguration ==

Aktuelle 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

Konfiguration

Dateien

Datei Beschreibung


Anhang

Siehe auch



Dokumentation

Projekt

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