fulltextsearch
fulltextsearch copied to clipboard
occ config:app:set fulltextsearch search_platform value changed :-(
To whom it may concern:
I just had to learn that the value of the occ config:app:set fulltextsearch search_platform command changed from FullTextSearch_ElasticSearch to FullTextSearch_Elasticsearch (It's the "s" in search.)
For people using the web gui to setup nextcloud that might not be a big thing.
For automation you want to avoid such "typos" or " typo corrections". Because it breaks your scripts/playbooks.
https://github.com/ReinerNippes/nextcloud/commit/37a40e64b4d3bf80c6edfe91429412cb673c1611#diff-4ce6d64954ed973ef2ff29ad3971eeaab810b931d0377b596114b8d0e0a7307a
Thanks for the heads up! :+1:
Could you please clarify the command to type in order to have this fixed? I am facing an issue that could be related to this.
This may be related to pixel8383's issue - fulltextsearch stopped working and I was getting this log error in NextCloud: FullTextSearchPlatform OCA\FullTextSearch_ElasticSearch\Platform\ElasticSearchPlatform is not available
Fixed the error by entering this command: occ config:app:set fulltextsearch search_platform --value "OCA\FullTextSearch_Elasticsearch\Platform\ElasticSearchPlatform"
Hello @mahoneyr thanks for your help but it didn't fix the issue. :-( I can't select the Elasticsearch platform from the Search configuration page. The service is running, Elasticsearch is 7.10.1: what version are your running on your server?
I'm running Docker containers, so my environment may be different. I never had any difficulty selecting the Elasticsearch platform from the app configuration page - I suspect not being able to install it is the problem.
I'm using NextCloud v 20.0.4 and elasticsearch v 7.6.2. Even while getting the error, I was able to connect to the elasticsearch server on port 9200; the error would appear in the NextCloud logs whenever I searched or if I tried to do an occ fulltextsearch:index
I never had any difficulty selecting the Elasticsearch platform from the app configuration page
I was talking about using the occ command. My playbooks fails doing so.
@ReinerNippes Your fix works, so this is confirmed.