Full text search - Knowledge Base

Setup

Using AWS Elastic Service as endpoint

Round-robin deployment

Errors

Cannot use object of type Elasticsearch\Common\Exceptions\BadRequest400Exception as array

blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]

In my case cause was different, and I still doesn’t know what was that (but definitely not disk space). What helps me is removing FullTextSearch apps from Nextcloud, dropping both oc_fulltextsearch tables from database, stopping elasticsearch.service, removing folder /var/lib/elasticsearch/nodes/0 (dropping tables and removing folder is mandatory, in my case error didn’t go away until I removed this folder) starting elasticsearch.service, installing and configuring FullTextSearch apps and finally running FullTextSearch index manually.