Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification E-Mail all 30 mins #1716

Closed
volker-raschek opened this issue Oct 12, 2016 · 8 comments
Closed

Notification E-Mail all 30 mins #1716

volker-raschek opened this issue Oct 12, 2016 · 8 comments
Assignees
Labels

Comments

@volker-raschek
Copy link

volker-raschek commented Oct 12, 2016

Steps to reproduce

  1. I can't reproduce the steps. It comes from one day to another.

Expected behaviour

When a user (user A) share some folders or files to other users (user B) or to a group (group A), the cronjob send the user B or the members of group A an email notification about the new share.

Actual behaviour

Till yesterday user B and/or group A get the e-mail notification again every 30 mins when the new cronjob start. I must stop the notification service.

Server configuration

Operating system:
Raspbian

Web server:
Apache2

Database:
MySQL

PHP version:
PHP5.5

Nextcloud version: (see Nextcloud admin page)
10.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
Update from older Versions
owncloud 8 to owncloud 9
owncloud 9 to nextcloud 10
nextcloud 10 to nextcloud 10.0.1

Where did you install Nextcloud from:
The zip Archive from nextcloud.com

Signing status:

Signing status

No errors have been found. results here.

List of activated apps:

App list

Enabled:

  • activity: 2.3.2
  • admin_audit: 1.0.0
  • calendar: 1.4.0
  • comments: 1.0.0
  • contacts: 1.4.0.0
  • dav: 1.0.1
  • documents: 0.13.1
  • federatedfilesharing: 1.0.1
  • federation: 1.0.1
  • files: 1.5.2
  • files_external: 1.0.2
  • files_pdfviewer: 0.8.1
  • files_sharing: 1.0.0
  • files_texteditor: 2.1
  • files_trashbin: 1.0.0
  • files_versions: 1.3.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 15.0.0
  • notifications: 0.3.0
  • password_policy: 1.0.0
  • provisioning_api: 1.0.0
  • serverinfo: 1.1.1
  • survey_client: 0.1.5
  • systemtags: 1.0.2
  • tasks: 0.9.3
  • templateeditor: 0.1
  • theming: 1.0.1
  • updatenotification: 1.0.1
  • workflowengine: 1.0.1
    Disabled:
  • encryption
  • external
  • files_accesscontrol
  • files_automatedtagging
  • files_retention
  • user_external
  • user_ldap
  • user_saml

The content of config/config.php:

Config report

