[Bug]: search interfaces does not work properly
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
If I enter a search query and I click at the end on load more results it will load endless without and results. The same happens as well if I first contrain to files only and then do the steps explained before. I use the out of the box nextcloud search.
In general it would be nice to open the search in its own window or larger if you click on more results, that it is easy to browse through big date
Steps to reproduce
- setup nextcloud with 2 Mio Documents and 24 Cores + 48 GB RAM
- run a search query
- click on more results
alternative: contrain to files only first
Expected behavior
search is triggered and executed.
Installation method
Community Manual installation with Archive
Nextcloud Server version
26
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
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?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
As it happens also while contraining to files only, the other apps wont mess with that.
List of activated Apps
As it happens also while contraining to files only, the other apps wont mess with that.
Nextcloud Signing status
works properly
Nextcloud Logs
I am not sure if related but I found that during the execution of the query:
{"reqId":"tjWhRC6g6IIzcKAQMFc0","level":1,"time":"2023-04-19T07:44:49+00:00","remoteAddr":"BLACKEDOUT","user":"BLACKEDOUT","app":"no app in context","method":"GET","url":"/nextcloud/index.php/core/preview?x=32&y=32&fileId=4898301","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.0.11","data":[],"id":"643f9bf8e8c7c"}
{"reqId":"mQ7z5ry8Xvxkzu4QdIMe","level":1,"time":"2023-04-19T07:44:46+00:00","remoteAddr":"BLACKEDOUT","user":"BLACKEDOUT","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/ajax/getstoragestats?dir=%2F","message":"Deprecated event type for \\OCP\\Collaboration\\Resources::loadAdditionalScripts: null","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.0.11","data":[],"id":"643f9bf8f0eed"}
{"reqId":"C0RmpjVWvBa4gpAunfiT","level":1,"time":"2023-04-19T07:44:37+00:00","remoteAddr":"BLACKEDOUT","user":"BLACKEDOUT","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.0.11","data":[],"id":"643f9bf90259f"}
{"reqId":"C0RmpjVWvBa4gpAunfiT","level":1,"time":"2023-04-19T07:44:37+00:00","remoteAddr":"BLACKEDOUT","user":"BLACKEDOUT","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for \\OCP\\Collaboration\\Resources::loadAdditionalScripts: null","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.0.11","data":[],"id":"643f9bf9025d7"}
{"reqId":"b7gjqiYN5wkdtySpb0QY","level":1,"time":"2023-04-19T07:44:35+00:00","remoteAddr":"BLACKEDOUT","user":"BLACKEDOUT","app":"no app in context","method":"GET","url":"/nextcloud/index.php/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_COLUMNS: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.0.11","data":[],"id":"643f9bf904979"}
{"reqId":"b7gjqiYN5wkdtySpb0QY","level":1,"time":"2023-04-19T07:44:32+00:00","remoteAddr":"BLACKEDOUT","user":"BLACKEDOUT","app":"no app in context","method":"GET","url":"/nextcloud/index.php/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_INDEXES: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.0.11","data":[],"id":"643f9bf906282"}
{"reqId":"b7gjqiYN5wkdtySpb0QY","level":1,"time":"2023-04-19T07:44:29+00:00","remoteAddr":"BLACKEDOUT","user":"BLACKEDOUT","app":"no app in context","method":"GET","url":"/nextcloud/index.php/settings/ajax/checksetup","message":"Deprecated event type for OCP\\IDBConnection::CHECK_MISSING_PRIMARY_KEYS: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36","version":"26.0.0.11","data":[],"id":"643f9bf907f74"}
Additional info
No response
Hi @MrLoverLoverMMMM - I'm unable to reproduce this on either current NC26 or NC27. Do you see the query generated when you click "Load more results" in your browser console under Network?
It would also still be help to get your redacted configuration and apps list since other apps can actually interact with Files.
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.