Email Notifications about my own actions not working , share notifications works!

  1. Activity settings all are check https://ibb.co/Wnkd9w9
  2. Cron job works every minute.
  3. my own activity is present on Activity ( create file , modify file …)
  • Receive Email test : ok !
  • Receive Email change password,: ok !
  • Receive Email share file was dowloaded : ok !
  • Receive Email day : ok but only share file downloaded.

Expected behaviour

When i do an action on my files , nothing on database activity_mq ? ??

Actual behaviour

can you help me ?

Server configuration detail

Operating system: Linux 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64

Webserver: Apache (fpm-fcgi)

Database: pgsql PostgreSQL 10.15 (Ubuntu 10.15-0ubuntu0.18.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bit

PHP version:

7.4.13
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, cgi-fcgi, apcu, igbinary, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, json, ldap, exif, mysqli, pdo_mysql, pdo_pgsql, pgsql, apc, posix, readline, redis, shmop, SimpleXML, smbclient, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Phar, libsmbclient, Zend OPcache

Nextcloud version: 20.0.3 - 20.0.3.2

Updated from an older Nextcloud/ownCloud or fresh install: 20.0.2

Where did you install Nextcloud from: unknown

Signing statusList of activated appsConfiguration (config/config.php)

Are you using external storage, if yes which one: NO

**Are you using encryption: NO **

Are you using an external user-backend, if yes which one: NO

Client configuration

Browser: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Operating system: UBUNTU 20.04

Logs

Web server error log

no error on apache2

Nextcloud log

no error log 

SYS logDec 10 16:15:01 nextcloud CRON[71803]: (root) CMD (which zfs-auto-snapshot > /dev/null || exit 0 ; zfs-auto-snapshot --quiet --syslog --label=frequent --keep=4 //) Dec 10 16:15:01 nextcloud CRON[71809]: (www-data) CMD (php -f /var/www/nextcloud/occ activity:send-mails > /dev/null 2>&1) Dec 10 16:15:01 nextcloud CRON[71810]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Dec 10 16:15:01 nextcloud CRON[71808]: (www-data) CMD (php -f /var/www/nextcloud/cron.php > /dev/null 2>&1) Dec 10 16:15:01 nextcloud zed: eid=57 class=history_event pool_guid=0x8096452B6AEF7F26 Dec 10 16:15:01 nextcloud zfs-auto-snap: @zfs-auto-snap_frequent-2020-12-10-1515, 1 created, 1 destroyed, 0 warnings. Dec 10 16:15:01 nextcloud zed: eid=58 class=history_event pool_guid=0x8096452B6AEF7F26 Dec 10 16:15:01 nextcloud zed: eid=59 class=history_event pool_guid=0x8096452B6AEF7F26 Dec 10 16:16:01 nextcloud CRON[72099]: (www-data) CMD (php -f /var/www/nextcloud/occ activity:send-mails > /dev/null 2>&1) Dec 10 16:17:01 nextcloud CRON[72220]: (www-data) CMD (php -f /var/www/nextcloud/occ activity:send-mails > /dev/null 2>&1) Dec 10 16:17:01 nextcloud CRON[72221]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Dec 10 16:17:01 nextcloud zed: eid=60 class=history_event pool_guid=0x8096452B6AEF7F26 Dec 10 16:17:01 nextcloud zed: eid=61 class=history_event pool_guid=0x8096452B6AEF7F26 Dec 10 16:17:01 nextcloud zed: eid=62 class=history_event pool_guid=0x8096452B6AEF7F26 Dec 10 16:17:01 nextcloud zfs-auto-snap: @zfs-auto-snap_hourly-2020-12-10-1517, 1 created, 1 destroyed, 0 warnings. Dec 10 16:18:01 nextcloud CRON[72477]: (www-data) CMD (php -f /var/www/nextcloud/occ activity:send-mails > /dev/null 2>&1) Dec 10 16:19:01 nextcloud CRON[72590]: (www-data) CMD (php -f /var/www/nextcloud/occ activity:send-mails > /dev/null 2>&1) Dec 10 16:20:01 nextcloud CRON[72940]: (www-data) CMD (php -f /var/www/nextcloud/cron.php > /dev/null 2>&1) Dec 10 16:20:01 nextcloud CRON[72942]: (www-data) CMD (php -f /var/www/nextcloud/occ activity:send-mails > /dev/null 2>&1) Dec 10 16:21:01 nextcloud CRON[73052]: (www-data) CMD (php -f /var/www/nextcloud/occ activity:send-mails > /dev/null 2>&1)

I am experiencing the same behavior. I get share notifications (added/removed) but nothing when files are added to, or removed from a favorite folder.

Nextcloud 20.0.4

I am experiencing same issue. The option to enable activity notification about my own action is gone from UI. Is this a feature? I could not find it in a release notes.

Nextcloud 20.0.4

I have the same issue on 2 Nextcloud servers.
Ubuntu 18.04 / PHP 7.2 / Nextcloud 20.0.7.1
Ubuntu 20.04 / PHP 7.4 / Nextcloud 20.0.7.1 (fresh install for testing)

Cron job works every 5 minutes:
*/5 * * * * php -f /var/www/nextcloud/occ activity:send-mails

The E-mail notifications for changed files/folders worked fine until Nextcloud 19.

Can you please solve this issue?

I have the same problem.
I’ve tried php -f /var/www/nextcloud/occ activity:send-mails but it never works

What’s the solution?

Same issue here,

Operating system: CentOS Linux release 8.2.2004 (Core)

Web server:
nginx/1.14.1

Server version: Apache/2.4.37 (centos)
Server built: Sep 15 2020 15:41:16

Database: MariaDB Ver 15.1 Distrib 10.3.17-MariaDB, for Linux (x86_64) using readline 5.1

PHP version: 7.4.13

Nextcloud version: 20.0.11 no Docker

sudo -u nginx php -f /var/www/nextcloud/occ app:list
Enabled:

accessibility: 1.6.0
activity: 2.13.4
admin_audit: 1.10.0
apporder: 0.13.0
bruteforcesettings: 2.2.0
calendar: 2.3.3
circles: 0.20.11
cloud_federation_api: 1.3.0
comments: 1.10.0
contactsinteraction: 1.1.0
customproperties: 2.0.4
dav: 1.16.2
deck: 1.2.8
event_update_notification: 1.3.0
external: 3.7.3
extract: 1.3.2
federatedfilesharing: 1.10.2
federation: 1.10.1
files: 1.15.0
files_accesscontrol: 1.10.2
files_antivirus: 3.2.1
files_automatedtagging: 1.10.1
files_downloadactivity: 1.9.0
files_external: 1.11.1
files_markdown: 2.3.4
files_pdfviewer: 2.0.1
files_rightclick: 0.17.0
files_sharing: 1.12.2
files_trackdownloads: 1.9.0
files_trashbin: 1.10.1
files_versions: 1.13.0
files_videoplayer: 1.9.0
firstrunwizard: 2.9.0
forms: 2.3.0
geoblocker: 0.5.1
group_everyone: 0.1.8
guests: 1.6.3
impersonate: 1.7.0
ldap_contacts_backend: 1.0.1
logreader: 2.5.0
lookup_server_connector: 1.8.0
metadata: 0.14.0
nextcloud_announcements: 1.9.0
notes: 4.1.1
notifications: 2.8.0
oauth2: 1.8.0
onlyoffice: 7.1.2
password_policy: 1.10.1
privacy: 1.4.0
provisioning_api: 1.10.0
qownnotesapi: 21.7.0
quickaccesssorting: 1.1.2
ransomware_protection: 1.11.0
serverinfo: 1.10.0
settings: 1.2.0
sharebymail: 1.10.0
side_menu: 1.27.2
support: 1.3.0
survey_client: 1.8.0
suspicious_login: 3.2.1
systemtags: 1.10.0
tasks: 0.14.2
text: 3.1.0
theming: 1.11.0
twofactor_backupcodes: 1.9.0
updatenotification: 1.10.0
user_ldap: 1.10.2
user_saml: 3.3.5
user_status: 1.0.1
user_usage_report: 1.4.2
viewer: 1.4.0
workflowengine: 2.2.0
Disabled:
dashboard
encryption
photos
recommendations
weather_status

MTA agent: postfix-3.5.8-1.el8

nextcloud/config/config.php

<?php $CONFIG = array ( 'debug' => false, 'instanceid' => , 'passwordsalt' => , 'secret' => , 'skeletondirectory' => '', 'templatedirectory' => '', 'trusted_domains' => array ( 0 => , 1 => , 2 => , 3 => , 4 => , ), 'datadirectory' => '/var/www/nextcloud/data', 'overwritewebroot' => '/', 'htaccess.RewriteBase' => '/', 'dbtype' => 'mysql', 'version' => '20.0.11.1', 'trusted_proxies' => array ( 0 => , ), 'overwrite.cli.url' => , 'overwritehost' => , 'dbname' => 'nextcloud', 'dbhost' => 'localhost:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => , 'dbpassword' => , 'installed' => true, 'ldapIgnoreNamingRules' => false, 'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory', 'memcache.local' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '127.0.0.1', 'port' => 6379, 'dbindex' => 0, 'timeout' => 5, ), 'mail_smtpmode' => 'sendmail', 'mail_smtphost' => , 'mail_sendmailmode' => 'pipe', 'mail_smtpport' => '25', 'mail_from_address' => ', 'mail_domain' => , 'maintenance' => false, 'loglevel' => 2, 'theme' => '', 'auth.bruteforce.protection.enabled' => true, 'updater.secret' => , ); Thanks in advance