I edit /etc/hosts and add 127.0.0.1 hostname kc.hostname kf.hostname ee.hostname but issue is there, no changes

Hi everyone, I’m having same issue

I edit /etc/hosts and add 127.0.0.1 hostname kc.hostname kf.hostname ee.hostname

but issue is there, no changes

I run py --logs:
╔═════════════════════════════════════════════════════════╗
║ ║
║ KoBoToolbox could not start! ║
║ Please try python3 run.py --logs to see the logs. ║
║ ║
╚═══════════════════════════════════════════════════════╝
nelson@nelson-ubuntu:~/kobo-docker/kobo-install$ python3 run.py --logs
Traceback (most recent call last):
File “run.py”, line 98, in
Command.logs()
File “/home/nelson/kobo-docker/kobo-install/helpers/command.py”, line 224, in logs
if config.primary_backend or config.secondary_backend:
File “/home/nelson/kobo-docker/kobo-install/helpers/config.py”, line 492, in p rimary_backend
self.multi_servers
File “/home/nelson/kobo-docker/kobo-install/helpers/config.py”, line 506, in m ulti_servers
return self.__dict[‘multi’]
KeyError: ‘multi’
nelson@nelson-ubuntu:~/kobo-docker/kobo-install$

I don´t undestand what thas mean.

Please help, I’m using ubuntu 20.04 in a temporal virtualbox installation

Welcome to the community, @nelsonagp! Pinging @stephenoduor and @ks_1 for your support.

image

My hosts file looks like this, I think I made something dumb

Thank you for welcome, I hope can understand kobotoolbox

I’m trying installing Kobotoolbox in production enviroment but I get:
image

I see logs with python3 run.py --logs

while its running and see this:
image

I’m very confused, what is happening here?

Finnally is working, I try with
What kind of installation do you need?
1) On your workstation

Process rewrite hosts file, then I stopped it and run python3 run.py --setup with second option
2) On a server

Now I have a new problem, I’m trying to put my kobo server with a nginx server, all good while no session initiated, when I login i have this message:

error-kobo-

Forbidden (403)

CSRF verification has failed. Aborted request.
More information available if DEBUG=True is set.