nextcloud / nextcloud/server

[Bug]: Search file does not find some files

Open
#59,390 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

⚠️ Before submitting, please verify the following: ⚠️
Bug description

When searching for a file, that is present inside subfolder, I received 207 response with "no search file found" (in French, exactly: Aucun résultat de recherche pour )

Which is strange, because I know the file is present inside a folder.

Image

I have checked some file can be found, but not all

Steps to reproduce
  1. Click on the "search input" on the top left
  2. Write the name of a file
  3. Search everywhere

Sometimes it works, sometimes not.
...

Expected behavior

It should find existing file :-)
...

Which files are affected by this bug

I don't know what to add here, sorry

Operating system

macOS

Which version of the operating system you are running.

Mac OS 26.4

Package

Official macOS 12+ universal pkg

Nextcloud Server version

32.0.5 (tab.digital)

Nextcloud Desktop Client version

32.0.5

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

Updated from a minor version (ex. 3.16.1 to 3.16.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

Are you using an external user-backend?
  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Nextcloud Server logs
sorry, i'm using tab digital, i cannot answer to all those questions
Additional info

No response

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

Start by reproducing the search from the top-left input with files in subfolders, comparing files that are found with those that are missed on Server 32.0.5 and Desktop Client 32.0.5. Inspect the available Nextcloud Server logs and account for encryption and the external user backend; done means every existing file is returned consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.