fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

occ config:app:set fulltextsearch search_platform value changed :-(

Open ReinerNippes opened this issue 4 years ago • 7 comments

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

ReinerNippes avatar Dec 21 '20 17:12 ReinerNippes

Thanks for the heads up! :+1:

enoch85 avatar Dec 21 '20 20:12 enoch85

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.

pixel8383 avatar Jan 06 '21 07:01 pixel8383

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"

mahoneyr avatar Jan 13 '21 19:01 mahoneyr

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?

pixel8383 avatar Jan 13 '21 21:01 pixel8383

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

mahoneyr avatar Jan 13 '21 21:01 mahoneyr

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 avatar Jan 23 '21 11:01 ReinerNippes

@ReinerNippes Your fix works, so this is confirmed.

enoch85 avatar Jan 23 '21 12:01 enoch85