nextcloud / nextcloud/server

[Bug]: There are a lot of push notifications coming during the download of a file that is shared.

Open
#49,579 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 28-feedback bug
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

the user posted the file and provided a link for general use. When viewing or downloading this file, you receive multiple notifications about downloading the file.

Steps to reproduce
  1. Settings - Notifications - Files - Downloaded files or folders that were accessed via email or a public link - Push notifications - true.
  2. We upload any video file and form a public access link.
  3. We pass the link to a colleague, he starts downloading the file, and I get a lot of push notifications, and not a single email.

There are no entries in the logs.

Expected behavior

It was expected that the notification would come only after downloading the file to the end, or only when clicking on the "Download" button.

I'm sorry if such a problem is known, I searched, but I didn't find anything.

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Nginx

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?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are identified. Start by reproducing the public-link download with push notifications enabled for downloaded files or folders, then trace when notifications are emitted during the download. Done means one notification is sent only after the download completes, or only when the Download action is initiated, without repeated push notifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.