I’m reaching for help setting up my own installation of KoboToolbox, which I currently experiement nothing but frustration with. My configuration is as follow:
Jelastic VM (VPS with Ubuntu 18.04 LTS)
4 Gb of RAM
12.8 GHz of dedicated CPU
kobo-install script in its most recent version yet (commit a61b14c)
I am following this tutorial for setting up my environment yet I cannot achieve a proper installation. After about 10 clean installs (uninstalling using this tutorial and starting all over) I still get to the same point where the process keeps on looping on the same operations. I checked the performances of my server and nothing unusual happens, It still is doing fine with enough RAM and CPU availability.
The installation process asks for 600 more seconds and then asks to reboot only the frontend instances, but it changes nothing to the final output. I never get to see the “Ready” message.
I also tried installing using a dedicated “kobo” user with docker rights and in its home directory, but since I was not getting the results I was looking for, I felt back on an install in the /opt directory using the root user… which lead me to the same conclusion.
Any clue on what’s happening would be a bliss. Thanks in advance!
P.-S: I checked the firewall rules and here’s my configuration, should it matter (all ports have been set to open for anyone, which I aim to fix once I get KoBoToolbox to work, of course):
You can find the configuration I use during the installation here (note: passwords have been removed for obvious reasons and domain name was redacted to “example .com”):
I’m trying to install kobotoolbox on my own server, when I choose to install it on my workstation everything works fine, but when I try the server installation, it gets stuck and ask me to wait for another 600seconds (I’ve tried waiting for hours and it didn’t work)
I’m using a VM with Ubuntu 18.04 and 12Gb RAM
Here’s the configuration I used :
@Elie is right, you are trying to configure a local domain name in server mode.
In server mode, your domain must be publicly accessible. kobot.local is (probably) not.
Either you try what @Elie suggested or you run setup again and choose workstation mode.
In both case, your KoBo Toolbox instance will be accessible from the computer where /etc/hosts/ is modified.
@nolive do u have a simple guide how to install my own SSL certificate, or do i have to install apache and use it as reverse proxy, if thats the case should i make apache listen on port 8080?
@nolive@Elie Thank you for your answers. But would’nt that make my kobotoolbox accessible only on this VM (the one where it is installed)? the workstation installation works fine but what I really want is for all the users connected to the local network to be able to access it. Is there any way to do it ?
If you want your server to be accessible from your local network, you need to use a private DNS on your local network to let all computers on your network to resolve kf.yourdomain.tld, kc.yourdomain.tld and ee.yourdomain.tld.
Sometimes, there is an option in routers to let you do that (depending on your router).
Otherwise, you can also register a new public domain name at any registrar and assign local IP addresses to A records.