[Kolab-devel] Not able to configure properly SOGo caldav and Roundcube kolab-calendar plugin
car.cuevas
car.cuevas at protonmail.com
Tue May 26 01:07:21 CEST 2015
Hi All,
First, thanks very much for your mail list and help :)
So I am trying to configure the SOGo caldav server with the kolab-calendar plugin, and everytime I try to add a new calendar I am having an error, not allowing me to save it. So whenever I want to add a new calendar from the roundcube, I select CalDAV, I put the complete or partial CalDAV URL (tryeid both), the username and password but no luck, in the web always appears a window with:
"Resource "" has no collections
Failed to save changes.
and in the logs the following:
[25-May-2015 22:50:38 +0000]: <mu32or0m> caldav_driver: Resource "" has no collections
My system is based on:
debian 8
Roundcubemail 1.1.1
Kolab Calendar plugin ( feature_caldav 3.28)
SOGo 2.2.10
PHP 5.6.7-1
nginx version: nginx/1.6.2
The caldav url from SOGo is normally something like this:
http://127.0.0.1:20000/SOGo/dav/user@domain.com/Calendar/UUID/
And the config.inc.php for the calendar plugin is:
<?php
/*
+-------------------------------------------------------------------------+
| Configuration for the Calendar plugin |
| |
| Copyright (C) 2010, Lazlo Westerhof - Netherlands |
| Copyright (C) 2011-2014, Kolab Systems AG |
| |
| This program is free software: you can redistribute it and/or modify |
| it under the terms of the GNU Affero General Public License as |
| published by the Free Software Foundation, either version 3 of the |
| License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU Affero General Public License for more details. |
| |
| You should have received a copy of the GNU Affero General Public License|
| along with this program. If not, see <http://www.gnu.org/licenses/>. |
| |
+-------------------------------------------------------------------------+
| Author: Lazlo Westerhof <hello at lazlo.me> |
| Thomas Bruederli <bruederli at kolabsys.com> |
+-------------------------------------------------------------------------+
*/
// backend type (database, kolab, caldav, ical)
$config['calendar_driver'] = array(
"caldav",
"database"
);
$config['calendar_driver_default'] = "caldav";
// default calendar view (agendaDay, agendaWeek, month)
$config['calendar_default_view'] = "agendaWeek";
// show a birthdays calendar from the user's address book(s)
$config['calendar_contact_birthdays'] = true;
// mapping of Roundcube date formats to calendar formats (long/short/agenda)
// should be in sync with 'date_formats' in main config
$config['calendar_date_format_sets'] = array(
'yyyy-MM-dd' => array('MMM d yyyy', 'M-d', 'ddd MM-dd'),
'dd-MM-yyyy' => array('d MMM yyyy', 'd-M', 'ddd dd-MM'),
'yyyy/MM/dd' => array('MMM d yyyy', 'M/d', 'ddd MM/dd'),
'MM/dd/yyyy' => array('MMM d yyyy', 'M/d', 'ddd MM/dd'),
'dd/MM/yyyy' => array('d MMM yyyy', 'd/M', 'ddd dd/MM'),
'dd.MM.yyyy' => array('dd. MMM yyyy', 'd.M', 'ddd dd.MM.'),
'd.M.yyyy' => array('d. MMM yyyy', 'd.M', 'ddd d.MM.'),
);
// general date format (only set if different from default date format and not user configurable)
// $config['calendar_date_format'] = "yyyy-MM-dd";
// time format (only set if different from default date format)
// $config['calendar_time_format'] = "HH:mm";
// short date format (used for column titles)
// $config['calendar_date_short'] = 'M-d';
// long date format (used for calendar title)
// $config['calendar_date_long'] = 'MMM d yyyy';
// date format used for agenda view
// $config['calendar_date_agenda'] = 'ddd MM-dd';
// timeslots per hour (1, 2, 3, 4, 6)
$config['calendar_timeslots'] = 2;
// show this number of days in agenda view
$config['calendar_agenda_range'] = 60;
// first day of the week (0-6)
$config['calendar_first_day'] = 1;
// first hour of the calendar (0-23)
$config['calendar_first_hour'] = 6;
// working hours begin
$config['calendar_work_start'] = 6;
// working hours end
$config['calendar_work_end'] = 18;
// show line at current time of the day
$config['calendar_time_indicator'] = true;
// default alarm settings for new events.
// this is only a preset when a new event dialog opens
// possible values are <empty>, DISPLAY, EMAIL
$config['calendar_default_alarm_type'] = '';
// default alarm offset for new events.
// use ical-style offset values like "-1H" (one hour before) or "+30M" (30 minutes after)
$config['calendar_default_alarm_offset'] = '-15M';
// how to colorize events:
// 0: according to calendar color
// 1: according to category color
// 2: calendar for outer, category for inner color
// 3: category for outer, calendar for inner color
$config['calendar_event_coloring'] = 0;
// event categories
$config['calendar_categories'] = array(
'Personal' => 'c0c0c0',
'Work' => 'ff0000',
'Family' => '00ff00',
'Holiday' => 'ff6600',
);
// enable users to invite/edit attendees for shared events organized by others
$config['calendar_allow_invite_shared'] = false;
// allow users to accecpt iTip invitations who are no explicitly listed as attendee.
// this can be the case if invitations are sent to mailing lists or alias email addresses.
$config['calendar_allow_itip_uninvited'] = true;
// controls the visibility/default of the checkbox controlling the sending of iTip invitations
// 0 = hidden + disabled
// 1 = hidden + active
// 2 = visible + unchecked
// 3 = visible + active
$config['calendar_itip_send_option'] = 3;
// Action taken after iTip request is handled. Possible values:
// 0 - no action
// 1 - move to Trash
// 2 - delete the message
// 3 - flag as deleted
// folder_name - move the message to the specified folder
$config['calendar_itip_after_action'] = 0;
// enable asynchronous free-busy triggering after data changed
$config['calendar_freebusy_trigger'] = false;
// free-busy information will be displayed for user calendars if available
// 0 - no free-busy information
// 1 - enabled in all views
// 2 - only in quickview
$config['calendar_include_freebusy_data'] = 1;
// SMTP server host used to send (anonymous) itip messages.
// Set to '' in order to use PHP's mail() function for email delivery.
// To override the SMTP port or connection method, provide a full URL like 'tls://somehost:587'
$config['calendar_itip_smtp_server'] = null;
// SMTP username used to send (anonymous) itip messages
$config['calendar_itip_smtp_user'] = 'smtpauth';
// SMTP password used to send (anonymous) itip messages
$config['calendar_itip_smtp_pass'] = '123456';
// Base URL to build fully qualified URIs to access calendars via CALDAV
// The following replacement variables are supported:
// %h - Current HTTP host
// %u - Current webmail user name
// %n - Calendar name
// %i - Calendar UUID
$config['calendar_caldav_url'] = 'http://127.0.0.1:20000/SOGo/dav/%u/Calendar/%i';
// Crypt key to encrypt passwords for added iCAL/CalDAV calendars
$config['calendar_crypt_key'] = "put some random string here";
$config['calendar_caldav_debug'] = true;
$config['calendar_ical_debug'] = false;
?>
Do you have a clue of what is happening? Did I configured something wrong?
Thanks a million!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/devel/attachments/20150525/c296f96d/attachment-0001.html>
More information about the devel
mailing list