mastodon sidekiq中关于elasticsearch报错的解决

storm

Administrator
管理成员
2022-02-12
27
0
1
Chewy::ImportFailed: Import failed for `StatusesIndex::Status` with: Index errors: `{"type"=>"cluster_block_exception", "reason"=>"blocked by: [FORBIDDEN/12/index read-only / allow delete (ap...


可能的问题是文件为只读或者磁盘空间不足
如果确认没有以上问题
执行
curl -X PUT "localhost:9200/_all/_settings" -H 'Content-Type: application/json' -d'{ "index.blocks.read_only_allow_delete" : false } }'