Koozali.org: home of the SME Server

Kronolith cannot use the free/busy service

Offline factory

  • *
  • 20
  • +0/-0
Kronolith cannot use the free/busy service
« on: May 20, 2009, 07:13:53 PM »
I have install Kronolith on a sme 7.4

When I add an attendee to an event, I get the following error.

Error retrieving free/busy information for xxx@xxx.com: The free/busy url for xxx@xxx.com cannot be retrieved.

I tried reinstalling it and I still get the same error.

What do I need to do to make it work?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Kronolith cannot use the free/busy service
« Reply #1 on: May 21, 2009, 05:05:11 AM »
Is the user in your ldap address book or local address book?  If ldap, then it's possible that your users don't have the required freebusy url.  To verify, login to the console and type slapcat.  If none of your users have anything in the calFBURL section, that that's your issue.  To fix, goto server-manager, users, modify a user, don't change anything, just click save.  This should save the freebusy info. 

By default users don't have this.  You only get this option when you add kronolith so you need to prep each user.  There is a box that you can manually add this info to, but it's also saved when you modify a user.

If the user is in your local address book, then you have to give them a freebusy url that can be used.

John
......

Offline factory

  • *
  • 20
  • +0/-0
Re: Kronolith cannot use the free/busy service
« Reply #2 on: May 21, 2009, 04:49:36 PM »
All the calFBURL already have an url and I use LDAP address book.

I tried removing the url and adding it again, but it still doesn't work.

I tried adding the free/busy url in the local address book and still didn't work.


edit:

I have tried changing the free/busy url with the external ip and with the domain name, but I get the same error.

log:
[kronolith] Failed to retrieve remote calendar: url = "https://xxx.com/horde/kronolith/...in%40xxx.com", status = 404 [pid 27453 on line 480 of "/home/httpd/html/horde/kronolith/lib/Kronolith.php"]
« Last Edit: May 21, 2009, 07:15:37 PM by factory »

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Kronolith cannot use the free/busy service
« Reply #3 on: May 22, 2009, 03:38:27 AM »
I can't duplicate this, so we will need to look at some other things.  From the console if you type
Code: [Select]
config show hordeDoes your freebusy say enabled?  After you installed the kronolith modules, did you  post-upgrade and reboot?

John
......

Offline factory

  • *
  • 20
  • +0/-0
Re: Kronolith cannot use the free/busy service
« Reply #4 on: May 22, 2009, 08:52:59 PM »
yes and yes

I also installed it on an other sme server 7.3 updated to 7.4 and got the same problem.

=======

A work-around
I put everyone in the same group and apply read to the group.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Kronolith cannot use the free/busy service
« Reply #5 on: May 23, 2009, 03:42:53 AM »
The change was made in e-smith-base:
Wed Apr 02 2008 Shad L. Lords <slords@mail.com> 4.18.1-8
--Really fix free/busy in usermanager [SME: 4157]

Which adds the freebusy info for every user without having to use the input.

I don't think this was available in 7.3.  Anyways, in your default calendar, have you granted read/show permissions to authenticated users, so they can see the calendar?   Check Calendar, click + sign, manage calendars, then the key. 

It's been quite some time since I set this up, but it has always just worked for me.  If your settings still look good, then please let me know exactly what you did and I'll try to see if I can duplicate it to help more.

John
......

Offline factory

  • *
  • 20
  • +0/-0
Re: Kronolith cannot use the free/busy service
« Reply #6 on: May 25, 2009, 02:00:51 AM »
I installed kronolight on sme after it was updated to 7.4.

=====

I want everyone to have a personal calendar and share it if they want.

=====

In Administration->permission->kronolith->all authenticated users-> have show read edit delete.

=====

My problem:
If (user1) doesn't have (me) with read permission on his default calendar, I can't see his free/busy status.

Is there a way to see his free/busy status without having him giving me read permission on his calendar.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Kronolith cannot use the free/busy service
« Reply #7 on: May 25, 2009, 04:58:23 AM »
I just tested this again.  Every user must grant show and read to their calendar.  If not, then others can't see it.  There is no way I could find that would automatically share a calendar with everyone automatically.

User must login, calendars, click plus, manage calendars, click the key, all authenticated users, show and read, save and finish.

John
......