docs: migration of tips & tricks
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2023-02-15 01:48:08 +01:00
parent 47fa8dfcae
commit 3c95b8a5ab
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 14 deletions

View File

@ -45,17 +45,5 @@ abra app cmd <domain> admin "<username>" "<email>"
## Tips & Tricks
### Auto-complete is not working?
Check the sidekiq logs (`/sidekiq/retries`), is a bunch of stuff failing? What is the error?
If it looks anything like `blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];` then it might mean that your elastic search service has put itself into "read-only" state. This could be due to running close to no free disk space one time. ES doesn't undo this state, even when you have more free disk space once more, so you need to handle this manually:
```
abra app run <domain> es bash
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
```
Then head back to the sidekiq retries panel and retry one job. You should see
the ticket of retries go down by one if if passed. Then you can "retry all" and
they should get scheduled & run.
See the [`coop-cloud/mastodon` `README.md`](https://git.coopcloud.tech/coop-cloud/mastodon#admin-tips-tricks). Please
only gather tips & tricks that are specific to Hometown here.