Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DAViCal: General

Davical with Mountain Lion

 

 

DAViCal general RSS feed   Index | Next | Previous | View Threaded


oliver.werner at kontrast

Jul 5, 2013, 5:09 AM

Post #1 of 6 (128 views)
Permalink
Davical with Mountain Lion

Hi,

I have a Problem with our Davical-Server (Version 1.1.1).

My Mac (10.8.4) is connect via iCal with the Server.

When invite some people in a Event i got an Error with:

Die Anfrage (CalDAVScheduleEventQueueableOperation) für „„Neues Ereignis“ in „Test123“ im Account „devkalender.kontrast.de““ ist fehlgeschlagen.

In Serverlog I found this.

---------

[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] davical: LOG: PUT: Query: Error: QF in '/daten/davical/inc/caldav-PUT-functions.php' on line 1379
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] davical: LOG: PUT: Query: QF: SQL error "23505" - FEHLER: doppelter Schl\xc3\xbcsselwert verletzt Unique-Constraint \xc2\xbbcaldav_data_pkey\xc2\xab DETAIL: Schl\xc3\xbcssel \xc2\xbb(user_no, dav_name)=(1001, /oliver.werner/.in/86f173ed386c2f72cdacd650787c73d9.ics)\xc2\xab existiert bereits."
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] davical: LOG: PUT: Query: Error: QF in '/daten/davical/inc/caldav-PUT-functions.php' on line 1379
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] davical: LOG: PUT: Query: QF: INSERT INTO caldav_data ( dav_id, user_no, dav_name, dav_etag, caldav_data, caldav_type, logged_user, created, modified, collection_id, weak_etag ) VALUES( :dav_id, :user_no, :dav_name, :etag, :dav_data, :caldav_type, :session_user, :create
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] davical: LOG: PUT: Query: QF: d, :modified, :collection_id, :weak_etag )
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] davical: FATAL: :Insert into calendar_item failed...
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] ================= Stack Trace ===================
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] ===> /daten/davical/htdocs/caldav.php[114] calls include()
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] ===> /daten/davical/inc/caldav-POST.php[157] calls handle_schedule_request()
[Fri Jul 05 13:49:56 2013] [error] [client 192.168.111.209] ===> /daten/davical/inc/caldav-PUT-functions.php[263] calls write_resource()
-----------


After this I can't do any this my Caldav-Account.
I need to delete it from iCal and create the Account again.


Also i got the Error CalDAVScheduleEventQueueableOperation when delete an Kalender via iCal.



