nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
983 stars 241 forks source link

unable to add a calendar from distant ICS #6333

Open Grorom opened 1 month ago

Grorom commented 1 month ago

Steps to reproduce

  1. in the calendar app click on "New calendar"
  2. then click on "New subscription from link (read only)
  3. paste this one : https://collectifpinceoreilles.com/Feeds/Dates_calendrier.ics

Note : The link above passed the icalendar.org validator with 0 errors : https://icalendar.org/validator.html?url=https://collectifpinceoreilles.com/Feeds/Dates_calendrier.ics

Expected behavior

A new calendar should appear with all the appointments listed in the .ics file

Actual behaviour

You should see an error on the top-right corner saying "An error occurred, unable to create the calendar."

In the admin / logging page I have this message : "InvalidDataException The supplied iCalendar datetime value is incorrect: 20240911T203000Z"

A new calendar is created but it is empty and never show anything, even after a week waiting to update the .ics feed.

Calendar app version

4.7.16

CalDAV-clients used

No response

Browser

Firefox 130.0

Client operating system

Kubuntu 24.04 LTS

Server operating system

Ubuntu Server 22.04.4 LTS

Web server

Apache

Database engine version

MariaDB

PHP engine version

PHP 8.2

Nextcloud version

29.0.6

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

- activity: 2.21.1
  - calendar: 4.7.16
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contactsinteraction: 1.10.0
  - dav: 1.30.1
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.1
  - files_downloadlimit: 2.0.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - groupfolders: 17.0.3
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - nextcloud_announcements: 1.18.0
  - notes: 4.10.1
  - notifications: 2.17.0
  - notify_push: 0.7.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.6
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - spreed: 19.0.8
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - tasks: 0.16.1
  - text: 3.10.1
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

HyperCriSiS commented 1 month ago

Hi, I have the same issue but different error. The only error regarding dav I could find is:

Forbidden This recurrence rule does not generate any valid instances

/var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.phpZeile 1247

OCA\DAV\CalDAV\CalDavBackend->getDenormalizedData()

/var/www/nextcloud/apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.phpZeile 129

OCA\DAV\CalDAV\CalDavBackend->createCalendarObject(
  "*** sensitive parameters replaced ***"
)

/var/www/nextcloud/apps/dav/lib/BackgroundJob/RefreshWebcalJob.phpZeile 94

OCA\DAV\CalDAV\WebcalCaching\RefreshWebcalService->refreshSubscription()

/var/www/nextcloud/lib/public/BackgroundJob/Job.phpZeile 80

OCA\DAV\BackgroundJob\RefreshWebcalJob->run()

/var/www/nextcloud/apps/dav/lib/BackgroundJob/RefreshWebcalJob.phpZeile 87

OCP\BackgroundJob\Job->start()

/var/www/nextcloud/lib/public/BackgroundJob/Job.phpZeile 65

OCA\DAV\BackgroundJob\RefreshWebcalJob->start()

/var/www/nextcloud/cron.phpZeile 177

OCP\BackgroundJob\Job->execute()

nextcloud.log

HyperCriSiS commented 3 weeks ago

Still not working with newest version.