I used to have elasticsearch set up for Mastodon but it went tits up ages ago and I never reinstated it.

Trying now and every time I run tottctl search deploy I get Chewy import failed and this error:

{"type"=>"cluster_block_exception", "reason"=>"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}

All searches say I must be running out of disk space but I have over 100GB left on disk.

Anyone have a clue as to what is wrong?

Right, so the problem was that the reason the elasticsearch shat itself was that it HAD run out of space previously but has since moved to a new drive with lots of space. However, elasticsearch doesn't automatically unlock itself so will refuse to insert any new data.

Clearing out the old data directory and rebuilding the indexes fixes it.

Show thread
Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!