Install kobotoolbox on ubuntu20 server

Dear Support,

We need to install kobotoolbox on our ubuntu20 server. Could you please provide us steps to install it with required packages.

Thanks

Hi @mohinder and welcome to the community!

This GitHub - kobotoolbox/kobo-install: A command-line installer for setting up and running KoBoToolbox on a remote server or local computer, using kobo-docker. would suffice your needs.

There are some help posts:

Best,

1 Like

Thanks hakan for your update.
Sorry i am new here for this.
Shall we need to run

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.

Actually i need the steps, which need to be run.

Hi @mohinder,

If you click on the link I gave you, and go to the github page, under the usage it tells you which commands to execute.

Yes, i found the commands under the usage. Before running the command, shall we need to install Python3 on the server?

1 Like

Please help , getting below error, -
From GitHub - kobotoolbox/kobo-docker: Stack of docker containers to all server-side components of KoBoToolbox (kpi, kobocat, enketo-express).

  • tag 2.022.16c → FETCH_HEAD
    Traceback (most recent call last):
    File “run.py”, line 115, in
    run()
    File “run.py”, line 52, in run
    Command.start(force_setup=force_setup)
    File “/home/kobo/kobo-install/helpers/command.py”, line 311, in start
    cls.stop(output=False, frontend_only=frontend_only)
    File “/home/kobo/kobo-install/helpers/command.py”, line 433, in stop
    CLI.run_command(maintenance_down_command,
    File “/home/kobo/kobo-install/helpers/cli.py”, line 154, in run_command
    stdout = subprocess.check_output(command,
    File “/usr/lib/python3.8/subprocess.py”, line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
    File “/usr/lib/python3.8/subprocess.py”, line 493, in run
    with Popen(*popenargs, **kwargs) as process:
    File “/usr/lib/python3.8/subprocess.py”, line 858, in init
    self._execute_child(args, executable, preexec_fn, close_fds,
    File “/usr/lib/python3.8/subprocess.py”, line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: ‘docker-compose’
    kobo@localhost:~/kobo-install$ ll

FYI,
I am using ubuntu20 server .
FileNotFoundError: [Errno 2] No such file or directory: ‘docker-compose’
kobo@localhost:~/kobo-install$ ll

useful information

1 Like

you need to install docker-compose too

1 Like