Roundcube Community Forum

 

Calendar plugin recommendation

Started by peter4220, August 26, 2023, 01:41:28 PM

Previous topic - Next topic

peter4220

Hi there

I have installed Roundcube 1.6.2 and the CardDAV plugin and it works well with Nextcloud.

I also want to install a CalDAV plugin, but I can't get some of them to work. I have tried with:

  • collab/calendar
  • cociweb/calendar
  • texxasrulez/calendar
  • scope-coop/roundcube_caldav
They all fail with different kinds of failure.

Is there a recommendation and an installation guide that works :-)

It all runs on an Ubuntu Jammy 22.04 which is fully updated

eMarcus

Hi,

I would have exactly the very same question.

I tried tried the texxasrulez/calendar plugin, but the installation fails with a dependency error:


Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
                                                                                                                                                                                             
  Problem 1                                                                                                                                                                                   
    - Root composer.json requires texxasrulez/calendar ~0.0.7.0 -> satisfiable by texxasrulez/calendar[0.0.7].                                                                               
    - texxasrulez/calendar 0.0.7 requires roundcube/plugin-installer ~0.1.6 -> found roundcube/plugin-installer[0.1.6, ..., 0.1.10] but it conflicts with your root composer.json require (~0.
3.1).                                                                                                                                                                                         
                                                                                                                                                                                             
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.                                                   


I am wondering if I can just downgrade the plugin-installer, or if I would break anything (0.3.1 -> 0.1.6 sounds a bit much of a downgrade...)

Could anyone comment on that, or advise me to another CALDAV plugin?

Thanks
Marcus.

SKaero


andreashaerter

Do not use these outdated plugins, they are all broken and/or unmaintained.

However, the active and well maintained https://git.kolab.org/diffusion/RPK/browse/master/plugins/calendar/ works perfectly fine with SabreDAV / Nextcloud and DAViCal with a little patch of kolab_dav_client.php. They only have a small error in URL parsing, leading to line-break-chars in different parts of the URL, so the request sent to the server are send wrongly. This is the only thing preventing the plugin to properly communicate with most CalDAV servers. I am going to prepare an upstream patch as well as a blog posting about the setup within the next days.

eMarcus

Hi,

Thanks very much and please let us know, when the patch is available!

Thanks,
Marcus.

Moeppi

#5
Hi Andreas (andreashaerter),

Im also very interested in your workthrough on how to get Roundcube working with the calendar plugin from kolab and CalDAV integration.

In my case I have tried the calendar plugin of Roundcube+, but thats not the same. With their calendar plugin they turn Roundcube itself into a CalDAV server (where external calendar clients can connect to (read/write)). But I only want to connect Roundcube to an external CalDAV calendar, at the side of my mail provider.

So, Im also waiting and will be happy about your recommendations or better a little HowTo, on how to get things working :D .

Thanks in advance, Moeppi

hbsimon

Hi,

I am too interested to get a Calendar plugin with caldav working.

I have currently roundcube webmail with the carddav plugin connecting to the iCloud addressbook working, the addressbook is updating both way fine and all other mail function are working, including managesieve.

I tried to install with composer some of the calendar plugins but all failed. My installation is on MacOS with php 8.2 (installed using MacPorts). My questions are:
What are the minimum pre-requisites and in what sequence do I have to install them?
Are there any more detailed information available on the install and configuration process?

Regards,
Horst

internethering

There is no patch needed at the moment. My steps to get it working:

cd /var/www/html/roundcubemail
git clone https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git
cd /var/www/html/roundcubemail/roundcubemail-plugins-kolab
cp -a /var/www/html/roundcubemail/roundcubemail-plugins-kolab/calendar /var/www/html/roundcubemail/plugins
cp -a /var/www/html/roundcubemail/roundcubemail-plugins-kolab/libcalendaring /var/www/html/roundcubemail/plugins
cp -a /var/www/html/roundcubemail/roundcubemail-plugins-kolab/libkolab /var/www/html/roundcubemail/plugins

enabled these three plugins in /var/www/html/roundcubemail/config/config.inc.php
integrated the /var/www/html/roundcubemail/plugins/libkolab/SQL/mysql.initial.sql

copied /var/www/html/roundcubemail/plugins/config.inc.php.dist to /var/www/html/roundcubemail/plugins/config.inc.php and edited:

$config['calendar_caldav_server'] = "https://<nextcloud_url>/remote.php/dav";
$config['calendar_caldav_url'] = 'https://<nextcloud_url>/remote.php/dav/calendars/%u/%n';

so, now it works, but the elastic skin is failing. so I followed the steps of https://git.kolab.org/T4247#75894

cd /var/www/html/roundcubemail/roundcubemail-plugins-kolab
git checkout dev/elastic
npm install less
ln -s /var/www/html/roundcubemail/skins /var/www/html/roundcubemail/roundcubemail-plugins-kolab/
edited less-build.sh so its using ./node_modules/less/bin/lessc

./less-build.sh
cp plugins/libkolab/skins/elastic/libkolab.min.css /var/www/html/roundcubemail/plugins/libkolab/skins/elastic/libkolab.css

voila: working calender with nextcloud

doktoil-makresh

Hi,

First of all, thank you for sharing your guide to allow Caldav usage in RC.
I installed everything but the elastic skin patch (I'm currently using Larry)

I've a personnal nextcloud instance running, so I've adapted the URL like this:
$config['calendar_caldav_server'] = "https://mynextcloud.instance.org/remote.php/dav";
$config['calendar_caldav_url'] = 'https://mynextcloud.instance.org/remote.php/dav/principals/%u';;

Please note my nextcloud password is different than my IMAP's password.

I can see the calendar icon in RC, but I can't see my CalDAV calendar into it, neither add it.
Same in Settings/Calendar menu.

Is there something I missed somewhere?