-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to enable Elasticsearch to all the users (including non admin) #751
Comments
we do have the same error with nextcloud 27.0.2 and elasticsearch:8.8.1. @kevinkuan1969 have you been able to get fulltext search to work with non admin useres? |
I’ve really been chasing this bug for 2 weeks now and I can now reproduce it too… The problem is the user and/or groupname! user: group: The username has to be a simple string of letters and numbers, as soon as there is a special character, a space or something else, the fulltext search no longer works! see: #768 |
It looks like this also breaks search for LDAP users. With a fresh install, search only works for some locally created users, and returns no results for LDAP users. This might be caused by the fact that LDAP users in my instance have user ids like 60F6372C-F199-4C5E-904F-287360B07F46. The problem is easy to reproduce. Install AIO with the Fulltext-Search enabled. Create two users, one named "local" and one named "local-user". Log in with both users so that documents exist and create the index afterwards by calling
This works without errors, but searching (e.g. for term yours) only works for user "local", regardless if you search from the command line or the web interface:
|
Does this issue still exist with the latest fulltextsearch releases? There were some changes in regards to indexing and users. |
I'm coming here from a fresh nextcloud-aio (manual installation flavor) installation and experiencing the OP's issue, i.e.
Manually triggering the index using
works (thanks to Wiki for providing an example), and apparently keeps the index updated from then on. Am I supposed to manually triggered for each new user? 🤨 Note that this is not caused by #751, all my usernames are matched by |
Fresh install Nextcloud from 26.0.0 to 26.0.2 with Elasticsearch Version: 8.7.1.
All work well for the first 2 users with admin role.
Started to create few new users without admin role and discovered the UI search has no any result return.
Issue the following command to double confirm but still the same result.
sudo -u www-data php occ fulltextsearch:search "userxxx" xxxxxxx
search
Deck
Files
In the command of php occ filetextsearh:live, the elasticsearch seems to perform the indexing but always status is waiting
image
Kindly advise is the elasticsearch to allow install in Nextcloud only limit for certain number of users or any settings need to be applied. Thanks.
The text was updated successfully, but these errors were encountered: