-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: CalDAV error when trying to add a calendar event [iCalendar objects must at least have a component of type VTODO] #45503
Comments
The put request tries to create an event in the tasks calendar. You should also have a personal calendar. Does it work if you create an event there? |
Do you mean that you can't create in one Calendar file a Task event at same time that a Calendar event? You can't have together Tasks and Events into de same Calendar? |
I have the same problem |
You are both correct. I was trying to add an event in the tasks calendar. It works just fine when I use a calendar created inside of the calendar app. Thank you. :) |
You can also do it by adding in MySQL data base on the table "oc_calendars" inside the value of "components" the instruction VTODO or VEVENT depending on which is missing. |
I've re-opened this because even on events created within the calendars app, I am getting the same error in my logs. I have not yet identified the cause. |
I'm having the same problem. Edit: I've solved it, I went to the calendar settings and changed the default calendar to one created within the app! |
The workarounds mentioned are not working for me. Multiple users having the same problem. Currenly on Nextcloud 29.01. What I tried so far:
|
Does anyone have a failing ics for me please? You can extract it from the network tab in your browser console Erroring code is here: |
Thanks, this worked for me! Couldn't figure out how to set the default, so I updated the database entry for my preferred calendar to be |
In my case, an additional error appeared in the logs when I accidentally tried to change the calendar order:
When I created the SQL command to create the missing column:
|
The migration for oc_calendarchanges.created_at was part of #44075. |
Thank you @kesselb. Indeed |
I worked a bit on this issue and there are now 3 fixes/improvements to prevent this situation in the future:
|
Bug description
I have installed both the Tasks app, and the Calendar app, versions of both are:
Tasks: 0.15.0
Calendar 4.7.4
I cannot create new events from the calendar app. (From tasks app it works just fine)
Steps to reproduce
Expected behavior
I would expect it not to throw an error when I try to create a new calendar event.
Installation method
Community Manual installation with Archive
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
PUT https://mycloud.tld/remote.php/dav/calendars/UID/tasks/8ABB8456-7E73-4FDC-A278-200DF6C9A971.ics 403 (Forbidden)
The text was updated successfully, but these errors were encountered: