server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: search interfaces does not work properly

Open GVLLIFESTYLE opened this issue 2 years ago • 2 comments

⚠️ 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

  1. setup nextcloud with 2 Mio Documents and 24 Cores + 48 GB RAM
  2. run a search query
  3. 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

GVLLIFESTYLE avatar Apr 19 '23 07:04 GVLLIFESTYLE

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.

joshtrichards avatar Aug 07 '23 20:08 joshtrichards

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.

nextcloud-command avatar Oct 19 '24 00:10 nextcloud-command