[Bug]: Search file does not find some files
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ Before submitting, please verify the following: ⚠️
- This is a bug, not a question or a configuration issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- I agree to follow Nextcloud's Code of Conduct
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.
I have checked some file can be found, but not all
Steps to reproduce
- Click on the "search input" on the top left
- Write the name of a file
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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