Roundcube Community Forum

 

RoundDAV - A DAV Server for Roundcube

Started by texxasrulez, December 19, 2025, 07:33:21 PM

Previous topic - Next topic

texxasrulez

I have tried over the years with lots of duct tape and patchwork to get simple DAV integration in Roundcube. I think I have cracked it.

It is a standalone DAV server specifically tailored to use with Roundcube using a provisioning plugin to make it all work seamlessly together.

I have been testing this for quite some time and think I have the kinks worked out. I need help to find more, or make a little better.

There are 3 total Roundcube Plugins created to establish the bridge between RoundDAV and Roundcube. Check it out and the README for RoundDAV will tell you everything you need.

This is meant for small personal setups.

If you would like to check out RoundDAV and see if it right for you, I would love to get some feedback. My repo is located on github at https://github.com/texxasrulez/rounddav

Create issue reports at RoundDAV Issues Page

Thanks and Happy Holidays to all.

eMarcus

Good Morning from Europe!

That sounds quite interesting, I will try to find some time and will test it!

Just for curiosity: Why is a standard DAV server like Baikal (I think it is based on SabreDAV) not doing the trick? What did you have to change in order to make it work for Roundcube?

Happy new year,
Marcus.

eMarcus

Hello!

Just made my first tests and it worked out quite well. Just a few minor comments:

When I installed the rounddav_provision plugin, the api_token in the config.inc.php.dist is empty. However it should match with the secret configured in the rounddav config file.

Following the documentation it was not really clear to me where to point the webserver document root to. I did it directly to the public directory. But I saw in your example configuration that you had pointed it to the rounddav directory. It seems to work without exposing the rounddav to the webserver.

After my first principals were created in Rounddav, I wanted to check the addressbook and calendar with an external client (Thunderbird, iPhone), but could not figure out the base URL, maybe you could add that to the documentation.

Are you also planning to release frontend plugins for roundcube, so that calendars and addressbooks can be viewed and manipulated directly from Roundcube? Just asking, because for the calendar that is currently the biggest pain with Roundcube....

Thanks for the great work!
Marcus.

texxasrulez

Baikal works just fine, it is that I am interested in creating something that works with Roundcube with minimum effort on the system admins part. This RoundDAV server does calendars, files and bookmarks. The rounddav_files plugin adds a file tab for file access, but also, if email matches, the admin panel can be accessed via a link and one can manage users DAV properties. As far as plugins, I use mstilkerich/rcmcarddav for addressbooks and it works beautifully. You can create new, edit or even delete addressbooks using it. I also have a repo texxasrulez/calendar that is basically a mirror of kolab's calendar with a "driver" for it. I am using kolab's caldav driver with a few small tweaks and renamed rounddav that works well with this too. I can create, edit and delete calendars from Roundcube UI using it. With these 2 plugins from other providers, I do not plan on creatiing any other frontend plugin for this. I do not specify too much on documentation about where to point for base URL as it is meant to be installed anywhere YOU want it to be and then the URL for it will depend on who installs it where. The plugin rounddav_provision's settings page should show you your base URL so you can add it to Thunderbird or any other 3rd party DAV client you want. I want this DAV server to be flexible, but I also am looking for something that works with Roundcube with minimal "hacking" so that is the thinking behind why I created a new DAV server instead of just using something like Baikal. If you have other issues or comments, hit me up on github as I check that multiple times a day and I rarely check this forum here. I basically just use this to announce something new I am working on to entice users to github. Thanks for trying out my work.

eMarcus

Hi Gene!

I fully agree that the CardDAV plugin is working really well and that there is no need for something similar. However on the CalDAV side, I have to admit that - as many others - I am just not able to get that damn plugin to work. And what makes it even worse, I have no clue where to troubleshoot. The plugin works well as long as I use database as the backend. Whenever I enable caldav as the calendar driver, I just get an "Ooops, something went wrong!" page :-( error.log is empty and I have to idea where to start debugging.

Saying that, an easy to install and configure CalDAV plugin would make my day.

Thanks for your work anyway!
best regards,
Marcus.