Global Search error - Nothing shows just an error message

I tried to use the search function, nothing appear but an error message withour any logs.

And I checked the Settings>Error Logs, there’s nothing about the search issue.

What should I do? Is there somewhere I can find the server logs?

check the frappe-bench/logs folder. You can also see any error logs in your terminal (in developer mode)

I had exactly same issue and my fix was:

log in into your server as a user, not as root (assuming you already created one, if not, create one and then log in)
I created username “frappe”

frappe@yourIPaddress

type your password when ask

then you’ll see:

frappe@localhost:~$

change directory to bench using:

cd frappe-bench

then you’ll see

frappe@localhost:~/frappe-bench$

now just type:

bench migrate