server icon indicating copy to clipboard operation
server copied to clipboard

No calendar invitation send for event in shared calendars

Open rabadumpf opened this issue 9 years ago • 34 comments

Hello, i can´t invite people via e-mail to my appointments out of thunderbird/lightning. I can´t invite people with the android app davdroid. Also no invitation with the browser, chrome 57.0.2987.98 and firefox 52.0

Steps to reproduce

  1. create appointment
  2. enter adresses for invitation
  3. save

Expected behaviour

thunderbird created a mesage if i would like to send the invitation thinderbird sends invitation

Actual behaviour

nothing happens after saving of new appointment, and no message is sent in the window for new appointament in "invitation" the field for "send invitation" is gray and can´t click.

Server configuration

Operating system: Windows 10, ubuntu 16.10, linuxmint 18.1 Web server: apache 2.4.18 Database: mysql 5.7.17 PHP version: 7.0.15 Nextcloud version: (see Nextcloud admin page) nextcloud 11.0.2 Updated from an older Nextcloud/ownCloud or fresh install: updated Where did you install Nextcloud from: https://nextcloud.com

rabadumpf avatar Mar 13 '17 18:03 rabadumpf

@georgehrke @rullzer Do we support this?

MorrisJobke avatar Mar 14 '17 02:03 MorrisJobke

The CalDAV server is supposed to send out emails. I guess @rabadumpf didn't configure email on their Nextcloud.

This came up a few times already and some people want to keep sending invitations via thunderbird.

Therefore my suggestion:

  • add instance-wide toggle in config.php to disable Caldav email invitations
  • check if email is configured before initializing the email invitation (iTip) plugin

georgehrke avatar Mar 14 '17 07:03 georgehrke

Should be a duplicate of #3801

nickvergessen avatar Mar 16 '17 14:03 nickvergessen

Fix is in https://github.com/nextcloud/server/pull/3857

nickvergessen avatar Mar 16 '17 14:03 nickvergessen

@nickvergessen I don't see anything about shared calendars in this bug report

georgehrke avatar Mar 16 '17 14:03 georgehrke

@rabadumpf please provide the config.php as requested in the issue template

georgehrke avatar Mar 16 '17 14:03 georgehrke

It's unrelated to shares, the old caldav endpoint uses a wrong and invalid scheduling plugin. I first linked the wrong PR, correct one is https://github.com/nextcloud/server/pull/3857

nickvergessen avatar Mar 16 '17 14:03 nickvergessen

my config.php

<?php
$CONFIG = array (
  'instanceid' => '***removed***'',
  'passwordsalt' => '***removed***',
  'secret' => '***removed***',
  'trusted_domains' => 
  array (
    0 => '192.168.178.25',
    1 => 'xxx.dynv6.net',
  ),
  'datadirectory' => '/srv/nextcloud',
  'overwrite.cli.url' => 'https://xxx.dynv6.net',
  'dbtype' => 'mysql',
  'version' => '11.0.2.7',
  'dbname' => 'xxx',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx,
  'logtimezone' => 'UTC',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'appstore.experimental.enabled' => true,
);

rabadumpf avatar Mar 16 '17 19:03 rabadumpf

@rabadumpf Is your nextcloud properly configured to send out emails? (e.g. for activities and password reset)

georgehrke avatar Mar 16 '17 20:03 georgehrke

I cannot sent emails with the mailapp: "Serverfehler"

rabadumpf avatar Mar 17 '17 06:03 rabadumpf

now i do this config.php the message come "Nachricht versandt", but !! the message is not reach to the recipient

<?php
$CONFIG = array (
  'instanceid' => '***removed***'',
  'passwordsalt' => '***removed***',
  'secret' => '***removed***',
  'trusted_domains' => 
  array (
    0 => '192.168.178.25',
    1 => 'xxx.dynv6.net',
  ),
  'datadirectory' => '/srv/nextcloud',
  'overwrite.cli.url' => 'https://xxx.dynv6.net',
  'dbtype' => 'mysql',
  'version' => '11.0.2.7',
  'dbname' => 'xxx',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx,
  'logtimezone' => 'UTC',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'appstore.experimental.enabled' => true,
  'mail_smtptimeout' => '30',
  'app.mail.transport' => 'php-mail',
);

rabadumpf avatar Mar 17 '17 06:03 rabadumpf

Now i can send mails with the mail app and the mails come on the recipient. So i think the email is configured right, isn it? But the orginally problem, "No Cal Invitations", isnt gone. So whats wrong?

rabadumpf avatar Mar 17 '17 19:03 rabadumpf

Sorry, my question was never about the mail app.

its about mails send by the nextcloud server, like the password reset link and share by mail

georgehrke avatar Mar 17 '17 19:03 georgehrke

Ok, i think you mean at the Admin account, additional setting, e-Mail-Server setting, right? There is no email configured.

rabadumpf avatar Mar 17 '17 19:03 rabadumpf

I'm referring to this setting

admin - nextcloud chromium today at 8 41 12 pm

georgehrke avatar Mar 17 '17 19:03 georgehrke

add instance-wide toggle in config.php to disable Caldav email invitations

also related to https://github.com/nextcloud/server/issues/2800

georgehrke avatar Mar 19 '17 14:03 georgehrke

It's unrelated to shares, the old caldav endpoint uses a wrong and invalid scheduling plugin.

I think it's not related to that issue. Apparently Nextcloud can't send out emails in this bug report and therefore the plugin should not be registered in the first place.

Reopening

georgehrke avatar Mar 19 '17 14:03 georgehrke

I'm referring to this setting

i configure the mail, and now i can invite people via e-mail to my appointments out of thunderbird/lightning and also in the calendar app nextcloud. The problem is solved.

rabadumpf avatar Mar 19 '17 15:03 rabadumpf

Hi all,

we have a similar problem. We would like to restore the previous behavior: we want to keep sending invitations via thunderbird because server doesn't send email for calendar events added in shared calendars. Is it possible and how we can do this? Is there any other solution to restore invitations on shared calendars?

FabioLapolla avatar May 08 '17 13:05 FabioLapolla

because server doesn't send email for calendar events added in shared calendars.

@FabioLapolla Can you please create a dedicated bug report for this?

georgehrke avatar May 08 '17 16:05 georgehrke