Here are my url-conf.php: (I'm using LDAP-User)

--------

## Datenbank Anbindung
$c->pg_connect[] ='dbname=davical port=5432 host=127.0.0.1 user=davical password=';

## Settings
$c->system_name = "DEV CalDAV Server";
$c->default_locale = "de_DE.UTF-8";
$c->admin_email ='oliver.werner [at] kontrast';
$c->enable_row_linking = true;

# Sonstige Anpassungen
$c->enable_auto_schedule = true;
$c->public_freebusy_url = true;
$c->default_privileges = array('read-free-busy', 'schedule-query-freebusy');
$c->override_dav_header = '1, 2, 3, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy, bind';

## LDAP
$c->authenticate_hook['call'] = 'LDAP_check';
$c->authenticate_hook['config'] = array(
'host' => 'ipadress', //host name of your LDAP Server
'port' => '389', //port
'protocolVersion' => 3, //Version of LDAP protocol to use
'baseDNUsers'=> 'o=people,dc=kontrast,dc=de', //where to look at valid user
'filterUsers' => 'objectClass=*', //filter which must validate a user according to RFC4515, i.e. surrounded by brackets
'baseDNGroups' => 'ou=Groups,dc=kontrast,dc=de', //not used ATM
'filterGroups' => 'objectClass=posixGroup', //not used ATM

'mapping_field' => array("username" => "uid",
"fullname" => "cn" ,
"email" =>"mail"
), //used to create the user based on his ldap properties

'format_updated' => array('Y' => array(0,4),
'm' => array(4,2),
'd'=> array(6,2),
'H' => array(8,2),
'M'=>array(10,2),
'S' => array(12,2)),

/** used to set default value for all users, will be overcharged by ldap if defined also in mapping_field **/
//'default_value' => array("date_format_type" => "E","locale" => "de_DE"),
/** foreach key set start and length in the string provided by ldap
example for openLDAP timestamp : 20070503162215Z **/
'scope' => 'subtree'
//'startTLS' => false,
);
include('drivers_ldap.php');
------------------------------------------------

Somewhere have an idea or tip for me?


Thanks


fabian at wenks

Jul 8, 2013, 4:08 AM

Post #2 of 6 (98 views)
Permalink
Re: Davical with Mountain Lion [In reply to]

Hello Oliver

On 05.07.2013 14:09, Oliver Werner wrote:
> I have a Problem with our Davical-Server (Version 1.1.1).
>
> My Mac (10.8.4) is connect via iCal with the Server.

You need at least all additional patches which have been released
after 1.1.1 up to and including 2012-09-20, see [1]. They include
fixes for OS X 10.8.x and iOS 6.x. I got it running after using
[2] ([3] for zip), which is the last submit on 2012-09-20.
Eventually you could take the latest dev version, as it seems,
that 1.1.2 is not released yet, see [4].

[1] http://repo.or.cz/w/davical.git/shortlog
[2]
http://repo.or.cz/w/davical.git/snapshot/9e774b295a1dcf9d0d9fe5c6b7f54c7777a37675.tar.gz
[3]
http://repo.or.cz/w/davical.git/snapshot/9e774b295a1dcf9d0d9fe5c6b7f54c7777a37675.zip
[4] http://repo.or.cz/w/davical.git


bye
Fabian

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


oliver.werner at kontrast

Jul 8, 2013, 6:02 AM

Post #3 of 6 (101 views)
Permalink
Re: Davical with Mountain Lion [In reply to]

Hello Fabian,

Thank you for help.

I have trying today with the current Version from 2013-04-17 .
But same problems... :/

When invite People in Event i got the 500-Error.
Got Error when deleteing personal calendar.

Yours faithfully
Oliver

Am 08.07.13 13:08, schrieb Fabian Wenk:
> Hello Oliver
>
> On 05.07.2013 14:09, Oliver Werner wrote:
>> I have a Problem with our Davical-Server (Version 1.1.1).
>>
>> My Mac (10.8.4) is connect via iCal with the Server.
> You need at least all additional patches which have been released
> after 1.1.1 up to and including 2012-09-20, see [1]. They include
> fixes for OS X 10.8.x and iOS 6.x. I got it running after using
> [2] ([3] for zip), which is the last submit on 2012-09-20.
> Eventually you could take the latest dev version, as it seems,
> that 1.1.2 is not released yet, see [4].
>
> [1] http://repo.or.cz/w/davical.git/shortlog
> [2]
> http://repo.or.cz/w/davical.git/snapshot/9e774b295a1dcf9d0d9fe5c6b7f54c7777a37675.tar.gz
> [3]
> http://repo.or.cz/w/davical.git/snapshot/9e774b295a1dcf9d0d9fe5c6b7f54c7777a37675.zip
> [4] http://repo.or.cz/w/davical.git
>
>
> bye
> Fabian
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Davical-general mailing list
> Davical-general [at] lists
> https://lists.sourceforge.net/lists/listinfo/davical-general


mgiashmera at lavabit

Jul 8, 2013, 6:16 AM

Post #4 of 6 (98 views)
Permalink
Re: Davical with Mountain Lion [In reply to]

Hello,

On 07/08/2013 03:02 PM, Oliver Werner wrote:
> I have trying today with the current Version from 2013-04-17 .

> When invite People in Event i got the 500-Error.
> Got Error when deleteing personal calendar.
I got the same error as well, when inviting people on an event but only
in versions 10.8.x

Cheers,
mgia


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


fabian at wenks

Jul 8, 2013, 6:30 AM

Post #5 of 6 (94 views)
Permalink
Re: Davical with Mountain Lion [In reply to]

Hello Oliver

On 08.07.2013 15:02, Oliver Werner wrote:
> I have trying today with the current Version from 2013-04-17 .
> But same problems... :/
>
> When invite People in Event i got the 500-Error.

I do not know the last details about inviting other people. But
if I do remember correctly, it is not fully working, as davical
itself can not yet send e-mails (invites). So it depends a little
bit on the client in use.

> Got Error when deleteing personal calendar.

But you seem to have other errors as well, did you run the
dba/update-davical-database script after the upgrade of the .php
files? And also doing an 'apachectl graceful' ('apache2ctl
graceful' on Linux) does not hurt.


bye
Fabian

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Davical-general mailing list
Davical-general [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


oliver.werner at kontrast

Jul 8, 2013, 6:51 AM

Post #6 of 6 (96 views)
Permalink
Re: Davical with Mountain Lion [In reply to]

Hello Fabian,

Yes I done update-davical-database and restrat my Apache:

$ ./update-davical-database --dbuser davical
The database is version 9.1 currently at revision 1.2.11.
No patches were applied.
Supported locales updated.
Updated view: dav_principal.sql applied.
CalDAV functions updated.
RRULE functions updated.
Database permissions updated.

I do not know the last details about inviting other people. But
if I do remember correctly, it is not fully working, as davical
itself can not yet send e-mails (invites). So it depends a little
bit on the client in use.

I know that invite not work fully. Maybe it gives a solution that the
iCal-Client send this and not server?
So maybe this 500-Error can be disable.

Yours faithfully
Oliver

Am 08.07.13 15:30, schrieb Fabian Wenk:
> Hello Oliver
>
> On 08.07.2013 15:02, Oliver Werner wrote:
>> I have trying today with the current Version from 2013-04-17 .
>> But same problems... :/
>>
>> When invite People in Event i got the 500-Error.
> I do not know the last details about inviting other people. But
> if I do remember correctly, it is not fully working, as davical
> itself can not yet send e-mails (invites). So it depends a little
> bit on the client in use.
>
>> Got Error when deleteing personal calendar.
> But you seem to have other errors as well, did you run the
> dba/update-davical-database script after the upgrade of the .php
> files? And also doing an 'apachectl graceful' ('apache2ctl
> graceful' on Linux) does not hurt.
>
>
> bye
> Fabian
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Davical-general mailing list
> Davical-general [at] lists
> https://lists.sourceforge.net/lists/listinfo/davical-general

DAViCal general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.