Owncloud Search Functions not responsive and hangs the browser

Steps to reproduce

1.search function with 3 characters only, error message, waiting time 2 - 15 minutes.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system: Plesk Obsidian v18.0.54 os_Ubuntu 22.04

Web server:


PHP version:
ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
paste the results into https://gist.github.com/ and puth the link here.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.


If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';

Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration


Operating system:


Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Dear Community,

May i please check if anyone can advise us?

Thank you,


where are you searching exactly, files, users or apps page? Relevant entries from owncloud.log would also be needed.

Hi Pako,

Thank you very much for the reply. We use the search bar at the top right side of the OwnCloud UI. Whenever we type in some matching words to find the files. The browser responds very slowly and in some cases just hang.

For the relavant entries from owncloud.log. How could i extract it out from our server managed by Plesk interface?

Thank you,
image002 copy
image003 copy

Not sure how to get the logs from the Plesk interface, sorry. From the admin?sectionid=general page is generally possible to download the log file, being an oC admin. Additionally, you may want to check the network tab of your browser when opened in debug mode to check which request is hanging.

Hi Pako,

thank you very much for the reply. I managed to download the log file and open it in the notebook. But the file itself is massive with over 100mb. May i ask where to find the relevant section and paste here?

Thank you,


You can probably search for the string search?query and check all subsequent log entries. Note that this is logged at debug level only (log level set to Everything).

Hi Pako, Thank you for the reply. I just changed to log level set to everything as you have recommended. In this case, we have to reproduce the problems again and then download the log?

Because when i search for the string search?query now, it returned me nothing.

Could you be so kind to advise again? Thank you,

Yes, you should try to reproduce the issue once again and check the logs. Also, it would be useful to generate an .HAR file or check the network tab of your browser while reproducing it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.