Steps to reproduce
I don't know how to exactly reproduce the issue, because it happened only with one task that I have in my list. I'll post more information in the appropriate issue field.
- Click on "Delete Task"
- Wait for a few seconds
- See the error that appears in the UI: "Could not delete the task"

Expected behavior
Task should be deleted
Actual behaviour
Task is not deleted
Tasks app version
0.15.0
CalDAV-clients used
Tasks created using app Tasks.org from F-droid
Browser
Firefox 119
Client operating system
Ubuntu 22.04
Server operating system
FreeBSD 13
Web server
Apache
Database engine version
MariaDB
PHP engine version
PHP 8.2
Nextcloud version
26.0.8
Updated from an older installed version or fresh install
Fresh install
List of activated apps
Enabled:
- calendar: 4.4.2
- circles: 26.0.0
- cloud_federation_api: 1.9.0
- cms_pico: 1.0.21
- comments: 1.16.0
- contacts: 5.3.1
- contactsinteraction: 1.7.0
- dashboard: 7.6.0
- dav: 1.25.0
- federatedfilesharing: 1.16.0
- federation: 1.16.0
- files: 1.21.1
- files_pdfviewer: 2.7.0
- files_rightclick: 1.5.0
- files_sharing: 1.18.0
- files_trashbin: 1.16.0
- files_versions: 1.19.1
- firstrunwizard: 2.15.0
- gpoddersync: 3.8.1
- logreader: 2.11.0
- lookup_server_connector: 1.14.0
- mail: 3.2.1
- maps: 1.1.1
- memories: 5.2.1
- news: 21.2.0
- nextcloud_announcements: 1.15.0
- notes: 4.8.0
- notifications: 2.14.0
- oauth2: 1.14.0
- password_policy: 1.16.0
- previewgenerator: 5.3.0
- privacy: 1.10.0
- provisioning_api: 1.16.0
- recognize: 4.2.0
- related_resources: 1.1.0-alpha1
- richdocuments: 8.0.2
- serverinfo: 1.16.0
- settings: 1.8.0
- sharebymail: 1.16.0
- support: 1.9.0
- survey_client: 1.14.0
- systemtags: 1.16.0
- tasks: 0.15.0
- text: 3.7.2
- theming: 2.1.1
- twofactor_backupcodes: 1.15.0
- twofactor_totp: 8.0.0
- updatenotification: 1.16.0
- user_status: 1.6.0
- viewer: 1.10.0
- weather_status: 1.6.0
- workflowengine: 2.8.0
Disabled:
- activity: 2.18.0 (installed 2.18.0)
- admin_audit: 1.16.0
- bruteforcesettings: 2.6.0
- encryption: 2.14.0
- files_external: 1.18.0
- photos: 2.2.0 (installed 2.2.0)
- recommendations: 1.5.0 (installed 1.5.0)
- spreed: 16.0.4 (installed 16.0.4)
- suspicious_login: 4.4.0
- timemanager: 0.3.8 (installed 0.3.8)
- user_ldap: 1.16.0
Nextcloud configuration
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.0.6",
"nextcloud.brennoflavio.com.br"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "26.0.2.1",
"overwrite.cli.url": "http:\/\/192.168.0.6",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "BR",
"htaccess.RewriteBase": "\/",
"share_folder": "shared_with_me",
"app_install_overwrite": [
"cms_pico",
"maps"
],
"twofactor_enforced": "true",
"twofactor_enforced_groups": [
"admin"
],
"twofactor_enforced_excluded_groups": [],
"filelocking.enabled": true,
"maintenance": false,
"memories.vod.path": "\/root\/go-vod\/go-vod",
"memories.gis_type": 1,
"preview_max_memory": 4096,
"preview_max_filesize_image": 256,
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\HEIC",
"OC\\Preview\\TIFF",
"OC\\Preview\\Movie"
],
"memories.exiftool_no_local": true,
"memories.vod.disable": false,
"memories.vod.ffmpeg": "\/usr\/local\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/local\/bin\/ffprobe",
"memories.vod.external": true,
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl"
}
}
Web server error log
[Wed Nov 01 07:40:44.177525 2023] [proxy_fcgi:error] [pid 32331] (70007)The timeout specified has expired: [client 192.168.0.213:57359] AH01075: Error dispatching request to : (polling)
Log file
No response
Browser log
XHR DELETE
https://nextcloud.brennoflavio.com.br/remote.php/dav/calendars/brenno/rotina-1/2159890767622610259.ics
[HTTP/2 403 868ms]
Error:
r dist.js:1
a dist.js:1
o dist.js:1
a dist.js:1
o dist.js:1
a dist.js:1
o dist.js:1
onreadystatechange dist.js:1
e dist.js:1
e dist.js:1
u dist.js:1
_invoke dist.js:1
S dist.js:1
pe dist.js:1
i dist.js:1
exports dist.js:1
exports dist.js:1
value dist.js:1
e dist.js:1
u dist.js:1
_invoke dist.js:1
S dist.js:1
pe dist.js:1
i dist.js:1
exports dist.js:1
exports dist.js:1
value dist.js:1
e dist.js:1
u dist.js:1
_invoke dist.js:1
S dist.js:1
ke dist.js:1
i dist.js:1
exports dist.js:1
exports dist.js:1
value dist.js:1
n tasks.js:829
u tasks.js:2
T tasks.js:2
y tasks.js:2
fC tasks.js:2
i tasks.js:2
promise callback*fC tasks.js:2
i tasks.js:2
gC tasks.js:2
gC tasks.js:2
deleteTask tasks.js:792
A vuex.esm.js:851
dispatch vuex.esm.js:516
dispatch vuex.esm.js:406
t tasks.js:867
t tasks.js:864
u tasks.js:2
T tasks.js:2
y tasks.js:2
fC tasks.js:2
i tasks.js:2
gC tasks.js:2
gC tasks.js:2
setInterval handler*scheduleTaskDeletion/n/< tasks.js:863
u tasks.js:2
T tasks.js:2
y tasks.js:2
fC tasks.js:2
i tasks.js:2
gC tasks.js:2
gC tasks.js:2
scheduleTaskDeletion tasks.js:849
A vuex.esm.js:851
dispatch vuex.esm.js:516
dispatch vuex.esm.js:406
tasks.js:834:13
Additional info
Browser tries to delete the task by calling DELETE on https://nextcloud.brennoflavio.com.br/remote.php/dav/calendars/brenno/rotina-1/2159890767622610259.ics, and receive the following 403 response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\Forbidden</s:exception>
<s:message>A calendar object with URI 2159890767622610259-deleted.ics already exists in calendar 10, therefore this object can't be moved into the trashbin</s:message>
</d:error>
I changed the task, and intercepted the PUT request to see the ics file. Here it is:
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:America/Sao_Paulo
X-LIC-LOCATION:America/Sao_Paulo
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0200
TZOFFSETTO:-0300
DTSTART:20130217T000000
RRULE:FREQ=YEARLY;UNTIL=20190217T020000Z;BYDAY=SU;BYMONTHDAY=17,18,19,21,22
;BYMONTH=2
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:-02
TZOFFSETFROM:-0300
TZOFFSETTO:-0200
DTSTART:20181104T000000
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:-03
TZOFFSETFROM:-0300
TZOFFSETTO:-0300
DTSTART:20380119T001407
END:STANDARD
END:VTIMEZONE
BEGIN:VTODO
DTSTAMP:20231101T073723
UID:2159890767622610259
SEQUENCE:41
CREATED:20230704T130434Z
LAST-MODIFIED:20231101T073723
SUMMARY:Preencher diário a
PRIORITY:9
STATUS:NEEDS-ACTION
RRULE:FREQ=DAILY
X-APPLE-SORT-ORDER:708122972
DUE;TZID=America/Sao_Paulo:20231018T170001
DTSTART;TZID=America/Sao_Paulo:20231017T020000
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:9542a1f9b5af36fdf1e83ac52b5fda00595ee3bd
ACTION:DISPLAY
DESCRIPTION:Default Tasks.org description
TRIGGER;RELATED=END:PT0S
ACKNOWLEDGED:20231031T202356Z
END:VALARM
END:VTODO
END:VCALENDAR
I tried clening up the trash bin, without success. Also I went to the trash bin folder in my serer and could not find anything.
Thanks for the help!
Steps to reproduce
I don't know how to exactly reproduce the issue, because it happened only with one task that I have in my list. I'll post more information in the appropriate issue field.
Expected behavior
Task should be deleted
Actual behaviour
Task is not deleted
Tasks app version
0.15.0
CalDAV-clients used
Tasks created using app Tasks.org from F-droid
Browser
Firefox 119
Client operating system
Ubuntu 22.04
Server operating system
FreeBSD 13
Web server
Apache
Database engine version
MariaDB
PHP engine version
PHP 8.2
Nextcloud version
26.0.8
Updated from an older installed version or fresh install
Fresh install
List of activated apps
Nextcloud configuration
Web server error log
Log file
No response
Browser log
Additional info
Browser tries to delete the task by calling DELETE on
https://nextcloud.brennoflavio.com.br/remote.php/dav/calendars/brenno/rotina-1/2159890767622610259.ics, and receive the following 403 response:I changed the task, and intercepted the PUT request to see the ics file. Here it is:
I tried clening up the trash bin, without success. Also I went to the trash bin folder in my serer and could not find anything.
Thanks for the help!