Accepting invitation from email not working

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 16.0.3
Operating system and version: Linux CentOS Linux release 7.6.1810 (Core)
Apache or nginx version: 2.4
PHP version: 7.3.7

The issue you are facing:

When send an invitation and the email recipient accepts the invite with click in the nextcloud template, the event was not updated.

Is this the first time you’ve seen this error?: N

Steps to replicate it:

  1. Send invite to a user@whatever.com
  2. user@whatever receives the email template of nextcloud to accept/decline the invite.
  3. Accept the invite, --> the event was not updated.

The output of your Nextcloud log in Admin > Logging:

No error log identified 

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'oceswrrotva7',
  'passwordsalt' => 'MntP7Oa6/iaOfqib3NQs5fG8kBCMMK',
  'secret' => 'PXn1OyMtTZS3tl6aTnPiI7PDE0NMvkKRumGrkR0NRF37mlzE',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'whatever.domain.com',
  ),
  'dbtype' => 'mysql',
  'version' => '16.0.3.0',
  'overwrite.cli.url' => 'http://whatever.domain.com/nextcloud',
  'dbname' => 'whatever',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'admin',
  'dbpassword' => 'xxxxxx',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'mail.domain.com',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpport' => '26',
  'mail_from_address' => 'user',
  'mail_domain' => 'domain.com',
  'mail_smtpauthtype' => 'PLAIN',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'maintenance' => false,
  'updater.secret' => '$2y$10$of4PhmSiRqW03TBdfwrBOeFlNsLMNHLs2ByEmekYN5My20SBixRny',
  'updater.release.channel' => 'stable',

The output of your Apache/nginx/system log in /var/log/____:

nextcloud-access_log
MYIP - jfonseca [02/Oct/2019:20:19:55 -0500] "PUT /remote.php/dav/calendars/jfonseca/personal/5f927e9b-c924-42eb-9baa-a357f25c7c9a.ics HTTP/1.1" 201 -
MYIP - - [02/Oct/2019:20:19:42 -0500] "GET /index.php/apps/logreader/poll?lastReqId=XZVIcTarOd%40stJieVHUQ%40gAAABI HTTP/1.1" 200 2
MYIP - - [02/Oct/2019:20:20:14 -0500] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 3384
MYIP - - [02/Oct/2019:20:20:02 -0500] "GET /index.php/apps/logreader/poll?lastReqId=XZVIcTarOd%40stJieVHUQ%40gAAABI HTTP/1.1" 200 2
MYIP - - [02/Oct/2019:20:20:22 -0500] "GET /index.php/apps/logreader/poll?lastReqId=XZVIcTarOd%40stJieVHUQ%40gAAABI HTTP/1.1" 200 2
MYIP - - [02/Oct/2019:20:20:44 -0500] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 3384
MYIP - - [02/Oct/2019:20:20:43 -0500] "GET /index.php/apps/logreader/poll?lastReqId=XZVIcTarOd%40stJieVHUQ%40gAAABI HTTP/1.1" 200 2

nextcloud-error_log
[Wed Oct 02 19:22:13.876601 2019] [php7:notice] [pid 17019] [client MYIP:34572] PHP Notice:  Undefined index: datadirectory in /var/www/html/nextcloud/updater/index.php on line 291
[Wed Oct 02 19:22:35.935969 2019] [php7:notice] [pid 16582] [client MYIP:34606] PHP Notice:  Undefined index: datadirectory in /var/www/html/nextcloud/updater/index.php on line 291
[Wed Oct 02 19:24:05.536855 2019] [php7:notice] [pid 17649] [client MYIP:34747] PHP Notice:  Undefined index: datadirectory in /var/www/html/nextcloud/updater/index.php on line 291

THE LINE 291 of /var/www/html/nextcloud/updater/index.php:
                return $this->configValues['datadirectory'];