Hi I am isntalling over a Centos 8 server 8GB RAM and 40GB disk space, I have al ready configured NGNEX and Certbot, my DNS are working properly, but I get stuck here 2 days now:
Creating network “kobofe_kobo-fe-network” with driver “bridge”
CommandError: Retries exceeded; failed to connect
An error has occurred
Hi @ross , it seems that your PostgreSQL container is not responding.
Can you provide which version of kobo-install you are running (./run.py --version)?
Did you choose to expose databases ports? If yes, did you set a rule to allow traffic between containers?
Hi @OlivierL thanks for answering, I am running the last version from github, I did not expose databases ports, since I am installing everything within the same server. Should I enable the containers port’s?
@ross, no, you can keep ports not exposed.
Can you confirm that the version command I provided earlier returns KoBoInstall Version: 2.2.0 (build 0e825a5), please?
Have you run KoBo Install with advanced options?
Have you changed the PostgreSQL password manually?
@ross It can take a while to compile all the assets (js/css) the first time.
Another version of KoBo Install has just been released. KoBoInstall Version: 2.2.1 (build 2.020.23)
It comes with Enketo Express v2.3.4 which compiles faster than before.
As I said, it’s normal to see the message Wait for another 600 seconds for the first time you run KoBoToolbox (or just after an upgrade) but not more than twice in a row. Otherwise you may have a problem with your installation.
One thing you can test when it says: Wait for another 600 seconds, try to go to https://kc.yourdomain.tld/service_health/ (or http://kc.yourdomain.tld/service_health/ if you don’t use https).
If you see 502 bad gateway error for Enketo but all other services are ok, it often tells you it’s compiling. Wait a little. It should complete soon.
If you can access the service health page after seeing Wait for another 600 seconds, I would look at your NGINX proxy configuration. In your first post, you said you configured it. Do you use your own installation or the one provided by KoBo install?
I am getting exactly the same error as @ross, but I do not fully understand what he did to resolve the issue.
– Using WSL 2 with Ubuntu 18.04 LTS, 24 GB Memory.
– I have tested several Docker packages in this settings, and everything works smoothly.
– 2.2.2 (build 2.020.23b)
– Using Workstation install, with all possible defaults
– Error: see original post by @ross
– Docker log of Postgres/postgis (Always restarting:)
Copying init scripts ...
PostgreSQL automatic backups disabled.
Launching official entrypoint...
chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
Partial solution: do not install it on a Windows mount such as mnt/c/kobo. When you install on /home/me/kobo, mongo, redis and postgres do start ok, but we get
/mnt/c/Program Files/Docker/Docker/resources/bin/docker-credential-desktop.exe: Invalid argument
Traceback (most recent call last):
File "site-packages/docker/credentials/store.py", line 80, in _execute
File "subprocess.py", line 411, in check_output
File "subprocess.py", line 512, in run
subprocess.CalledProcessError: Command '['/mnt/c/Program Files/Docker/Docker/resources/bin/docker-credential-desktop.exe', 'get']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/docker/auth.py", line 264, in _resolve_authconfig_credstore
File "site-packages/docker/credentials/store.py", line 35, in get
File "site-packages/docker/credentials/store.py", line 93, in _execute
docker.credentials.errors.StoreError: Credentials store docker-credential-desktop.exe exited with "".
During handling of the above exception, another exception occurred:
Note that again a windows mount is involved. (mnt/c/Program Files).
I had to delete ~/.docker where the path to the mount was stored. I also uninstalled Docker for Windows, but I am no longer sure that this was really required.
Use kobo-install on WSL2, with Docker installed in Linux ONLY. You must uninstall, not only stop Docker on Windows, Works ok.
Installed Docker-Desktop in Windows, since I use it occasionally on other projects. Starting Docker Desktop kills the Docker installation, because a folder .docker is created in WSL that contains a credentials path to a Windows mount. You get the mnt/c/Program Files/Docker/Docker/… error shown above, and can no longer start Kobo in WSL
Remove the home/me/.docker folder. Restart Docker, all is fine.