Kopano and calendarsync plugin error

Hi all,

I have here successfully kopan running.
Now I try to get the caledarsysnc Plugin working, but gettin allways a error message.

###Getting sync settings for user: annitest
Found sync url: http://192.168.1.23:8080/caldav/usertest/Kalender for calendar: 000000002791228fa26e4c4494ef8c29357a0f1b01000000030000002548b94852d04ed2b87504984a9e1e6900000000
Update intervall OK (1496221385): 1496218364
Got valid data for http://192.168.1.23:8080/caldav/usertest/Kalender stored in /tmp/annitest000000002791228fa26e4c4494ef8c29357a0f1b01000000030000002548b94852d04ed2b87504984a9e1e6900000000592e86c9961809.27388963.ics
uploading file to: http://localhost:8080/ical/annitest/Kalender/ (403)
Uploading failed: 403

in the logfile I can see this:

Wed May 31 11:10:10 2017: [error  ] [ 3315] Unable to Modify Message: 0x80070005
Wed May 31 11:10:10 2017: [error  ] [ 3315] Error processing PUT request, error code 0x80070005 no access

Any one a Idea why this user whit admin rights we created have no access to upload the files and creats the 403 error.

When I use the same user to pull over the webbrowser, it works like it should this is the url http://192.168.1.23:8080/ical/annitest/Kalender/

Here the config of this kopano user:

Username:		kalendersyncadmin
Fullname:		dumy kalendersyncadmin
Emailaddress:		kalendersyncadmin@domain.intranet
Active:			yes
Administrator:		yes (system)
Address book:		Hidden
Auto-accept meeting req:no
Out Of Office:          disabled
Last logon:		31.05.2017 11:20:37
Last logoff:		31.05.2017 11:20:34
Mapped properties:
	0x8C6D0102		48 bytes	
	PR_GIVEN_NAME		dumy	
	PR_SURNAME		kalendersyncadmin	
	PR_EC_ENABLED_FEATURES	mobile; outlook	
	PR_EC_DISABLED_FEATURES	imap; pop3	
Current user store quota settings:
 Quota overrides:	no
 Warning level:		unlimited
 Soft level:		unlimited
 Hard level:		unlimited
Current store size:	0.00 MB
Groups (1):
	Everyone

Best Theo

Hi @theodorm ,

just to be sure. Are you referring to this plugin? I’ve seen that it has recently been updated, did you already try with the newest version?

Thank you so much @fbartels ,

yes that’s right and I use the newest or alsmost the newest version.
So there was a update some days ago, thank you for the hint and I tried out this, but get allways this 403 error and this one in ical.log again…

Sun Jun  4 12:28:42 2017: [error  ] [ 5670] Unable to Modify Message: 0x80070005
Sun Jun  4 12:28:42 2017: [error  ] [ 5670] Error processing PUT request, error code 0x80070005 no access

or this, it depends on the credential I use to synch the calendar:

Sun Jun  4 12:40:37 2017: [crit   ] [ 5951] Unable to open IPM_SUBTREE object, error code: 0x80070005
Sun Jun  4 12:40:37 2017: [error  ] [ 5951] Error opening IPM SUBTREE, using user annitest, error code: 0x80070005

I have to say to this szenario, that I try to sync from one kopano acount to a other one, I vant collect for some users the calendar information in to one calendar.
If we use the share option from kopano, to much calendar tabs are open.

Best Theo

@fbartels thank you…the Plugin works perfect whit external Links but if I sync a internal calendar on the same server then I get the 403 error…google works perfect…that weird

uploading file to: http://localhost:8080/ical/annitest/Kalender/ (403)
Uploading failed: 403
Got valid data for https://calendar.google.com/calendar/ical/de.german%24holiday%45group.v.calendar.google.com/public/basic.ics stored in /tmp/annitest000000002791228fa26e4c4494ef8c29357a0f1b01000000030000002548b94852d04ed2b87504984a9e1e69000000005938480829e239.71743050.ics
uploading file to: http://localhost:8080/ical/annitest/Kalender/ (200)
Import completed: 200