{
"system": {
"instanceid": "occkwrm2fxo6",
"passwordsalt": "_REMOVED SENSITIVE VALUE",
"secret": "_REMOVED SENSITIVE VALUE
",
"trusted_domains": [
"_REMOVED SENSITIVE VALUE",
"_REMOVED SENSITIVE VALUE
",
],
"datadirectory": "/mnt/sda1/www/"_REMOVED SENSITIVE VALUE"/nextcloud/data",
"overwrite.cli.url": "https://nextcloud."_REMOVED SENSITIVE VALUE
"",
"dbtype": "mysql",
"version": "9.1.1.5",
"dbname": "nextcloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "_REMOVED SENSITIVE VALUE",
"dbpassword": "_REMOVED SENSITIVE VALUE
",
"installed": true,
"mail_smtpmode": "smtp",
"mail_from_address": "nextcloud",
"mail_domain": "_REMOVED SENSITIVE VALUE",
"mail_smtphost": "localhost",
"mail_smtpport": "25",
"mail_smtpauth": 1,
"mail_smtpname": "_REMOVED SENSITIVE VALUE
",
"mail_smtppassword": "_REMOVED SENSITIVE VALUE",
"default_language": "de",
"defaultapp": "files",
"knowledgebaseenabled": false,
"enable_avatars": true,
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.local": "\OC\Memcache\APCu",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "localhost",
"port": 6379
},
"trashbin_retention_obligation": "7,14",
"versions_retention_obligation": "7,14",
"logfile": "/var/log/nextcloud.log",
"log_type": "owncloud",
"loglevel": 0,
"logdateformat": "Y-m-d H:i:s",
"logtimezone": "Europe/Berlin",
"appstoreenabled": true,
"appstoreurl": "https://api.owncloud.com/v1",
"appstore.experimental.enabled": false,
"maintenance": false,
"tempdirectory": "/tmp",
"theme": ""
},
"apps": {
"activity": {
"enabled": "yes",
"installed_version": "2.3.2",
"types": "filesystem"
},
"admin_audit": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "logging"
},
"backgroundjob": {
"lastjob": "26"
},
"calendar": {
"enabled": "yes",
"installed_version": "1.4.0",
"ocsid": "168707",
"types": ""
},
"comments": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "logging"
},
"contacts": {
"enabled": "yes",
"installed_version": "1.4.0.0",
"ocsid": "168708",
"types": ""
},
"core": {
"backgroundjobs_mode": "cron",
"installedat": "1468161955.1044",
"lastcron": "1476261443",
"lastupdateResult": "[]",
"lastupdatedat": "1476261460",
"oc.integritycheck.checker": "[]",
"public_documents": "documents/public.php",
"public_files": "files_sharing/public.php",
"public_webdav": "dav/appinfo/v1/publicwebdav.php",
"remote_caldav": "dav/appinfo/v1/caldav.php",
"remote_calendar": "dav/appinfo/v1/caldav.php",
"remote_carddav": "dav/appinfo/v1/carddav.php",
"remote_contacts": "dav/appinfo/v1/carddav.php",
"remote_dav": "dav/appinfo/v2/remote.php",
"remote_files": "dav/appinfo/v1/webdav.php",
"remote_webdav": "dav/appinfo/v1/webdav.php",
"repairlegacystoragesdone": "yes",
"shareapi_allow_mail_notification": "yes",
"shareapi_allow_public_notification": "yes",
"shareapi_allow_resharing": "no",
"shareapi_default_expire_date": "yes",
"shareapi_expire_after_n_days": "14",
"shareapi_only_share_with_group_members": "yes",
"umgmt_send_email": "true",
"umgmt_show_email": "true",
"umgmt_show_last_login": "true",
"vendor": "nextcloud"
},
"dav": {
"enabled": "yes",
"installed_version": "1.0.1",
"types": "filesystem"
},
"documents": {
"converter": "local",
"enabled": "yes",
"installed_version": "0.13.1",
"ocsid": "168711",
"types": ""
},
"federatedfilesharing": {
"enabled": "yes",
"installed_version": "1.0.1",
"types": ""
},
"federation": {
"enabled": "yes",
"installed_version": "1.0.1",
"types": "authentication"
},
"files": {
"cronjob_scan_files": "500",
"default_quota": "1 GB",
"enabled": "yes",
"installed_version": "1.5.2",
"types": "filesystem"
},
"files_automatedtagging": {
"enabled": "no",
"installed_version": "1.1.1",
"types": "filesystem"
},
"files_external": {
"allow_user_mounting": "yes",
"enabled": "yes",
"installed_version": "1.0.2",
"ocsid": "166048",
"types": "filesystem",
"user_mounting_backends": "owncloud,dropbox,googledrive,swift"
},
"files_pdfviewer": {
"enabled": "yes",
"installed_version": "0.8.1",
"ocsid": "166049",
"types": ""
},
"files_sharing": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "filesystem"
},
"files_texteditor": {
"enabled": "yes",
"installed_version": "2.1",
"ocsid": "166051",
"types": ""
},
"files_trashbin": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "filesystem"
},
"files_versions": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "filesystem"
},
"files_videoplayer": {
"enabled": "yes",
"installed_version": "0.9.8",
"types": ""
},
"firstrunwizard": {
"enabled": "yes",
"installed_version": "1.1",
"ocsid": "166055",
"types": ""
},
"gallery": {
"enabled": "yes",
"installed_version": "15.0.0",
"types": ""
},
"notifications": {
"enabled": "yes",
"installed_version": "0.3.0",
"types": "logging"
},
"password_policy": {
"enabled": "yes",
"enforceNumericCharacters": "1",
"enforceSpecialCharacters": "1",
"enforceUpperLowerCase": "1",
"installed_version": "1.0.0",
"minLength": "8",
"types": ""
},
"provisioning_api": {
"enabled": "yes",
"installed_version": "1.0.0",
"types": "prevent_group_restriction"
},
"serverinfo": {
"enabled": "yes",
"installed_version": "1.1.1",
"types": ""
},
"survey_client": {
"enabled": "yes",
"installed_version": "0.1.5",
"types": ""
},
"systemtags": {
"enabled": "yes",
"installed_version": "1.0.2",
"types": "logging"
},
"tasks": {
"enabled": "yes",
"installed_version": "0.9.3",
"ocsid": "164356",
"types": ""
},
"templateeditor": {
"enabled": "yes",
"installed_version": "0.1",
"types": ""
},
"theming": {
"cachebuster": "22",
"color": "#575757",
"enabled": "yes",
"installed_version": "1.0.1",
"name": "Nextcloud - Cryptic Systems",
"slogan": "the encrypted cloud",
"types": "logging",
"url": "https://nextcloud._REMOVED SENSITIVE VALUE
"
},
"updatenotification": {
"calendar": "1.4.0",
"enabled": "yes",
"installed_version": "1.0.1",
"types": ""
},
"workflowengine": {
"enabled": "yes",
"installed_version": "1.0.1",
"types": "filesystem"
}
}
}

