-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: versions 30.0.2 and earlier do not send an email notification when a file is uploaded or deleted, only if renamed #49133
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Alright folks, sorry for the trouble and thanks for pinging again. Just to clarify, we're talking about this, correct? (don't respond, use reactions pls 👍 👎 )
|
We could observe this bug on any shared folder, regardless if it was shared by mail or shared to another nextcloud user. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Enabling these options solved it for me. Is this option new? |
Since Nextcloud 30. |
Neither push nor mail was enabled for me. |
Fix in #49688 |
the problem is that after uploading the same file if I rename it I get an email and it arrives right away. there is something wrong with the file upload or deletion notifications |
test email setup worked right away. the problem exists in my opinion. |
It depends on your cron setup. |
This comment has been minimized.
This comment has been minimized.
Sorry, I fail to see how this fixes it. The notifications are turned on, yet I still receive only a mail when the file is being renamed. I do not get a mail when I upload/delete a file or create a new folder. All mail notifications for sharing are turned on at the user's account, which created the share, and notifications are set to be sent immediately. We use cron each 5 minutes. Before updating to version 30 everything worked correctly. Test Mail do also work. I see no errors in the logs. |
I have the exact same issue |
Should I open a new issue, or is this getting reopened? Thanks. |
I agree, this is not fixed. The same issue remains! |
yes unfortunately even with nextcloud 30.0.4 the problem remained |
This comment has been minimized.
This comment has been minimized.
problem also encountered with version 30.0.4 is very simple, you upload a file having the notification alerts active but you do not receive any email indicating that the file has been uploaded so an administrator must continuously check the folder to know if a user has uploaded something. I hope I was clear. in version v.29.x.x the notifications of successful file upload were sent correctly. |
Now I think in 30.0.4 is ok for me. |
I dont know if this is the case but can you check on new user? As it is written higher in Activity "Configure the default notification settings for new accounts. " |
I use 30.0.4 and also tried a new account. Same issue. I receive mail notification that folder is shared, and mail if files are renamed but I do not get any mail if files are uploaded, even if the option is enabled |
exactly, the notification only arrives if I rename the file once uploaded, or if I rename in general but no notification occurs if I upload the file |
We're facing the same issue. To be clear: I don't know if it would work on a shared link or email with the mentioned option, but we are not doing this. Uploads and deletes show up in the activity app but not in the notification mail. |
We have had this problem since version 30.0.0 to 30.0.4. Since there is no solution so far, I am using the following workaround: .../www/nextcloud/lib/private/Share20/Share.php #from line 590 see // and add line return true,
|
Hi everyone, I’m sorry to hear that you’re encountering issues with the sharing functionality in Nextcloud 30. I’ve noticed that a lot of different topics are getting mixed up here, so I’d like to clarify things. I assume most of you are referring to the email mentioned above. This email is generated by a component called sharebyemail. Some of you have also shared your activity/notification configurations, but please note that those are unrelated to the issue. The emails you’re receiving when a file is modified or similar notifications are handled by the activity component. In Nextcloud 29, this email was sent when sharing something either with external users (e.g., [email protected]) or with users on your own Nextcloud instance. Both cases were broken in Nextcloud 30.0.0. The issue with external shares was fixed in Nextcloud 30.0.2 with the following PR: #48381. However, the bug affecting shares with users on your instance was overlooked. The issue is already assigned, and we’re doing our best to address the situation as soon as possible. I hope this clears things up! Let me know if you have any further questions or need more details. |
Sorry, everyone—looks like I mixed things up 🙈. I hope my explanation about activities and share notifications was still helpful for some of you. If you are also missing the email notification for a new share, then please give a thumbs-up to this issue: #49954. Thanks for your patience! |
Bug description
Hello developers.
After updating to version 30.0.2, file sharing via email doesn't work as it should, I think. No email is sent to the sharer unless you rename the file.
So, the person I try to share files with doesn't get notifications except when the file is renamed. Nothing in the logs.
Typically, email works.
Steps to reproduce
3.no notification email is sent to the recipient
Expected behavior
I expect that when I upload a file I will be notified via email
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: