Nextcloud version (eg, 20.0.5): 20.0.8.1
Operating system and version (eg, Ubuntu 20.04): CentOS 7.9 /w cPanel
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.46
PHP version (eg, 7.4): 7.4
The issue you are facing: A customer was advised by NextCloud that the activity log would be sent to them if they check the boxed for mail in the activity section and then create some sort of activity on the file or folder. At this point, while the customer is able to receive notifications to the receivers of shares and the emails test correctly using SMTP, no other messages are being sent by nextcloud
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
Customer has all items checked in activity log and is set as admin for their group.
Customer creates a new text file, makes it a favorite and shares it.
Receiving address receives the notification of share and randomly set password.
Receiving downloads the file, starts a chat, leaves a comment.
No message of any of the above is received by the customer.
Customer uploads a new file.
No notification is received.
Checking email logs, only messages sent are from the share of the file, no notifications are sent.
Using OCC web, initiate the activity:send-mails command. No messages are sent.
Checked Crons and they are set as follows:
0,,,, /usr/local/bin/php -f /home/thathost/public_html/occ activity:send-mails hourly
30,7,,,* /usr/local/bin/php -f /home/thathost/public_html/occ activity:send-mails daily
30,7,,,1 /usr/local/bin/php -f /home/thathost/public_html/occ activity:send-mails weekly
The output of your Nextcloud log in Admin > Logging:
no error messages
The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
<?php $CONFIG = array ( 'instanceid' => 'Hidden', 'passwordsalt' => 'Hidden', 'secret' => 'Hidden', 'trusted_domains' => array ( 0 => 'domain.com', ), 'datadirectory' => '/hidden/', 'dbtype' => 'mysql', 'version' => '20.0.8.1', 'overwrite.cli.url' => 'https://domain.com', 'dbname' => 'user_Next62113', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'user_Next91345', 'dbpassword' => 'password', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_sendmailmode' => 'sendmail', 'mail_from_address' => 'server', 'mail_domain' => 'domain.com', 'forcessl' => true, 'forceSSLforSubdomains' => true, 'theme' => '', 'loglevel' => 0, 'maintenance' => false, 'updater.secret' => 'nope', 'mail_smtpauth' => 1, 'mail_smtpauthtype' => 'LOGIN', 'mail_smtphost' => 'mail.domain.com', 'mail_smtpsecure' => 'ssl', 'mail_smtpport' => '465', 'mail_smtpname' => 'server@domain.com', 'mail_smtppassword' => 'password', 'filelocking.enabled' => true, 'updater.release.channel' => 'stable', 'app_install_overwrite' => array ( 0 => 'occweb', 1 => 'activitylog', ), ); The output of your Apache/nginx/system log in /var/log/____: 24.71.172.26 - - [25/Feb/2021:07:02:26 -0500] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 244 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36" 24.71.172.26 - - [25/Feb/2021:07:02:32 -0500] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 244 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36" 24.71.172.26 - - [25/Feb/2021:07:02:38 -0500] "GET /index.php/csrftoken HTTP/1.1" 200 122 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36" 24.71.172.26 - - [25/Feb/2021:07:02:38 -0500] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 244 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36" 24.71.172.26 - - [25/Feb/2021:07:02:38 -0500] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"