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

Abierto
#67,081 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PHP
Estrellas
37.6k
Forks
5.4k
Merge medio
1 d 13 h
PR fusionados (30 d)
623

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/server

Todos los issues de nextcloud/server

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.