nextcloud / nextcloud/calendar

Error when creating event with attendee

Open
#6,956 56 comments 0 reactions 1 assignee View on GitHub

@SebastianKrupinski is already working on this.

Since May 6, 2025.

bug needs info
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Steps to reproduce
  1. Start creating an event
  2. Add attendee/invitee
  3. Confirm creation
  4. Observe error message
Expected behavior

The event should successfully be created and the invitee should recieve an invitation email.

Actual behavior

The creation fails with a generic "Error when saving event" error. (Translated from German UI, so it could be imprecise)

Calendar app version

5.2.2

CalDAV-clients used

DAVx5 (also in web) (in DAVx5 there is a 404 error)

Browser

Brave v_1.78.94

Client operating system

Fedora Linux KDE 41

Server operating system

Ubuntu Server 24.04

Web server

Apache

Database engine version

PostgreSQL

PHP engine version

PHP 8.3

Nextcloud version

30.0.10

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps
Enabled:
  - activity: 3.0.0
  - admin_audit: 1.20.0
  - bruteforcesettings: 3.0.0
  - calendar: 5.2.2
  - camerarawpreviews: 0.8.7
  - circles: 30.0.0
  - circlesdb: 1.8.2
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 7.0.6
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - deck: 1.14.5
  - external: 5.5.2
  - extract: 1.3.6
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_3dmodelviewer: 0.0.15
  - files_accesscontrol: 1.20.1
  - files_antivirus: 5.6.1
  - files_automatedtagging: 1.20.0
  - files_downloadlimit: 3.0.0
  - files_external: 1.22.0
  - files_fulltextsearch: 31.0.0
  - files_markdown: 2.4.1
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - fileslibreofficeedit: 2.0.1
  - firstrunwizard: 3.0.0
  - forms: 5.1.0
  - fulltextsearch: 30.0.1
  - fulltextsearch_elasticsearch: 30.0.1
  - groupfolders: 18.1.2
  - guests: 4.2.0
  - impersonate: 1.17.1
  - integration_discourse: 2.3.0
  - integration_github: 3.1.1
  - integration_google: 3.2.0
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - mail: 5.0.3
  - nextcloud-aio: 0.7.0
  - nextcloud_announcements: 2.0.0
  - notes: 4.12.0
  - notifications: 3.0.0
  - notify_push: 1.0.0
  - oauth2: 1.18.1
  - onlyoffice: 9.8.0
  - password_policy: 2.0.0
  - photos: 3.0.2
  - previewgenerator: 5.8.0
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - recommendations: 3.0.0
  - related_resources: 1.5.0
  - richdocuments: 8.5.6
  - riotchat: 0.18.8
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - spreed: 20.1.6
  - support: 2.0.0
  - survey_client: 2.0.0
  - suspicious_login: 8.0.0
  - systemtags: 1.20.0
  - tasks: 0.16.1
  - text: 4.1.0
  - theming: 2.6.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_nextcloud_notification: 4.0.0
  - twofactor_totp: 12.0.0-dev
  - uppush: 2.3.0
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
  - whiteboard: 1.0.5
  - workflowengine: 2.12.0
Disabled:
  - app_api: 4.0.6 (installed 4.0.5)
  - bbb: 2.7.3 (installed 2.7.3)
  - encryption: 2.18.0
  - files_retention: 1.19.1 (installed 1.19.1)
  - files_rightclick: 0.15.1 (installed 0.15.1)
  - hibp: 0.1.0 (installed 0.1.0)
  - translate: 2.2.0 (installed 2.2.0)
  - user_ldap: 1.21.0 (installed 1.21.0)
Nextcloud configuration
{
    "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "appsallowlist": false,
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "nextcloud.knoll-family.de",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.knoll-family.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "30.0.10.1",
        "overwrite.cli.url": "https:\/\/nextcloud.knoll-family.de\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updatedirectory": "\/nc-updater",
        "loglevel": "2",
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": "10485760",
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": "30",
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "files_external_allow_create_new_local": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "maintenance_window_start": 100,
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "data-fingerprint": "9adc07162659a4a2cd994331b5874fce",
        "defaultapp": "",
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "app_install_overwrite": [
            "circlesdb",
            "files_markdown",
            "extract",
            "hibp",
            "files_rightclick"
        ],
        "DOMAIN": "<redacted>"
    }
}
Web server error log

