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

オープン
#67,081 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
PHP
スター
37.6k
フォーク
5.4k
平均マージ
1日 13時間
マージ済み PR(30日)
623

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/server のほかの issue

nextcloud/server の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。