nextcloud / calendar

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

Attendance status updates fail #3774

Open jkpirie opened 2 years ago

jkpirie commented 2 years ago
### Steps to reproduce 1. Send a calendar invitation. 2.The recipient clicks on any of the status update buttons 3.The recipient/user receives an error from nextcloud telling them that the operation was unsuccessful and that I should contact the organiser ### Expected behaviour Not sure as it has not yet worked but I expect to get a confirmation of my accepted calendar invitation ### Actual behaviour I get an error page which is a Nextcloud themed background and an open dialgue box saying: "There was an error updating your attendance status. Please contact the organiser directly". followed by the organisers email address, i.e. my email! ### Calendar app V 3.0.1 **CalDAV-clients used:** (Thunderbird Lightning, DAVx5, Evolution, macOS Calendar, etc) Sent invitation from Web calendar (nextcloud) and have tried acknowledging it from thunderbird, Fastmail and another Nextcloud instance. All failed in the same way. ### Client configuration **Browser:** Firefox and Opera **Operating system:** (e.g. Arch Linux) Kubuntu Linux ### Server configuration I don't understand this question? **Operating system**: (e.g. Debian 8) Ubuntu Server **Web server:** (e.g. Apache, Nginx,...) Apache 2.4 **Database:** (e.g. MariaDB, SQLite or PostgreSQL) MariaDB **PHP version:** (e.g. 7.0.3) 7.4 **Nextcloud Version:** (see admin page, e.g. 17.0.2) 22.2.3 **Updated from an older installed version or fresh install:** Updated continuously since version 16 **List of activated apps:** Brute-force settings 2.2.0 Calendar 3.0.1 Circles 22.1.1 Contacts 4.0.6 Cookbook 0.9.7 Dashboard 7.2.0 Deleted files 1.12.0 Edit Files with LibreOffice 1.0.2 External storage support 1.13.0 Federation 1.12.0 File sharing 1.14.0 Log Reader 2.7.0 Mail 1.11.0 Mastodon integration 1.0.2 Music 1.5.0 Nextcloud announcements 1.11.0 Featured Notes 4.2.0 Featured Notifications 2.10.1 Passwords 2021.11.20 PDF viewer 2.3.1 Photos 1.4.0 QOwnNotesAPI 21.7.0 Ransomware protection 1.11.0 Right click 1.1.0 Share by mail 1.12.0 Talk 12.1.2 Tasks 0.14.2 Text 3.3.0 Twitter integration 1.0.2 Update notification 1.12.0 Video player 1.11.0 Weather status **Nextcloud configuration:** System information as of Wed 1 Dec 15:18:41 GMT 2021 System load: 0.51 Processes: 206 Usage of /home: 0.3% of 45.71GB Users logged in: 0 Memory usage: 50% IPv4 address for eth0: 192.168.1.4 Swap usage: 0% => There is 1 zombie process. 0 updates can be applied immediately. You have mail. Last login: Sun Nov 28 13:29:41 2021 from 192.168.1.5 james@bronserv:~$ cd /var/www/html/nextcloud/ james@bronserv:/var/www/html/nextcloud$ sudo -u www-data php occ config:list system [sudo] password for james: Cannot load Zend OPcache - it was already loaded { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "192.168.1.4", "95.172.232.27", "broncloud.sasstaff.co.uk" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "22.2.3.0", "overwrite.cli.url": "https:\/\/192.168.1.4\/nextcloud", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "default_phone_region": "ISO 3166-2:GB", "installed": true, "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "apc.enable.cli": 1, "theme": "", "loglevel": 0, "music.lastfm_api_key": "7ae6ca5e790998f34d6a0c299e473cab", "memcache.local": "\\OC\\Memcache\\APCu", "mysql.utf8mb4": true, "updater.release.channel": "beta", "app_install_overwrite": [ "fulltextsearch", "calendar", "spreed", "ransomware_protection", "maps", "weather" ], "preview_max_x": "1080", "preview_max_y": "1920", "data-fingerprint": "40efdbc1d3d5e25dd9480240698eb478", "mail_sendmailmode": "smtp", "mail_smtpsecure": "ssl", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***" ### Log #### Web server error log (e.g. /var/log/apache) [Wed Dec 01 07:30:52.151373 2021] [:error] [pid 1421] python_init: Python version mismatch, expected '3.9.0+', found '3.9.5'. [Wed Dec 01 07:30:52.156151 2021] [:error] [pid 1421] python_init: Python executable found '/'. [Wed Dec 01 07:30:52.156175 2021] [:error] [pid 1421] python_init: Python path being used '/'. [Wed Dec 01 07:30:52.156201 2021] [:notice] [pid 1421] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Wed Dec 01 07:30:52.156207 2021] [:notice] [pid 1421] mod_python: using mutex_directory /tmp [Wed Dec 01 07:30:52.334653 2021] [mpm_prefork:notice] [pid 1421] AH00163: Apache/2.4.46 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1j mod_python> [Wed Dec 01 07:30:52.334700 2021] [core:notice] [pid 1421] AH00094: Command line: '/usr/sbin/apache2' [Wed Dec 01 08:00:47.878024 2021] [access_compat:error] [pid 2453] [client 192.168.1.1:52304] AH01797: client denied by server configuratio> [Wed Dec 01 11:08:15.660896 2021] [negotiation:error] [pid 3571] [client 45.134.144.108:48892] AH00687: Negotiation: discovered file(s) mat> [Wed Dec 01 12:24:15.075319 2021] [mpm_prefork:notice] [pid 1421] AH00171: Graceful restart requested, doing restart [Wed Dec 01 12:24:18.179805 2021] [:error] [pid 1421] python_init: Python version mismatch, expected '3.9.0+', found '3.9.5'. [Wed Dec 01 12:24:18.180011 2021] [:error] [pid 1421] python_init: Python executable found '/'. [Wed Dec 01 12:24:18.180018 2021] [:error] [pid 1421] python_init: Python path being used '/'. [Wed Dec 01 12:24:18.180031 2021] [:notice] [pid 1421] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Wed Dec 01 12:24:18.180042 2021] [:notice] [pid 1421] mod_python: using mutex_directory /tmp [Wed Dec 01 12:24:18.211884 2021] [mpm_prefork:notice] [pid 1421] AH00163: Apache/2.4.46 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1j mod_python> [Wed Dec 01 12:24:18.211913 2021] [core:notice] [pid 1421] AH00094: Command line: '/usr/sbin/apache2' [Wed Dec 01 12:24:29.373977 2021] [mpm_prefork:notice] [pid 1421] AH00171: Graceful restart requested, doing restart [Wed Dec 01 12:24:32.448250 2021] [:error] [pid 1421] python_init: Python version mismatch, expected '3.9.0+', found '3.9.5'. [Wed Dec 01 12:24:32.448453 2021] [:error] [pid 1421] python_init: Python executable found '/'. ``` Insert your webserver log here I am sorry but I cannot figure out how to do this for such an extensive log file. The error log was small so I simply marked and copied it but the webserver log is a different story I'm not sure you even want that much text pasted here? #### Log file (data/nextcloud.log) See above, nextcoud.log is massive and I'm not skilled enough with linux administration to know how to do this :) ``` Insert your nextcloud.log file here Again? You already asked that :) #### Browser log Nope, no ideas I'm not a developer just a simple user who is trying to report a problem.
JMoVS commented 2 years ago

this is probably the same as the long standing bug https://github.com/nextcloud/mail/issues/10331

joho1968 commented 1 year ago

There was an error updating your attendance status. Please contact the organizer directly.

Still seeing this in latest NC25 and latest Calendar App. Zero output in the log, even with these settings in config.php:

'log_type' => 'file',
'logfile' => '/var/www/_logs/nextcloud.log',
'loglevel' => 0,
miaulalala commented 1 year ago

Do you happen to have duplicate email addresses for a user?

joho1968 commented 1 year ago

Not AFAIK. This is a relatively small instance with only seven users to test stuff. I just re-checked. And the user in question (the one that created the invite) has a reasonably normal e-mail address in the form of firstname_lastname@domain.com.