diff --git a/docs/_articles/kpi-frontend-development-troubleshooting.md b/docs/_articles/kpi-frontend-development-troubleshooting.md index d336d93..55fac9c 100644 --- a/docs/_articles/kpi-frontend-development-troubleshooting.md +++ b/docs/_articles/kpi-frontend-development-troubleshooting.md @@ -108,7 +108,23 @@ Sometimes `./run.py` is stuck in a loop of containters restaring endlessly. This Sometimes the error is a bit different, if so try some of these tricks: - tell database that all migrations are applied: `./manage.py migrate kpi --fake` and then go back few migrations and re-run migrations - go back few migrations: `./manage.py migrate kpi 0001` (you can put any migration identifier number here) -- if you get kicked out of kpi container, try `./run.py -cf run --rm kpi bash` (this one will not get ejected, and you can fix issues from within) + +### kobo-install how to enter container that is self restarting + +If you ever get kicked out of a container, one of the following commands will get you save and not ejected. Use these if you need to fix something from within the container. + + +For Front end containers use: + +``` +./run.py -cf run --rm bash +``` + +For Back end containers use: + +``` +./run.py -cb run --rm bash +``` ### kobo-install re-run "cannot stop container" @@ -144,3 +160,20 @@ executor failed running [/bin/sh -c apt-get -qq update && apt-get -qq -y ins ERROR: Service 'kpi' failed to build : Build failed An error has occurred ``` + +### kobo-install has access denied error for `koboform_base` + +If you see this: + +``` +./run.py --build +Error response from daemon: pull access denied for kobotoolbox/koboform_base, repository does not exist or may require 'docker login': denied: requested access to the resource is denied +Using default tag: latest +An error has occurred +``` + +Try this: + +``` +./run.py -cf build --no-cache --force-rm kobocat +```