4 / 4
Sep 2024

Hello,

On an instance which was recently upgraded from an old 19 version to the latest 23.1.20240624, an user can’t import an ICS file as he used to do. When trying from the webui, there is no error (neither in the interface, the browser console or the docker logs) and nothing is imported, and when trying from a caldav client (Evolution) there is this in the egroupware-nginx container logs (and no more event imported) :

egroupware-nginx | 2024/07/10 11:03:33 [error] 7#7: *570105 FastCGI sent in stderr: "PHP message: PHP Deprecated: Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead. in /usr/share/egroupware/vendor/lcobucci/jwt/src/Builder.php on line 169; PHP message: PHP Deprecated: Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead. in /usr/share/egroupware/vendor/lcobucci/jwt/src/Builder.php on line 169; PHP message: PHP Deprecated: Using integers for registered date claims is deprecated, please use DateTimeImmutable objects instead. in /usr/share/egroupware/vendor/lcobucci/jwt/src/Builder.php on line 169; PHP message: Returning '403 Forbidden' as #8239 is NOT a participant of the event!" while reading response header from upstream, client: w.x.y.z, server: _, request: "PUT /egroupware/groupdav.php/username/calendar/Name%238391.ics HTTP/1.1", upstream: "fastcgi://a.b.c.d:9200", host: "w.x.y.z"

(IDs, IPs and username modified)

This Name%238391.ics is the last event of the calendar, if I remove it, I still got the error on the ‘new’ last event.

With a dumb search I found this2 but I don’t see how is it relevant, maybe an ACL thing but it is working with a file with less events

The file which can’t be imported has +1300 events, with a file from the same source containing 4 events it is working. The events in the ICS files are not specials, got only UID, DTSAMP/START/END, SUMMARY, DESCRIPTION, URL;VALUE=URI and the file header is

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Sabre//Sabre VObject 4.3.3//EN
CALSCALE:GREGORIAN

Any help appreciated !

  • created

    Jul '24
  • last reply

    Sep '24
  • 3

    replies

  • 366

    views

  • 2

    users

  • 1

    link

Does the events in the ics file contain PARTICIPANT attributes?

That’s a more recent addition, it does not allow a user to add himself to existing events without being either a participant, or having edit rights on the organizers calendar.

Why are you importing the ics file from a CalDAV client and not directly via EGroupware server?

EGroupware’s import also allows to import an ics file without participant information into a selectable users calendar, given the importing user has ACL rights to do so. (There can be a problem with private events, as you can NOT grant private access as admin via a group ACL!)

Ralf

Hello, thank for your response !

No, the only attributes are those cited in the post

By EGroupware server I guess you mean the webui ? I tried a CalDAV client because it was not working from there

I don’t get the ACL/participants thing: I’m trying to import a file to create new events in my own user calendar, should I do something special ?

It is working with a file with the same attributes, from the webui and from the CalDAV client, the only difference is that it got only 4 events instead of +1300. In this case I still don’t get any notifications or log if I import from the webui (I unchecked the “no notification” checkbox in the import popup) but after a refresh, the events are correctly imported, with my user as organizer

edit: correction, the file which is correctly imported contains 11 events, not 4

2 months later

Hi, is there any update on this ? Is this specific to my setup or is it a egw bug ?

Thank !