Log file

Browser log
Console log:


Error with Permissions-Policy header: Unrecognized feature: 'browsing-topics'.
Error with Permissions-Policy header: Unrecognized feature: 'run-ad-auction'.
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'join-ad-interest-group'.
Error with Permissions-Policy header: Unrecognized feature: 'private-state-token-redemption'.
Error with Permissions-Policy header: Unrecognized feature: 'private-state-token-issuance'.
Error with Permissions-Policy header: Unrecognized feature: 'private-aggregation'.
Error with Permissions-Policy header: Unrecognized feature: 'attribution-reporting'.
logger.js:49 [INFO] calendar: 
Initial settings:
	- AppVersion: 5.2.2
	- EventLimit: true
	- FirstRun: true
	- ShowWeekNumbers: false
	- ShowTasks: true
	- ShowWeekends: true
	- SkipPopover: false
	- SlotDuration: 00:30:00
	- DefaultReminder: none
	- TalkEnabled: true
	- TasksEnabled: true
	- Timezone: automatic
	- HideEventExport: false
	- ForceEventAlarmType: false
	- disableAppointments: false
	- CanSubscribeLink: true
	- attachmentsFolder: /Calendar
	- ShowResources: true
	- PublicCalendars: 
 {app: 'calendar', uid: 'Alpha-Craft', level: '2'}
session-heartbeat.js:83 session heartbeat polling started
logger.js:49 [INFO] calendar: Updated moment locale: de {app: 'calendar', uid: 'Alpha-Craft', level: '2'}
calendars.js:251 calendar home scanned (15) [H, H, H, H, H, H, H, H, H, H, H, H, H, H, H] [$] []
notifications-main.mjs:3 
            
            
           GET https://nextcloud.knoll-family.de/apps/notifications/js/_plugin-vue2_normalizer-53aIz_Ja.chunk.mjs net::ERR_ABORTED 404 (Not Found)
(anonymous) @ notifications-main.mjs:3
A @ notifications-main.mjs:3
NotificationsApp @ main.js:22
Ti @ style-yD8At2-T.chunk.mjs:2
er @ style-yD8At2-T.chunk.mjs:2
Ei @ style-yD8At2-T.chunk.mjs:2
Sn @ style-yD8At2-T.chunk.mjs:2
t.$createElement @ style-yD8At2-T.chunk.mjs:2
render @ main.js:24
Pi.t._render @ style-yD8At2-T.chunk.mjs:2
r @ style-yD8At2-T.chunk.mjs:2
t.get @ style-yD8At2-T.chunk.mjs:2
t @ style-yD8At2-T.chunk.mjs:2
Xi @ style-yD8At2-T.chunk.mjs:2
M.$mount @ style-yD8At2-T.chunk.mjs:2
t._init @ style-yD8At2-T.chunk.mjs:2
M @ style-yD8At2-T.chunk.mjs:2
(anonymous) @ main.js:17
notifications-main.mjs:3 
            
            
           GET https://nextcloud.knoll-family.de/apps/notifications/js/NotificationsApp-DpvUfGe4.chunk.mjs net::ERR_ABORTED 404 (Not Found)
(anonymous) @ notifications-main.mjs:3
A @ notifications-main.mjs:3
NotificationsApp @ main.js:22
Ti @ style-yD8At2-T.chunk.mjs:2
er @ style-yD8At2-T.chunk.mjs:2
Ei @ style-yD8At2-T.chunk.mjs:2
Sn @ style-yD8At2-T.chunk.mjs:2
t.$createElement @ style-yD8At2-T.chunk.mjs:2
render @ main.js:24
Pi.t._render @ style-yD8At2-T.chunk.mjs:2
r @ style-yD8At2-T.chunk.mjs:2
t.get @ style-yD8At2-T.chunk.mjs:2
t @ style-yD8At2-T.chunk.mjs:2
Xi @ style-yD8At2-T.chunk.mjs:2
M.$mount @ style-yD8At2-T.chunk.mjs:2
t._init @ style-yD8At2-T.chunk.mjs:2
M @ style-yD8At2-T.chunk.mjs:2
(anonymous) @ main.js:17
EditSimple.vue:425 getDomElementForPopover <nav data-v-e8d5a9e1 id=​"app-navigation-vue" aria-hidden=​"false" class=​"app-navigation__content">​…​</nav>​flex right
calendarObjects.js:122 
            
            
           PUT https://nextcloud.knoll-family.de/remote.php/dav/calendars/Alpha-Craft/dennis-knoll/296F7B5A-893D-4CA9-A4C6-E950CFB77970.ics 404 (Not Found)
request @ index.mjs:873
put @ index.mjs:677
createObject @ index.mjs:1441
createVObject @ index.mjs:1961
updateCalendarObject @ calendarObjects.js:122
a @ pinia.mjs:1399
saveCalendarObjectInstance @ calendarObjectInstance.js:1480
await in saveCalendarObjectInstance
a @ pinia.mjs:1399
save @ EditorMixin.js:494
saveAndLeave @ EditorMixin.js:518
saveAndView @ EditSimple.vue:444
save-this-only @ EditSimple.vue:4
fn @ vue.runtime.esm.js:3033
n @ vue.runtime.esm.js:1832
fn @ vue.runtime.esm.js:3033
e.$emit @ vue.runtime.esm.js:3732
saveThisOnly @ SaveButtons.vue:110
fn @ vue.runtime.esm.js:3033
n @ vue.runtime.esm.js:1832
fn @ vue.runtime.esm.js:3033
e.$emit @ vue.runtime.esm.js:3732
click @ NcButton.mjs:272
fn @ vue.runtime.esm.js:3033
n @ vue.runtime.esm.js:1832
i._wrapper @ vue.runtime.esm.js:7500
EditorMixin.js:499 [ERROR] calendar: Failed to save event: Error {app: 'calendar', uid: 'Alpha-Craft', level: '2', error: k
    at o.onreadystatechange (https://nextcloud.knoll-family.de/custom_apps/calendar/js/calendar-m…}
log @ index.mjs:54
error @ index.mjs:72
save @ EditorMixin.js:499
await in save
saveAndLeave @ EditorMixin.js:518
saveAndView @ EditSimple.vue:444
save-this-only @ EditSimple.vue:4
fn @ vue.runtime.esm.js:3033
n @ vue.runtime.esm.js:1832
fn @ vue.runtime.esm.js:3033
e.$emit @ vue.runtime.esm.js:3732
saveThisOnly @ SaveButtons.vue:110
fn @ vue.runtime.esm.js:3033
n @ vue.runtime.esm.js:1832
fn @ vue.runtime.esm.js:3033
e.$emit @ vue.runtime.esm.js:3732
click @ NcButton.mjs:272
fn @ vue.runtime.esm.js:3033
n @ vue.runtime.esm.js:1832
i._wrapper @ vue.runtime.esm.js:7500
SaveButtons.vue:110 k
    at o.onreadystatechange (https://nextcloud.knoll-family.de/custom_apps/calendar/js/calendar-main.js?v=d61651dc-10:2:2410916)
_n @ vue.runtime.esm.js:3065
gn @ vue.runtime.esm.js:3057
mn @ vue.runtime.esm.js:3024
(anonymous) @ vue.runtime.esm.js:3035
Promise.catch
fn @ vue.runtime.esm.js:3035
n @ vue.runtime.esm.js:1832
fn @ vue.runtime.esm.js:3033
e.$emit @ vue.runtime.esm.js:3732
saveThisOnly @ SaveButtons.vue:110
fn @ vue.runtime.esm.js:3033
n @ vue.runtime.esm.js:1832
fn @ vue.runtime.esm.js:3033
e.$emit @ vue.runtime.esm.js:3732
click @ NcButton.mjs:272
fn @ vue.runtime.esm.js:3033
n @ vue.runtime.esm.js:1832
i._wrapper @ vue.runtime.esm.js:7500
Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.