You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error message "Failed to save event" is shown. Also errors show up in the logs.
I suspect that this is because it's trying to save the event to a calendar called "watch list", which is not a calendar but a TODO list. The UI shows it as a calendar somehow, and while the prompts (both simple and advanced) show it as going to insert into the "default" calendar, the URLs show that it's going to the watch list.
Calendar app version
4.7.1
CalDAV-clients used
DAVx5, Evolution
Browser
Firefox 125.0.2
Client operating system
Arch Linux, though not that relevant
Server operating system
Ubuntu 22.04
Web server
Nginx
Database engine version
PostgreSQL
PHP engine version
PHP 8.1
Nextcloud version
28.0.5
Updated from an older installed version or fresh install
Not entirely sure what to get, this is the request:
cloud.bertptrs.nl 109.38.135.71 - - [25/Apr/2024:21:14:28 +0200] "PUT /remote.php/dav/calendars/bert/watch-list/F5011D88-22EE-4F9B-9B6B-109BB505D444.ics HTTP/2.0" 403 252 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
Log file
{"reqId":"1aQFg1RNvWQKEkhkItZF","level":3,"time":"2024-04-25T21:17:49+02:00","remoteAddr":"109.38.135.71","user":"bert","app":"webdav","method":"PUT","url":"/remote.php/dav/calendars/bert/watch-list/B3AB9F30-2DAB-405D-83DE-A19074C18C29.ics","message":"iCalendar objects must at least have a component of type VTODO","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0","version":"28.0.5.1","exception":{"Exception":"Sabre\\CalDAV\\Exception\\InvalidComponentType","Message":"iCalendar objects must at least have a component of type VTODO","Code":0,"Trace":[{"file":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/dav/lib/CalDAV/Plugin.php","line":766,"function":"validateICalendar","class":"Sabre\\CalDAV\\Plugin","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeCreateFile","class":"Sabre\\CalDAV\\Plugin","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/dav/lib/DAV/Server.php","line":1094,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/apps/dav/lib/Server.php","line":373,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/cloud.bertptrs.nl/remote.php","line":172,"args":["/var/www/cloud.bertptrs.nl/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/cloud.bertptrs.nl/3rdparty/sabre/dav/lib/CalDAV/Plugin.php","Line":840,"message":"iCalendar objects must at least have a component of type VTODO","exception":{},"CustomMessage":"iCalendar objects must at least have a component of type VTODO"}}
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\CalDAV\Exception\InvalidComponentType</s:exception>
<s:message>iCalendar objects must at least have a component of type VTODO</s:message>
<cal:supported-calendar-component xmlns:cal="urn:ietf:params:xml:ns:caldav"/>
</d:error>
Additional info
No response
The text was updated successfully, but these errors were encountered:
I have a similar issue but with an actual calendar, not a task list. It was created with DAVx⁵ with VTODO and VJOURNAL support, and before nextcloud-calendar update, it was working fine.
My instance is hosted by Hetzner, so I can't provide too much detail.
Steps to reproduce
Expected behavior
The event gets saved into my calendar
Actual behaviour
An error message "Failed to save event" is shown. Also errors show up in the logs.
I suspect that this is because it's trying to save the event to a calendar called "watch list", which is not a calendar but a TODO list. The UI shows it as a calendar somehow, and while the prompts (both simple and advanced) show it as going to insert into the "default" calendar, the URLs show that it's going to the
watch list
.Calendar app version
4.7.1
CalDAV-clients used
DAVx5, Evolution
Browser
Firefox 125.0.2
Client operating system
Arch Linux, though not that relevant
Server operating system
Ubuntu 22.04
Web server
Nginx
Database engine version
PostgreSQL
PHP engine version
PHP 8.1
Nextcloud version
28.0.5
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
Nextcloud configuration
Web server error log
Log file
Browser log
Request
Response
Additional info
No response
The text was updated successfully, but these errors were encountered: