I’m trying to install kobotoolbox in a virtual image from virtualbox before to try that in a production server but I’m having problems to make it work.
I tried first with this instructions:
cd ~
mkdir kobo-docker
cd kobo-docker
git clone GitHub - kobotoolbox/kobo-install: A command-line installer for setting up and running KoboToolbox on a remote server or local computer, using kobo-docker.
cd kobo-install
sudo python3 run.py --setup
but it failed, then I found others instructions:
sudo apt update && sudo apt upgrade -y
# Install Docker y Docker Compose
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository “deb [arch=amd64] Index of linux/ubuntu/ $(lsb_release -cs) stable”
sudo apt update
sudo apt install docker-ce -y
sudo curl -L “https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$ (uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo usermod -aG docker ${USER}
newgrp docker
# reset session to apply changes
exit
cd ~
mkdir kobo-docker
cd kobo-docker
git clone GitHub - kobotoolbox/kobo-install: A command-line installer for setting up and running KoboToolbox on a remote server or local computer, using kobo-docker.
cd kobo-install
sudo python3 run.py --setup
It was better, but it was not good at all
I wait and wait and nothing happen
In another installation I edit /etc/hosts adding 127.0.0.1 hostname kc.hostname kf.hostname ee.hostname but error not change
Thank you for your attention.
@nelsonagp , maybe this post discussed previously should help you solve your issue:
KoBoToolbox has not started yet. This is can be normal with low CPU/RAM computers.
I was having the same issue even after a couple of setup runs.
The 4 hostnames need to be set to the same IP address in /etc/hosts.
If you are accessing the KoBoToolbox from outside you need also to define the same entries in the machine from where you are browsing.
Pinging @stephenoduor and @ks_1 in case you should need help!
I have edited hosts file, no change
I have this error, apparently my machine’s cpu don’t have AVX so mongodb 5.0+ don’t work, How I can change mongodb version?
I try with new instructions to use mongodb 4.4 and not have problems with cpu without avx, but not changes
# Actualizar paquetes
sudo apt update && sudo apt upgrade -y
# Instalar Docker y Docker Compose
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce -y
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo usermod -aG docker ${USER}
newgrp docker
# Reinicia la sesión para aplicar los cambios de grupo.
exit
# Iniciar una nueva sesión
# Instalar MongoDB 4.4
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
sudo apt update
sudo apt install -y mongodb-org
# Crear directorios necesarios y clonar repositorio
cd ~
mkdir kobo-docker
cd kobo-docker
git clone https://github.com/kobotoolbox/kobo-install.git
cd kobo-install
# Configuración de KoBoToolbox
sudo python3 run.py --setup
Again I have message to wait 600 seconds and no run
I need help