[Bug]: No email notifications sent for files uploaded via public share link after upgrading to 35.0.3 (Push notifications work)

Offen
#67,081 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
php
Bereich
backend

Rechercherichtung

Start by tracing how public share uploads create Activity events and how those events are selected for email notifications; the issue names no source files or tests. Compare that path with the working push or web notification path, then check the email notification tests. Done means a public upload generates an email to the share owner while the existing push notification behavior still works.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

0. Needs triage 35-feedback bug
⚠️ This issue respects the following points: ⚠️
  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description

After upgrading Nextcloud to version 35.0.3, email notifications are no longer generated or sent when a guest uploads files via a public shared link (File Drop / Share with upload permissions).
However, push notifications (and/or web UI notifications) for these exact upload events still work as expected, and general email sending (e.g., test emails from Admin settings, password resets, or other activity emails) works without issues.

Steps to reproduce

Steps to reproduce the behavior:

  1. Ensure email notifications for file uploads via public links are enabled in the user's Activity settings (Settings -> Activity -> check email box for "A file or folder has been created" / "A file or folder was shared" or relevant public upload events).
  2. Create a folder and share it via a public link with Allow upload and editing or File drop (upload only) permissions.
  3. Open the public share link in an incognito/private browser window (not logged in).
  4. Upload one or more files to the shared folder.
  5. Wait for the background cron job (cron.php) to run and process the activity queue.
  6. Observe that a push/web notification is received, but no email notification is sent/received.
Expected behavior

Expected behavior
An email notification should be generated and sent to the share owner when files are uploaded via a public link, just as it did prior to updating to Nextcloud 35.0.3.

Nextcloud Server version

35

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.5

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

• Test emails sent via Administration settings -> Basic settings -> Email server are delivered successfully.
• Push notifications for the public link upload event are triggered properly, which indicates that the upload event itself is being registered by the Activity app, but the email queue/generation fails or skips these events.

Vorherrschende Sprache
PHP
Sterne
37.6k
Forks
5.4k
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
623

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus nextcloud/server

Alle Issues in nextcloud/server

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.