View Issue Details

IDProjectCategoryView StatusLast Update
0004577SOGoBackend Calendarpublic2018-11-13 10:58
Reporterjordi Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS Version9
Product Version4.0.3 
Summary0004577: freebusy information is always empty
Description

Since (I suspect) upgrading to SOGo 3.x, we have apparently lost the ability to see freebusy information for any user.

Users that have enabled the "add to freebusy" option in their calendar will see an empty ifb.

Steps To Reproduce
  • Add calendar entries.

  • Ensure the calendar is configured with the freebusy option enabled.

  • Have this in the SOGo configuration:
    // All users may create appointments;
    // all users may see public events;
    // all users see d&t for Private;
    // no access to Confidential
    SOGoCalendarDefaultRoles = ("PublicViewer", "PrivateDAndTViewer","ObjectCreator");
    // Allow users to publish calendars anonymously:
    SOGoEnablePublicAccess = YES;
    // Defaults to /, breaks subfolders in sieve filters

  • Check .ifb contents for your user at https://sogo.company.com/SOGo/dav/public/user@company.com/freebusy.ifb

The ifb file contains the following:
bEGIN:VCALENDAR
PRODID:-//Inverse inc./SOGo 4.0.3//EN
VERSION:2.0
BEGIN:VFREEBUSY
ATTENDEE:mailto:user@company.com
DTSTAMP:20181022T233300Z
DTSTART:117612391105T000000Z
DTEND:20181030T000000Z
END:VFREEBUSY
END:VCALENDAR

Additional Information

This install is using the Debian packages for SOGo 4.0.3, as provided by the Debian project.

TagsNo tags attached.

Activities

ludovic

ludovic

2018-10-22 23:47

administrator   ~0013123

Try the nightly build and report your findings.

jordi

jordi

2018-10-24 00:42

reporter   ~0013135

Hi Ludovic,

I purged all of the Debian packages and installed the sogo nightlies instead.

Same results.

jordi

jordi

2018-10-24 09:15

reporter   ~0013136

I have downgraded to 4.0.2 and the user reports success again, so at least I know the issue is related to 4.0.3.

ludovic

ludovic

2018-10-24 11:15

administrator   ~0013137

Try with 4.0.4 that was released yesterday. Thanks.

jordi

jordi

2018-10-24 21:15

reporter   ~0013139

Using https://test.sogo.company.com/SOGo/dav/public/user@company.com/freebusy.ifb, I still get the same:

BEGIN:VCALENDAR
PRODID:-//Inverse inc./SOGo 4.0.4//EN
VERSION:2.0
BEGIN:VFREEBUSY
ATTENDEE:mailto:user@company.com
DTSTAMP:20181024T211102Z
DTSTART:117612391106T000000Z
DTEND:20181031T000000Z
END:VFREEBUSY
END:VCALENDAR

Should this url be showing the freebusy info until the 31st of this month or am I expecting something that is not to be expected?

jordi

jordi

2018-10-24 21:20

reporter   ~0013140

Sorry, I forgot to mention this was after upgrading to 4.0.4.20181024-1 as the ifb advertises.

jordi

jordi

2018-11-10 00:52

reporter   ~0013167

Ludovic, can you reproduce this in your instances? I see the JSON urls work as expected, but not the bare .ifb which is what Evolution expects.

Still seeing this here.

francis

francis

2018-11-12 16:51

administrator   ~0013168

The period covered by the freebusy.ifb is defined by the domain default parameter SOGoFreeBusyDefaultInterval. By default it is set as follow:

SOGoFreeBusyDefaultInterval = ( 7, 7 );

Which means that the period will cover 7 days prior to today and 7 days following today.

francis

francis

2018-11-12 16:55

administrator   ~0013169

What is the result of:

sogo-tool manage-acl get user@company.com Calendar/personal ALL

jordi

jordi

2018-11-13 10:58

reporter   ~0013173

sogo-tool manage-acl get jordi Calendar/personal ALL results in no output.

Same for the user that prompted this bug report.

Other users do have some output, but in all cases the ifb file is empty. Examples:

root@turkeyburger:~# sogo-tool manage-acl get user1 Calendar/personal ALL
2018-11-13 10:56:17.157 sogo-tool[23517:23517] Rights for <default> ["ObjectCreator", "PublicViewer", "ConfidentialDAndTViewer"]
2018-11-13 10:56:17.158 sogo-tool[23517:23517] Rights for user2 ["PublicModifier", "ConfidentialDAndTViewer", "ObjectCreator", "ObjectEraser"]
2018-11-13 10:56:17.158 sogo-tool[23517:23517] Rights for user3 ["PublicViewer", "ConfidentialDAndTViewer", "ObjectCreator"]

Am I doing anything wrong here?

The default interval should be OK for our use case.

Issue History

Date Modified Username Field Change
2018-10-22 23:35 jordi New Issue
2018-10-22 23:47 ludovic Note Added: 0013123
2018-10-24 00:42 jordi Note Added: 0013135
2018-10-24 09:15 jordi Note Added: 0013136
2018-10-24 11:15 ludovic Note Added: 0013137
2018-10-24 21:15 jordi Note Added: 0013139
2018-10-24 21:20 jordi Note Added: 0013140
2018-11-10 00:52 jordi Note Added: 0013167
2018-11-12 16:51 francis Note Added: 0013168
2018-11-12 16:55 francis Note Added: 0013169
2018-11-13 10:58 jordi Note Added: 0013173