nextcloud / nextcloud/activity
Document activity mails are not working anymore
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 145
- Forks
- 72
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 42
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Create a shared folder
- Mark all checkboxes for mail notification for Activities in the Notification settings and choose send mail as soon as possible
- Add document with different user account
Expected behaviour
When a file is uploaded, created or deleted a mail should be sent to notify users. The problem seems to exist since I updated to Nextcloud 30.
I have marked all checkboxes for mail in the Notification settings for the user and set send mail as soon as possible, but no notification mails are sent. Email settings are correct, as send_testmail is working fine as well as mails are sent to new created users. When a user is added to a new group, the notification mail is also working. It seems the problem is only related to document activities.
Actual behaviour
Mail for document activities are not sent
Server configuration
Web server: Apache 2.4.62 on Debian
Database: MariaDB 10.11.6
PHP version: 8.2
Nextcloud version: 30.0.1 and 30.0.2
List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
- activity: 3.0.0
- admin_audit: 1.20.0
- bruteforcesettings: 3.0.0
- checksum: 1.2.5
- cloud_federation_api: 1.13.0
- contactsinteraction: 1.11.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_antivirus: 5.6.0
- files_downloadactivity: 1.17.0
- files_downloadlimit: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- nextcloud_announcements: 2.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- privacy: 2.0.0
- provisioning_api: 1.20.0
- related_resources: 1.5.0
- serverinfo: 2.0.0
- settings: 1.13.0
- theming: 2.5.0
- twofactor_backupcodes: 1.19.0
- updatenotification: 1.20.0
- user_ldap: 1.21.0
- viewer: 3.0.0
- workflowengine: 2.12.0
Nextcloud configuration
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"trashbin_retention_obligation": "auto, 2",
"overwrite.cli.url": "https:\/\/cloud.example.com\/",
"dbtype": "mysql",
"version": "30.0.2.2",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"mail_smtpmode": "sendmail",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"enable_previews": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"maintenance": false,
"theme": "",
"loglevel": 0,
"log_type": "file",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"logdateformat": "F d, Y H:i:s",
"updater.release.channel": "stable",
"default_language": "de_DE",
"default_locale": "de",
"knowledgebaseenabled": false,
"skeletondirectory": "",
"appstoreenabled": true,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"encryption.legacy_format_support": false,
"encryption.key_storage_migrated": false,
"activity_use_cached_mountpoints": false,
"default_phone_region": "AT",
"maintenance_window_start": 1,
"mail_sendmailmode": "smtp",
"app_install_overwrite": [
"files_downloadactivity"
],
"filelocking.enabled": false
}
}
Browser
Browser name: Firefox
Browser version: 128.2.0esr
Operating system: Mac
Browser log
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the listed shared-folder steps on Nextcloud 30.0.1 or 30.0.2, using the activity app 3.0.0 and immediate mail delivery. Compare document activity notifications with the working send_testmail, user-creation, and group-membership mails. Done means mails are sent for file upload, creation, and deletion when the corresponding activity settings are enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100