From 910958b6a89821f43fa19de1109748cc69aa11d3 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Wed, 15 Feb 2023 01:47:06 +0100 Subject: [PATCH] docs: tips & tricks migration --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 95d8889..50ae066 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,25 @@ And finally, within the `app` container, create an admin account: ``` abra app cmd admin "" "" ``` + +## Admin 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 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.