Why the upload works whit external file but not internal…a ics file in /tmp no matter what source we use it should work…

Have a nice Friday…Theo

ah, then I misunderstood you. I thought it wasn’t working at all.

collect for some users the calendar information in to one calendar.

I’m afraid this won’t work with this plugin anyways. afair the plugin downloads the ics file and pushes it to the destination via curl. Pushing an ics file (a whole calendar) into Kopano will lead to the already existing calendar being replaced. So you won’t be able to merge calendars this way.

@fbartels
no problem…do have any idea why it produces this 403 error?

no, without trying to reproduce the error I cannot say anything why this error could occur.

@fbartels
should I give you access to the Server?

@theodorm if you have a subscription you could open up a support call to have them take a look.

If you don’t have a subscription you could still request an offer for remote assistance from our sales team.

@fbartels
Dear Felix, yes this is aoption, but I hope we can fifure out here.

Yesterday I tried whit a new test user on the system
The Interesting thing is, it works for internal syncronisation exactly one time and the the 403 error comes up.

root@ucs:~# php /opt/calbackend/sync.php 
###Getting sync settings for user: theotest
Found sync url: http://192.168.1.30:8080/ical/annitest/Kalender/ for calendar: 0000000031a5f4ce9440483ea36938ce5a47f66101000000030000001ad853b5842344b5b8479f320b35e8d700000000
Update intervall OK (1496953535): 60
Got valid data for http://192.168.1.30:8080/ical/annitest/Kalender/ stored in /tmp/theotest0000000031a5f4ce9440483ea36938ce5a47f66101000000030000001ad853b5842344b5b8479f320b35e8d7000000005939b2bf8f3713.74306760.ics
uploading file to: http://localhost:8080/ical/theotest/Kalender/ (200)
Import completed: 200
Updated Kopano settings: true
###Done sync for user: theotest

2end triy:

root@ucs:~# php /opt/calbackend/sync.php 
###Getting sync settings for user: theotest
Found sync url: http://192.168.1.30:8080/ical/annitest/Kalender/ for calendar: 0000000031a5f4ce9440483ea36938ce5a47f66101000000030000001ad853b5842344b5b8479f320b35e8d700000000
Update intervall OK (1496953781): 1496953601
Got valid data for http://192.168.1.30:8080/ical/annitest/Kalender/ stored in /tmp/theotest0000000031a5f4ce9440483ea36938ce5a47f66101000000030000001ad853b5842344b5b8479f320b35e8d7000000005939b3b5a9b4f0.93470020.ics
uploading file to: http://localhost:8080/ical/theotest/Kalender/ (403)
Uploading failed: 403
###Done sync for user: theotest

Something blocks then the internal sync.
Weird.

Best Theo

Here a other info from the ical.log
Does it say something about this problem?

Sat Jun 10 11:11:08 2017: [error  ] [10455] Unable to Modify Message: 0x80070005
Sat Jun 10 11:11:08 2017: [error  ] [10455] Error processing PUT request, error code 0x80070005 no access
Sat Jun 10 11:11:08 2017: [debug  ] [10455] > HTTP/1.1 403 Forbidden
Sat Jun 10 11:11:08 2017: [debug  ] [10455] > Content-Length: 0
Sat Jun 10 11:11:08 2017: [debug  ] [10455] > Server: Kopano
Sat Jun 10 11:11:08 2017: [debug  ] [10455] > Date: Sat, 10 Jun 2017 09:11:08 GMT
Sat Jun 10 11:11:08 2017: [debug  ] [10455] > Connection: close
Sat Jun 10 11:11:08 2017: [debug  ] [10455] [::1]:48930 - kalendersyncadmin [10/Jun/2017:11:11:08 +0200] "PUT /ical/annitest/Kalender/ HTTP/1.1" 403 0 "-" ""
Sat Jun 10 11:11:08 2017: [debug  ] [10455] End Of Request
Sat Jun 10 11:11:08 2017: [info   ] [10455] Connection closed

In case it works whit the google calendar, can it be a problem whit the .ical file and it’s contend?
Saw the zarafa had sometimes some similar error posts to.

Best Theo