Skip to content
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

Fix the fulltextsearch in Nextcloud #40

Open
a3linux opened this issue Nov 28, 2023 · 0 comments
Open

Fix the fulltextsearch in Nextcloud #40

a3linux opened this issue Nov 28, 2023 · 0 comments

Comments

@a3linux
Copy link
Owner

a3linux commented Nov 28, 2023

We saw this error message in Nextcloud.log
{"reqId":"UbgUxX6B4GUJjc5wQDp3","level":2,"time":"2023-11-28T05:21:58+00:00","remoteAddr":"119.74.86.161","user":"allen","app":"no app in context","method":"GET","url":"/apps/fulltextsearch/v1/search?request=%7B%22providers%22%3A%5B%22files%22%5D%2C%22options%22%3A%7B%22files_local%22%3A%220%22%2C%22files_extension%22%3A%22%22%7D%2C%22search%22%3A%22lou%22%2C%22page%22%3A1%7D","message":"500 - {"request":{"providers":["files"],"author":"allen","search":"lou","empty_search":false,"page":1,"size":10,"parts":["comments"],"queries":[],"options":{"files_local":"0","files_extension":""},"metatags":[],"subtags":[],"tags":[]},"version":"27.0.2","status":-1,"exception":"Elastic\\Elasticsearch\\Exception\\ClientResponseException","message":"401 Unauthorized: {\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [\/homecloud-nextcloud\/_search?from=0&size=10&_source_excludes=content]\",\"header\":{\"WWW-Authenticate\":[\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\",\"ApiKey\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [\/homecloud-nextcloud\/_search?from=0&size=10&_source_excludes=content]\",\"header\":{\"WWW-Authenticate\":[\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\",\"ApiKey\"]}},\"status\":401}"}","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15","version":"27.1.3.2","data":[]}

And the fulltextsearch in Nextcloud UI does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant