Nextcloud Notifications not sending mail on file creation

I can only confirm the problem. Since upgrading to NC30, there is neither a push notification nor an email for new shared files.

Currently I am also on 30.0.5. The affected clouds run under docker on arm64 and VMware on x86_64.

Could it be that some required libs or packages changed since NC30?

OR

What happens if a file upload is interrupted by a server restart or something else? Could this lead to a database error? If I start occ files:scan --all after some time there are always some files updated. I have to mention that there are mounted some external shares via cifs to the Nextcloud.

The bug still persists under 30.0.6.

Here is a workaround until the bug is fixed:

The checkbox “Send daily activity in the morning” at “notifications” continues to generate a mail that also indicates newly uploaded files. Without activity, no daily mails are generated.

Users can activate this option themselves. As an administrator, the option for USERNAME must be activated using:

occ user:setting USERNAME activity notify_setting_activity_digest 1

After all, being notified of new files once a day is better than never.

Thank you for this workaround. I know this feature already but I never thought about activating it. I will give it a try.

Quick and dirty automated solution for over 100 users is a bash script (here in Debian Linux):

for i in $(ls /NC-DATA-PATH); do
 sudo -u www-data php /var/www/nextcloud/occ user:setting ${i} activity notify_setting_activity_digest 1
done

It will throw some errors for the files which aren’t user paths but that’s ok. If you know an easier way let me know. Hopefully there will be a fix for the issue soon.

Until now I had very much hoped the bug would be fixed in the new version NC31. Unfortunately, that hope was in vain:

Even 31.0.0 still does not send notifications about newly created or newly uploaded files.

I’ve learnt something: a bug discussed here doesn’t necessarily reach the right recipient promptly.
Now I hope for an update of the activity app soon.

Hopefully the upcoming versions of NC29/30/31 will include the fix.

It’s working now on 31.0.3, as it should on 30.0.9 too. Thank you for fixing!

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.