Zum Inhalt springen

Roundcube/Plugin/carddav: Unterschied zwischen den Versionen

Aus Foxwiki
K Textersetzung - „ “ durch „ “
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
== CardDav ==
<noinclude>
This is a plugin to access CardDAV servers like ownCloud or SoGO.
<!--
----
{{Navigation|<zurück>|<nachste>}}
----
-->
'''{{BASEPAGENAME}}'''
</noinclude>


* Installed via <code>composer</code> roundcube/carddav
== Beschreibung ==
* Plugin name: ''carddav''
This is a plugin to access CardDAV servers like [[nextcloud]]
* Installed via [[composer]] roundcube/carddav


This plugin was not tested against Roundcube 1.4
Set up the database tables using the suitable file saved in the <code>dbmigrations/0000-dbinit/</code> subfolder


Setup the database tables using the suitable file saved in the <code>dbmigrations/0000-dbinit/</code> subfolder.
Then you can configure your address book. If you use an ownCloud server, this is how to do it:


Then you can configure you addressbook. 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


If you have an Android phone you may want to take a look to the CardDAV application here.
; carddav herunterladen und installieren
* ''CARDAV_VERSION'' muss auf die gewünschte Release-Version gesetzt werden


=== Troubleshoting ===
<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 ==
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 correct for using Composer
  All settings are correct for using Composer
   
   
  PHP Warning: failed loading cafile stream: `/etc/ssl/certs/cacert.pem' in - on line 762
  PHP Warning: failed loading cafile stream: `/etc/ssl/certs/cacert.pem' in - on line 762
Zeile 28: Zeile 83:
  openssl.cafile=/etc/ssl/certs/cacert.pem
  openssl.cafile=/etc/ssl/certs/cacert.pem


== Konfiguration ==
=== Dateien ===
{| class="wikitable options big"
|-
! Datei !! Beschreibung
|-
| ||
|-
| ||
|}


<noinclude>
<!--
----
{{Navigation|<zurück>|<nachste>}}
----
-->
== Anhang ==
=== Siehe auch ===
<div style="column-count:2">
<categorytree hideroot=on mode="pages">{{BASEPAGENAME}}</categorytree>
</div>
----
{{Special:PrefixIndex/{{BASEPAGENAME}}/}}


=== Dokumentation ===
<!--
; Man-Page
# [https://manpages.debian.org/stable/procps/pgrep.1.de.html prep(1)]
; Info-Pages
-->
=== Links ===
==== Projekt ====
==== Weblinks ====
# https://www.allerstorfer.at/roundcube-install-carddav-plugin-on-ubuntu-20-04/
# https://www.allerstorfer.at/roundcube-install-carddav-plugin-on-ubuntu-20-04/
<!--
{{DEFAULTSORT:new}}
{{DISPLAYTITLE:new}}
-->


[[Kategorie:Roundcube/Plugin]]
[[Kategorie:Roundcube/Plugin]]
</noinclude>

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/