### Client configuration

Browser:
Firefox 48

Operating system:
Linux Mint 18

Logs

Web server error log

Web server error log

{"reqId":"m6JfhQE9+8Fi9Hg0WO2P","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:29:59","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"3QNLP/3SXKYuXxYJ+fL0","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:30:20","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"18kZAwIt+6/guk5enYNc","remoteAddr":"95.91.221.14","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 412 An If-Match header was specified and the resource did not exist","Exception":"Sabre\DAV\Exception\PreconditionFailed","Code":0,"Trace":"#0 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(454): Sabre\DAV\Server->checkPreconditions(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/lib\/Server.php(184): Sabre\DAV\Server->exec()\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php(30): OCA\DAV\Server->exec()\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#5 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","Line":1239,"User":"PRIVATE"}","level":0,"time":"2016-10-12 10:30:36","method":"PUT","url":"/remote.php/dav/addressbooks/users/PRIVATE/Dorfjugend/C725A240-7BF0-0001-6F56-17A0133041D0.vcf","user":"PRIVATE"}
{"reqId":"7zM20H8J+LxHKSHp8DGK","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:31:30","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"gmRq4PRJmsPD8q596x1z","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:31:38","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"f69Oro6NeW0vkDiqZJOt","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:31:45","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"OmlKsgHyItAjJdMLMSJH","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:31:48","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"/ufnjypZcvyv2IjXd7JG","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:31:52","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"4750u7GUW3waNq/0oz8o","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:32:58","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"S802G8Rhq373k/49PK07","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:33:15","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"W/jtvKs1QleJ+UBP+8FL","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:33:58","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"eaNxjN04imGrFAmfCUIT","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:34:18","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"cli","message":"Memcache \OC\Memcache\APCu not available for local cache","level":1,"time":"2016-10-12 10:34:59","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"cron","message":"Run OCA\Files_Trashbin\BackgroundJob\ExpireTrash job with ID 1","level":0,"time":"2016-10-12 10:34:59","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"cron","message":"Finished OCA\Files_Trashbin\BackgroundJob\ExpireTrash job with ID 1","level":0,"time":"2016-10-12 10:35:00","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"cron","message":"Run OCA\Activity\BackgroundJob\EmailNotification job with ID 2","level":0,"time":"2016-10-12 10:35:00","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"core","message":"Sent mail to "Array\n(\n [PRIVATE@web.de] => Jean Gabriel Tarnaud\n)\n" with subject "Benachrichtigung \u00fcber die Aktivit\u00e4ten"","level":0,"time":"2016-10-12 10:35:02","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"core","message":"Sent mail to "Array\n(\n [PRIVATE@web.de] => Jannik Watermann\n)\n" with subject "Benachrichtigung \u00fcber die Aktivit\u00e4ten"","level":0,"time":"2016-10-12 10:35:03","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"core","message":"Sent mail to "Array\n(\n [PRIVATE@hochschule-trier.de] => Fabian Lemp\n)\n" with subject "Benachrichtigung \u00fcber die Aktivit\u00e4ten"","level":0,"time":"2016-10-12 10:35:03","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"core","message":"Sent mail to "Array\n(\n [PRIVATE+apps@crXXXXX.sXXXXXs] => Markus Pesch\n)\n" with subject "Benachrichtigung \u00fcber die Aktivit\u00e4ten"","level":0,"time":"2016-10-12 10:35:03","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"core","message":"Sent mail to "Array\n(\n [PRIVATE@gmail.com] => Sebastian Benzschawel\n)\n" with subject "Benachrichtigung \u00fcber die Aktivit\u00e4ten"","level":0,"time":"2016-10-12 10:35:03","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"core","message":"Error while running background job (class: OCA\Activity\BackgroundJob\EmailNotification, arguments: ): {"Exception":"Swift_TransportException","Message":"Connection to localhost:25 Timed Out","Code":0,"Trace":"#0 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/swiftmailer\/swiftmailer\/lib\/classes\/Swift\/Transport\/AbstractSmtpTransport.php(277): Swift_Transport_AbstractSmtpTransport->_getFullResponse(62)\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/swiftmailer\/swiftmailer\/lib\/classes\/Swift\/Transport\/EsmtpTransport.php(243): Swift_Transport_AbstractSmtpTransport->executeCommand('\r\n.\r\n', Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/swiftmailer\/swiftmailer\/lib\/classes\/Swift\/Transport\/AbstractSmtpTransport.php(333): Swift_Transport_EsmtpTransport->executeCommand('\r\n.\r\n', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/swiftmailer\/swiftmailer\/lib\/classes\/Swift\/Transport\/AbstractSmtpTransport.php(428): Swift_Transport_AbstractSmtpTransport->_streamMessage(Object(Swift_Message))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/swiftmailer\/swiftmailer\/lib\/classes\/Swift\/Transport\/AbstractSmtpTransport.php(444): Swift_Transport_AbstractSmtpTransport->_doMailTransaction(Object(Swift_Message), 'nextcloud@crypt...', Array, Array)\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/swiftmailer\/swiftmailer\/lib\/classes\/Swift\/Transport\/AbstractSmtpTransport.php(176): Swift_Transport_AbstractSmtpTransport->_sendTo(Object(Swift_Message), 'nextcloud@crypt...', Array, Array)\n#6 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/lib\/private\/Mail\/Mailer.php(106): Swift_Transport_AbstractSmtpTransport->send(Object(Swift_Message), Array)\n#7 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/activity\/lib\/MailQueueHandler.php(266): OC\Mail\Mailer->send(Object(OC\Mail\Message))\n#8 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/activity\/lib\/BackgroundJob\/EmailNotification.php(135): OCA\Activity\MailQueueHandler->sendEmailToUser('sascha-timo.abr...', 'saschaabraham96...', 'de', 'UTC', 1476261299)\n#9 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/activity\/lib\/BackgroundJob\/EmailNotification.php(95): OCA\Activity\BackgroundJob\EmailNotification->runStep(500, 1476261299)\n#10 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/lib\/private\/BackgroundJob\/Job.php(53): OCA\Activity\BackgroundJob\EmailNotification->run(NULL)\n#11 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/lib\/private\/BackgroundJob\/TimedJob.php(54): OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log))\n#12 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/cron.php(121): OC\BackgroundJob\TimedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log))\n#13 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/swiftmailer\/swiftmailer\/lib\/classes\/Swift\/Transport\/AbstractSmtpTransport.php","Line":404}","level":3,"time":"2016-10-12 10:35:13","method":"--","url":"--","user":"--"}
{"reqId":"tk5pKbXUyoRjUYeXTHxE","remoteAddr":"","app":"cron","message":"Finished OCA\Activity\BackgroundJob\EmailNotification job with ID 2","level":0,"time":"2016-10-12 10:35:18","method":"--","url":"--","user":"--"}
{"reqId":"exHW6ApSs4Z90eS6Toxy","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured","Exception":"Sabre\DAV\Exception\NotAuthenticated","Code":0,"Trace":"#0 [internal function]: Sabre\DAV\Auth\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(446): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\DAV\Server->exec()\n#5 \/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/remote.php(165): require_once('\/mnt\/sda1\/www\/c...')\n#6 {main}","File":"\/mnt\/sda1\/www\/crXXXXX.sXXXXXs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":188,"User":false}","level":0,"time":"2016-10-12 10:35:29","method":"PROPFIND","url":"/remote.php/webdav/","user":"--"}

@nickvergessen
Copy link
Member

Well the problem is, that it fails to send all mails:

Error while running background job (class: OCA\Activity\BackgroundJob\EmailNotification, arguments:
Exception: Swift_TransportException
Message: Connection to localhost:25 Timed Out

Seems like your mail server is dying while sending. I can post you a workaround in some minutes, so it stops the duplication, but you should have a look at the timeout issue.

@nickvergessen
Copy link
Member

Can you test https://github.com/nextcloud/activity/pull/52/files please?

@nickvergessen
Copy link
Member

Also when you say the email comes every 30 minutes, please note that the cron job should be executed at least every 15 minutes: https://docs.nextcloud.com/server/10/admin_manual/configuration_server/background_jobs_configuration.html#cron

@volker-raschek
Copy link
Author

Hey,
yes the cron job start every 15 minutes, but I received the Mail every 30 minutes.

I don't know how I can change the files with git but I changed the files manually.

I started the cron job via sudo -u www-data php -f cron.php and received an email notification with the same content. I do it in 30 minutes again to test if I received the notification again.

During the cron job send the notification I get this message in the Logfiles from Postfix.

Oct 12 12:58:36 srv1 postfix/smtpd[9238]: lost connection after DATA (206 bytes) from localhost[127.0.0.1]
Oct 12 12:58:36 srv1 postfix/smtpd[9238]: disconnect from localhost[127.0.0.1]

Volker

@volker-raschek
Copy link
Author

Hey,
here are the new logs. I get the email again but now all users.

{"reqId":"vZDI\/XpBG9bqmw3KZhwO","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/remote.php(165): require_once('\\\/mnt\\\/sda1\\\/www\\\/c...')\\n#6 {main}\",\"File\":\"\\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":false}","level":0,"time":"2016-10-12 13:21:30","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"--"}
{"reqId":"9WggKeO7I8zrpRkaQE\/E","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/remote.php(165): require_once('\\\/mnt\\\/sda1\\\/www\\\/c...')\\n#6 {main}\",\"File\":\"\\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":false}","level":0,"time":"2016-10-12 13:21:48","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cli","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","level":1,"time":"2016-10-12 13:22:15","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\DAV\\CardDAV\\SyncJob job with ID 8","level":0,"time":"2016-10-12 13:22:22","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\DAV\\CardDAV\\SyncJob job with ID 8","level":0,"time":"2016-10-12 13:22:22","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\Files\\BackgroundJob\\ScanFiles job with ID 9","level":0,"time":"2016-10-12 13:22:38","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Files\\BackgroundJob\\ScanFiles job with ID 9","level":0,"time":"2016-10-12 13:22:44","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\Activity\\BackgroundJob\\ExpireActivities job with ID 3","level":0,"time":"2016-10-12 13:22:44","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Activity\\BackgroundJob\\ExpireActivities job with ID 3","level":0,"time":"2016-10-12 13:22:44","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\Federation\\SyncJob job with ID 4","level":0,"time":"2016-10-12 13:22:44","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Federation\\SyncJob job with ID 4","level":0,"time":"2016-10-12 13:22:44","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\Files_Versions\\BackgroundJob\\ExpireVersions job with ID 7","level":0,"time":"2016-10-12 13:22:45","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Files_Versions\\BackgroundJob\\ExpireVersions job with ID 7","level":0,"time":"2016-10-12 13:22:45","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash job with ID 1","level":0,"time":"2016-10-12 13:22:45","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash job with ID 1","level":0,"time":"2016-10-12 13:22:45","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\Files\\BackgroundJob\\DeleteOrphanedItems job with ID 10","level":0,"time":"2016-10-12 13:22:45","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Files\\BackgroundJob\\DeleteOrphanedItems job with ID 10","level":0,"time":"2016-10-12 13:22:45","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\Activity\\BackgroundJob\\EmailNotification job with ID 2","level":0,"time":"2016-10-12 13:22:45","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"core","message":"Sent mail to \"Array\n(\n    [*PRIVATE*@web.de] => Jean-Gabriel Tarnaud\n)\n\" with subject \"Benachrichtigung \u00fcber die Aktivit\u00e4ten\"","level":0,"time":"2016-10-12 13:22:45","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"core","message":"Sent mail to \"Array\n(\n    [*PRIVATE*@web.de] => Jannik Watermann\n)\n\" with subject \"Benachrichtigung \u00fcber die Aktivit\u00e4ten\"","level":0,"time":"2016-10-12 13:22:46","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"core","message":"Sent mail to \"Array\n(\n    [*PRIVATE*+apps@*PRIVATE*] => Markus Pesch\n)\n\" with subject \"Benachrichtigung \u00fcber die Aktivit\u00e4ten\"","level":0,"time":"2016-10-12 13:22:46","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"core","message":"Sent mail to \"Array\n(\n    [*PRIVATE*@yahoo.de] => Marco-Miguel Kiesel\n)\n\" with subject \"Benachrichtigung \u00fcber die Aktivit\u00e4ten\"","level":0,"time":"2016-10-12 13:22:46","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"core","message":"Sent mail to \"Array\n(\n    [*PRIVATE*@gmail.com] => Sebastian Benzschawel\n)\n\" with subject \"Benachrichtigung \u00fcber die Aktivit\u00e4ten\"","level":0,"time":"2016-10-12 13:22:46","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"activity","message":"Failed sending activity mail to user 'sascha-timo.abraham'.","level":0,"time":"2016-10-12 13:23:03","method":"--","url":"--","user":"--"}
{"reqId":"OPG0ZdvHOXTwAhKRuqgr","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/remote.php(165): require_once('\\\/mnt\\\/sda1\\\/www\\\/c...')\\n#6 {main}\",\"File\":\"\\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":false}","level":0,"time":"2016-10-12 13:23:03","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Files\\BackgroundJob\\CleanupFileLocks job with ID 11","level":0,"time":"2016-10-12 13:24:17","method":"--","url":"--","user":"--"}
{"reqId":"DT+441+ku0565uIRBR4W","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/remote.php(165): require_once('\\\/mnt\\\/sda1\\\/www\\\/c...')\\n#6 {main}\",\"File\":\"\\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":false}","level":0,"time":"2016-10-12 13:24:29","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"no app in context","message":"Invalidating tokens older than 2016-10-11T11:24:35+00:00","level":1,"time":"2016-10-12 13:24:35","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OC\\Authentication\\Token\\DefaultTokenCleanupJob job with ID 20","level":0,"time":"2016-10-12 13:24:36","method":"--","url":"--","user":"--"}
{"reqId":"sDCRZdfvD6XpQ75RLU68","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/remote.php(165): require_once('\\\/mnt\\\/sda1\\\/www\\\/c...')\\n#6 {main}\",\"File\":\"\\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":false}","level":0,"time":"2016-10-12 13:24:36","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"DeleteOrphanedSharesJob","message":"0 orphaned share(s) deleted","level":0,"time":"2016-10-12 13:25:10","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Files_Sharing\\DeleteOrphanedSharesJob job with ID 25","level":0,"time":"2016-10-12 13:25:10","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Run OCA\\Files_Sharing\\ExpireSharesJob job with ID 26","level":0,"time":"2016-10-12 13:25:10","method":"--","url":"--","user":"--"}
{"reqId":"uG4Pv8jKcZaOgA0mQq5d","remoteAddr":"","app":"cron","message":"Finished OCA\\Files_Sharing\\ExpireSharesJob job with ID 26","level":0,"time":"2016-10-12 13:25:10","method":"--","url":"--","user":"--"}
{"reqId":"MU\/W\/c4SDeelT\/p4frOr","remoteAddr":"46.38.242.163","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is mis-configured\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/remote.php(165): require_once('\\\/mnt\\\/sda1\\\/www\\\/c...')\\n#6 {main}\",\"File\":\"\\\/mnt\\\/sda1\\\/www\\\/*PRIVATE*\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":188,\"User\":false}","level":0,"time":"2016-10-12 13:25:29","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"--"}

@nickvergessen
Copy link
Member

are all the "old" entries of people that got a mail still in the activity_mq database table?

@volker-raschek
Copy link
Author

I have started the cron job for 10 minutes again and I don't received an notification email.
The table activity_mq is empty.

Is now the problem solved or I must check my mail server to solve the problem?

Volker

@nickvergessen
Copy link
Member

No,seems all good then, thanks for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants