Can't Make Kobo works on AWS EC2 Ubuntu 18.04 install Following the tutorial

First I have Create An EC2 to install KoboToolBox… 2 vCpu, 4 GB Ram, 30GB SSD Ok?
Let’s pretend that the public IPV4 of that Machine is 10.11.12.13

Then I have go all the way with that Tutorial:
The differente only part is that I’m not using HTTPS
let’s say I own this domain: xyz.com
I do have created the following records in my DNS Register to point this

kc.xyz.com A > 10.11.12.13
kf.xyz.com A > 10.11.12.13
ee.xyz.com A > 10.11.12.13

Ok them…
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add
apt upgrade && apt install docker-ce python-pip
pip3 install docker-compose
adduser kobo
usermod -aG docker kobo
su kobo

Next Steps:
╔═══════════════════════════════════════════════════════════════╗
║ Welcome to KoBoInstall! ║
║ ║
║ You are going to be asked some questions that will ║
║ determine how to build the configuration of KoBoToolBox. ║
║ ║
║ Some questions already have default values (within brackets). ║
║ Just press enter to accept the default value or enter -
║ to remove previously entered value. ║
║ Otherwise choose between choices or type your answer. ║
╚═══════════════════════════════════════════════════════════════╝
Where do you want to install?
[/home/kobo/kobo-docker]:
Please confirm path [/home/kobo/kobo-docker]
1) Yes
2) No
[1]:
Do you want to see advanced options?
1) Yes
2) No
[2]: 1
What kind of installation do you need?
1) On your workstation
2) On a server
[2]:
Please choose which network interface you want to use?
eth0) 172.31.71.215
other) Other
[eth0]:
Do you want to use separate servers for frontend and backend?
1) Yes
2) No
[2]:
Public domain name [kobo.local]: xyz.com
KPI sub domain [kf]:
KoBoCat sub domain [kc]:
Enketo Express sub domain name [ee]:
Do you want to use HTTPS?
1) Yes
2) No
[1]: 2
Is KoBoToolbox behind a reverse-proxy/load-balancer?
1) Yes
2) No
[1]: 2
SMTP server:
SMTP port [25]:
SMTP user:
From email address [support@xyz.com]:
Super user’s username [super_admin]:
Super user’s password [xxxxxx]:
Docker Compose prefix? (leave empty for default):
Staging mode?
1) Yes
2) No
[2]:
KoBoCat PostgreSQL database name?
[kobocat]:
KPI PostgreSQL database name?
[koboform]:
PostgreSQL user’s username?
[kobo]:
PostgreSQL user’s password?
[xxxxxxxxxxx}]:
Do you want to tweak PostgreSQL settings?
1) Yes
2) No
[2]:
MongoDB root’s username?
[root]:
MongoDB root’s password?
[xxxx]:
MongoDB user’s username?
[kobo]:
MongoDB user’s password?
[xxx]:
Redis password?
[xxx]:
Do you want to expose backend container ports (PostgreSQL, MongoDB, redis) ?
1) Yes
2) No
[2]:
Do you want to customize the application secret keys?
1) Yes
2) No
[2]: 1
Django’s secret key?
[fxxxx1]:
Enketo’s api key?
[3xxxxxxxxxxxx64]:
Enketo’s encryption key?
[8xxxxxxx2]:
Enketo’s less secure encryption key?
[xxxxxxx]:
Do you want to use AWS S3 storage?
1) Yes
2) No
[2]:
Google Analytics Identifier:
Google API Key:
Do you want to use Sentry?
1) Yes
2) No
[2]:
Do you want to tweak uWSGI settings?
1) Yes
2) No
[2]:
Do you want to activate backups?
1) Yes
2) No
[2]:
Cloning into ‘/home/kobo/kobo-docker’…

You guys can look at my loog, that is stuck in the nginx(can’t show all the log character limit 32k)

~/kobo-install$ ./run.py --logs



enketo_express_1 | 23:42:24 0|enketo | Worker 1 ready for duty at port 8005! (environment: production)
kobocat_1 | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh…
kobocat_1 | *** Running /etc/my_init.d/01_wait_for_mongo.bash…
kobocat_1 | Waiting for container mongo.
kobocat_1 | 2020/09/15 23:39:37 Waiting for host: tcp://mongo.xyz.private:27017
kobocat_1 | 2020/09/15 23:39:37 Connected to tcp://mongo.xyz.private:27017
kobocat_1 | Container mongo up.
kobocat_1 | *** Running /etc/my_init.d/02_wait_for_postgres.bash…
kobocat_1 | Waiting for container postgres.
kobocat_1 | 2020/09/15 23:39:37 Waiting for host: tcp://postgres.xyz.private:5432
kobocat_1 | 2020/09/15 23:39:37 Connected to tcp://postgres.xyz.private:5432
kobocat_1 | Container postgres up.
kobocat_1 | Waiting for Postgres service.
kobocat_1 | postgres.xyz.private:5432 - accepting connections
kobocat_1 | Postgres service running; ensuring kobocat database exists and has PostGIS extensions…
kobocat_1 | CREATE DATABASE
kobocat_1 | You are now connected to database “kobocat” as user “kobo”.
kobocat_1 | CREATE EXTENSION
kobocat_1 | CREATE EXTENSION
kobocat_1 | CREATE EXTENSION
kobocat_1 | CREATE EXTENSION
kobocat_1 | Postgres database kobocat ready for use!
kobocat_1 | *** Running /etc/my_init.d/03_wait_for_kpi.bash…
kobocat_1 | Waiting for container kpi.
kobocat_1 | 2020/09/15 23:39:43 Waiting for host: tcp://kpi:8000
kobocat_1 | 2020/09/15 23:40:18 Connected to tcp://kpi:8000
kobocat_1 | Container kpi up.
kobocat_1 | Waiting for kpi web service.
kobocat_1 | kpi web service ready.
kobocat_1 | *** Running /etc/my_init.d/10_init_kobocat.bash…
kobocat_1 | KoBoCAT intializing…
kobocat_1 | Synchronizing database.
kobocat_1 | Your environment is:“onadata.settings.kc_environ”
kobocat_1 | Operations to perform:
kobocat_1 | Synchronize unmigrated apps: gis, staticfiles, admindocs, messages, django_extensions, readonly, humanize, export, django_nose, rest_framework, libs, corsheaders, survey_report, sms_support, pure_pagination
kobocat_1 | Apply all migrations: authtoken, oauth2_provider, reversion, django_celery_beat, admin, guardian, sessions, sites, auth, viewer, django_digest, contenttypes, api, taggit, registration, stats, logger, main, restservice
kobocat_1 | Synchronizing apps without migrations:
kobocat_1 | Creating tables…
kobocat_1 | Creating table corsheaders_corsmodel
kobocat_1 | Running deferred SQL…
kobocat_1 | Installing custom SQL…
kobocat_1 | Running migrations:
kobocat_1 | Rendering model states… DONE
kobocat_1 | Applying contenttypes.0001_initial… OK
kobocat_1 | Applying auth.0001_initial… OK
kobocat_1 | Applying admin.0001_initial… OK
kobocat_1 | Applying taggit.0001_initial… OK
kobocat_1 | Applying taggit.0002_auto_20150616_2121… OK
kobocat_1 | Applying logger.0001_initial… OK
kobocat_1 | Applying contenttypes.0002_remove_content_type_name… OK
kobocat_1 | Applying auth.0002_alter_permission_name_max_length… OK
kobocat_1 | Applying auth.0003_alter_user_email_max_length… OK
kobocat_1 | Applying auth.0004_alter_user_username_opts… OK
kobocat_1 | Applying auth.0005_alter_user_last_login_null… OK
kobocat_1 | Applying auth.0006_require_contenttypes_0002… OK
kobocat_1 | Applying main.0001_initial… OK
kobocat_1 | Applying api.0001_initial… OK
kobocat_1 | Applying authtoken.0001_initial… OK
kobocat_1 | Applying django_celery_beat.0001_initial… OK
kobocat_1 | Applying django_celery_beat.0002_auto_20161118_0346… OK
kobocat_1 | Applying django_celery_beat.0003_auto_20161209_0049… OK
kobocat_1 | Applying django_celery_beat.0004_auto_20170221_0000… OK
kobocat_1 | Applying django_celery_beat.0005_add_solarschedule_events_choices… OK
kobocat_1 | Applying django_celery_beat.0006_auto_20180210_1226… OK
kobocat_1 | Applying django_digest.0001_initial… OK
kobocat_1 | Applying guardian.0001_initial… OK
kobocat_1 | Applying logger.0002_attachment_filename_length… OK
kobocat_1 | Applying logger.0003_add-index-on-attachment-media-file… OK
kobocat_1 | Applying logger.0004_increase-length-of-attachment-mimetype-field… OK
kobocat_1 | Applying logger.0005_instance_xml_hash… OK
kobocat_1 | Applying logger.0006_add_validation_status_json_field_in_instance_table… OK
kobocat_1 | Applying logger.0007_add_validate_permission_on_xform… OK
kobocat_1 | Applying logger.0008_add_instance_is_synced_with_mongo_and_xform_has_kpi_hooks… OK
kobocat_1 | Applying logger.0009_add_posted_to_kpi_field_to_logger_instance… OK
kobocat_1 | Applying logger.0010_attachment_media_file_basename… OK
kobocat_1 | Applying logger.0011_add-index-to-instance-uuid_and_xform_uuid… OK
kobocat_1 | Applying logger.0012_add_asset_uid_to_xform… OK
kobocat_1 | Applying main.0002_auto_20160205_1915… OK
kobocat_1 | Applying oauth2_provider.0001_initial… OK
kobocat_1 | Applying oauth2_provider.0002_08_updates… OK
kobocat_1 | Applying registration.0001_initial… OK
kobocat_1 | Applying registration.0002_registrationprofile_activated… OK
kobocat_1 | Applying registration.0003_migrate_activatedstatus… OK
kobocat_1 | Applying restservice.0001_initial… OK
kobocat_1 | Applying restservice.0002_add_related_name_with_delete_on_cascade… OK
kobocat_1 | Applying restservice.0003_remove_deprecated_services… OK
kobocat_1 | Applying reversion.0001_squashed_0004_auto_20160611_1202… OK
kobocat_1 | Applying sessions.0001_initial… OK
kobocat_1 | Applying sites.0001_initial… OK
kobocat_1 | Applying stats.0001_initial… OK
kobocat_1 | Applying viewer.0001_initial… OK
kobocat_1 | Applying viewer.0002_auto_20160205_1915… OK
kobocat_1 | Applying viewer.0003_auto_20171123_1521… OK
kobocat_1 | Running migrations.
kobocat_1 | Your environment is:“onadata.settings.kc_environ”
kobocat_1 | Operations to perform:
kobocat_1 | Synchronize unmigrated apps: gis, staticfiles, admindocs, messages, django_extensions, readonly, humanize, export, django_nose, rest_framework, libs, corsheaders, survey_report, sms_support, pure_pagination
kpi_1 | KoBoForm initializing…
kpi_1 | Waiting for container mongo.
kpi_1 | 2020/09/15 23:39:36 Waiting for: tcp://mongo.xyz.private:27017
kpi_1 | 2020/09/15 23:39:36 Connected to tcp://mongo.xyz.private:27017
kpi_1 | Container mongo up.
kpi_1 | Waiting for container postgres.
kpi_1 | 2020/09/15 23:39:36 Waiting for: tcp://postgres.xyz.private:5432
kpi_1 | 2020/09/15 23:39:36 Connected to tcp://postgres.xyz.private:5432
kpi_1 | Container postgres up.
kpi_1 | Waiting for Postgres service.
kpi_1 | postgres.xyz.private:5432 - accepting connections
kpi_1 | Postgres service running; ensuring koboform database exists and has PostGIS extensions…
kpi_1 | CREATE DATABASE
kpi_1 | You are now connected to database “koboform” as user “kobo”.
kpi_1 | CREATE EXTENSION
kpi_1 | CREATE EXTENSION
kpi_1 | CREATE EXTENSION
kpi_1 | CREATE EXTENSION
kpi_1 | Postgres database koboform ready for use!
kpi_1 | Running migrations…
kpi_1 | Operations to perform:
kpi_1 | Apply all migrations: admin, auth, authtoken, contenttypes, database, django_celery_beat, django_digest, external_integrations, help, hook, hub, kpi, oauth2_provider, registration, reversion, sessions, taggit
kpi_1 | Running migrations:
kpi_1 | Applying contenttypes.0001_initial… OK
kpi_1 | Applying auth.0001_initial… OK
kpi_1 | Applying admin.0001_initial… OK
kpi_1 | Applying admin.0002_logentry_remove_auto_add… OK
kpi_1 | Applying admin.0003_logentry_add_action_flag_choices… OK
kpi_1 | Applying contenttypes.0002_remove_content_type_name… OK
kpi_1 | Applying auth.0002_alter_permission_name_max_length… OK
kpi_1 | Applying auth.0003_alter_user_email_max_length… OK
kpi_1 | Applying auth.0004_alter_user_username_opts… OK
kpi_1 | Applying auth.0005_alter_user_last_login_null… OK
kpi_1 | Applying auth.0006_require_contenttypes_0002… OK
kpi_1 | Applying auth.0007_alter_validators_add_error_messages… OK
kpi_1 | Applying auth.0008_alter_user_username_max_length… OK
kpi_1 | Applying auth.0009_alter_user_last_name_max_length… OK
kpi_1 | Applying auth.0010_alter_group_name_max_length… OK
kpi_1 | Applying auth.0011_update_proxy_permissions… OK
kpi_1 | Applying authtoken.0001_initial… OK
kpi_1 | Applying authtoken.0002_auto_20160226_1747… OK
kpi_1 | Applying database.0001_initial… OK
kpi_1 | Applying database.0002_auto_20190129_2304… OK
kpi_1 | Applying django_celery_beat.0001_initial… OK
kpi_1 | Applying django_celery_beat.0002_auto_20161118_0346… OK
kpi_1 | Applying django_celery_beat.0003_auto_20161209_0049… OK
kpi_1 | Applying django_celery_beat.0004_auto_20170221_0000… OK
kpi_1 | Applying django_celery_beat.0005_add_solarschedule_events_choices… OK
kpi_1 | Applying django_celery_beat.0006_auto_20180322_0932… OK
kpi_1 | Applying django_celery_beat.0007_auto_20180521_0826… OK
kpi_1 | Applying django_celery_beat.0008_auto_20180914_1922… OK
kpi_1 | Applying django_celery_beat.0006_auto_20180210_1226… OK
kpi_1 | Applying django_celery_beat.0006_periodictask_priority… OK
kpi_1 | Applying django_celery_beat.0009_periodictask_headers… OK
kpi_1 | Applying django_celery_beat.0010_auto_20190429_0326… OK
kpi_1 | Applying django_celery_beat.0011_auto_20190508_0153… OK
kpi_1 | Applying django_digest.0001_initial… OK
kpi_1 | Applying external_integrations.0001_add_allowed_cors_origin_model… OK
kpi_1 | Applying help.0001_initial… OK
kpi_1 | Applying reversion.0001_squashed_0004_auto_20160611_1202… OK
kpi_1 | Applying taggit.0001_initial… OK
kpi_1 | Applying kpi.0001_initial… OK
kpi_1 | Applying kpi.0002_auto_20150619_0603… OK
kpi_1 | Applying kpi.0003_assetsnapshot… OK
kpi_1 | Applying kpi.0004_default_permissions_1910… OK
kpi_1 | Applying kpi.0005_taguid… OK
kpi_1 | Applying kpi.0006_importtask_messages… OK
kpi_1 | Applying kpi.0007_importtask_defaults… OK
kpi_1 | Applying kpi.0008_authorizedapplication… OK
kpi_1 | Applying kpi.0009_auto_20160315_0343… OK
kpi_1 | Applying kpi.0010_asset_deployment_data… OK
kpi_1 | Applying kpi.0011_explode_asset_deployments… migrated 0 assets
kpi_1 | !!! Only the most recent deployment of each asset has been
kpi_1 | !!! retained. Use the command ./manage.py sync_kobocat_xforms
kpi_1 | !!! to create new assets for any orphaned KC forms.
kpi_1 | OK
kpi_1 | Applying kpi.0012_onetimeauthenticationkey… OK
kpi_1 | Applying kpi.0013_uid_field… OK
kpi_1 | Applying kpi.0014_discoverable_subscribable_collections… OK
kpi_1 | Applying kpi.0015_assetversion…
kpi_1 | This might take a while. If it is too slow, you may want to re-run the
kpi_1 | migration with SKIP_HEAVY_MIGRATIONS=True and run the management command
kpi_1 | (populate_assetversions) to prepare the versions.
kpi_1 |
kpi_1 | created 0 AssetVersion records
kpi_1 | migrated deployment ids
kpi_1 | OK
kpi_1 | Applying kpi.0016_asset_settings… OK
kpi_1 | Applying kpi.0017_assetversion_uid_aliases_20170608… OK
kpi_1 | Applying kpi.0018_export_task… OK
kpi_1 | Applying kpi.0019_add_report_custom_field… OK
kpi_1 | Applying kpi.0020_add_validate_submissions_permission_to_asset… OK
kpi_1 | Applying kpi.0021_map-custom-styles… OK
kpi_1 | Applying kpi.0022_assetfile… OK
kpi_1 | Applying hook.0001_tables_creation… OK
kpi_1 | Applying hook.0002_add_email_notifications_field… OK
kpi_1 | Applying hook.0003_add_subset_fields_to_hook_model… OK
kpi_1 | Applying hook.0004_add_payload_template… OK
kpi_1 | Applying hook.0005_allow_blank_subset_fields… OK
kpi_1 | Applying hub.0001_initial… OK
kpi_1 | Applying hub.0002_formbuilderpreference… OK
kpi_1 | Applying hub.0003_auto_20160318_1808… OK
kpi_1 | Applying hub.0004_configurationfile… OK
kpi_1 | Applying hub.0005_perusersetting… OK
kpi_1 | Applying hub.0006_remove_formbuilder_preference_table… OK
kpi_1 | Applying hub.0007_alter_jsonfield_to_jsonbfield… OK
kpi_1 | Applying kpi.0023_partial_permissions… OK
kpi_1 | Applying kpi.0024_alter_jsonfield_to_jsonbfield…
kpi_1 | Scanned | # records need fixing
kpi_1 | Asset._deployment_data | 0
kpi_1 | Asset.content | 0
kpi_1 | Asset.summary | 0
kpi_1 | AssetSnapshot.details | 0
kpi_1 | AssetSnapshot.source | 0
kpi_1 | ExportTask.data | 0
kpi_1 | ExportTask.messages | 0
kpi_1 | ImportTask.data | 0
kpi_1 | ImportTask.messages | 0
kpi_1 |
kpi_1 | Database is ready.
kpi_1 | Proceeding with migration 0024 (text -> jsonb)
kpi_1 |
kpi_1 | This might take a while depending on your database size.
kpi_1 | If it’s too slow, consider stopping this and instead running
kpi_1 | ./manage.py migrate_json_text_to_jsonb
kpi_1 | to avoid downtime.
kpi_1 |
kpi_1 | OK
kpi_1 | Applying oauth2_provider.0001_initial… OK
kpi_1 | Applying oauth2_provider.0002_08_updates… OK
kobocat_1 | Apply all migrations: authtoken, oauth2_provider, reversion, django_celery_beat, admin, guardian, sessions, sites, auth, viewer, django_digest, contenttypes, api, taggit, registration, stats, logger, main, restservice
kobocat_1 | Synchronizing apps without migrations:
kobocat_1 | Creating tables…
kobocat_1 | Running deferred SQL…
kobocat_1 | Installing custom SQL…
kobocat_1 | Running migrations:
kobocat_1 | No migrations to apply.
kobocat_1 | KoBoCat tmp clean-up cron installed
kobocat_1 | KoBoCAT media automatic backups disabled.
kobocat_1 | KoBoCAT initialization complete.
kobocat_1 | *** Running /etc/my_init.d/10_syslog-ng.init…
kobocat_1 | Sep 15 23:41:05 kobocat syslog-ng[66]: syslog-ng starting up; version=‘3.5.6’
kobocat_1 | Sep 15 23:41:06 kobocat syslog-ng[66]: EOF on control channel, closing connection;
kobocat_1 | *** Running /etc/my_init.d/11_sync_static.bash…
kobocat_1 | Collecting static files…
kobocat_1 | Your environment is:“onadata.settings.kc_environ”
kobocat_1 | Done
kobocat_1 | Resetting ownership of media directory…
kobocat_1 | Done.
kobocat_1 | %%%%%%% NOTICE %%%%%%%
kobocat_1 | % To avoid long delays, we no longer reset ownership recursively
kobocat_1 | % every time this container starts. If you have trouble with
kobocat_1 | % permissions, please run the following command inside the
kobocat_1 | % kobocat container:
kobocat_1 | % chown -R “wsgi” “/srv/src/kobocat”
kobocat_1 | %%%%%%%%%%%%%%%%%%%%%%
kobocat_1 | Syncing to nginx folder…
kobocat_1 | Done
kobocat_1 | *** Running /etc/rc.local…
kobocat_1 | *** Booting runit daemon…
kobocat_1 | *** Runit started as PID 88
kpi_1 | Applying oauth2_provider.0003_auto_20160316_1503… OK
kpi_1 | Applying oauth2_provider.0004_auto_20160525_1623… OK
kpi_1 | Applying oauth2_provider.0005_auto_20170514_1141… OK
kpi_1 | Applying oauth2_provider.0006_auto_20171214_2232… OK
kpi_1 | Applying registration.0001_initial… OK
kpi_1 | Applying registration.0002_registrationprofile_activated… OK
kpi_1 | Applying registration.0003_migrate_activatedstatus… OK
kpi_1 | Applying registration.0004_supervisedregistrationprofile… OK
kpi_1 | Applying sessions.0001_initial… OK
kpi_1 | Applying taggit.0002_auto_20150616_2121… OK
kpi_1 | Applying taggit.0003_taggeditem_add_unique_index… OK
kpi_1 | Creating superuser…
kpi_1 | Superuser successfully created.
kpi_1 | Copying static files to nginx volume…
kpi_1 | Cleaning up Celery PIDs…
kpi_1 | KoBoForm initialization completed.
kpi_1 | Running kpi container with uWSGI application server.
kpi_1 | [uWSGI] getting INI configuration from /srv/src/kpi/uwsgi.ini
kobocat_1 | Restoring ownership of Logs directory.
kobocat_1 | Sep 15 23:41:08 kobocat cron[95]: (CRON) INFO (pidfile fd = 3)
kobocat_1 | Sep 15 23:41:08 kobocat cron[95]: (CRON) INFO (Running @reboot jobs)
kobocat_1 | Running kobocat container with uWSGI application server.
kobocat_1 | *** Starting uWSGI 2.0.18 (64bit) on [Tue Sep 15 23:41:09 2020] ***
kobocat_1 | compiled with version: 5.4.0 20160609 on 11 June 2019 18:32:31
kobocat_1 | os: Linux-5.3.0-1034-aws #36-Ubuntu SMP Tue Aug 18 08:58:43 UTC 2020
kobocat_1 | nodename: kobocat
kobocat_1 | machine: x86_64
kobocat_1 | clock source: unix
kobocat_1 | pcre jit disabled
kobocat_1 | detected number of CPU cores: 2
kobocat_1 | current working directory: /etc/service/uwsgi_wrong_port_warning
kobocat_1 | detected binary path: /usr/local/bin/uwsgi
kobocat_1 | setuid() to 1000
kobocat_1 | *** WARNING: you are running uWSGI without its master process manager ***
kobocat_1 | your memory page size is 4096 bytes
kobocat_1 | detected max file descriptor number: 1048576
kobocat_1 | lock engine: pthread robust mutexes
kobocat_1 | thunder lock: disabled (you can enable it with --thunder-lock)
kobocat_1 | uwsgi socket 0 bound to TCP address :8000 fd 3
kobocat_1 | Python version: 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609]
kobocat_1 | *** Python threads support is disabled. You can enable it with --enable-threads ***
kobocat_1 | Python main interpreter initialized at 0xaf2f70
kobocat_1 | your server socket listen backlog is limited to 100 connections
kobocat_1 | your mercy for graceful operations on workers is 60 seconds
kobocat_1 | mapped 72920 bytes (71 KB) for 1 cores
kobocat_1 | *** Operational MODE: single process ***
kobocat_1 | WSGI app 0 (mountpoint=’’) ready in 0 seconds on interpreter 0xaf2f70 pid: 97 (default app)
kobocat_1 | *** uWSGI is running in multiple interpreter mode ***
kobocat_1 | spawned uWSGI worker 1 (and the only) (pid: 97, cores: 1)
kobocat_1 | [uWSGI] getting INI configuration from /srv/src/kobocat/docker/kobocat.ini
kobocat_1 | Sep 15 23:50:01 kobocat CRON[130]: (root) CMD (find /tmp/ -mmin +60 -print -delete >/dev/null 2>&1)
kobocat_1 | Sep 16 00:17:01 kobocat CRON[133]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
nginx_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx_1 | 10-listen-on-ipv6-by-default.sh: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx_1 | 10-listen-on-ipv6-by-default.sh: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-init-kobo-nginx.sh
nginx_1 | Creating includes directory
nginx_1 | Overwriting default nginx configuration
nginx_1 | Clearing out any default configurations
nginx_1 | Proxying to kpi through uWSGI.
nginx_1 | Serving static files for container kpi from Nginx.
nginx_1 | Proxying to kobocat through uWSGI.
nginx_1 | Serving static files for container kobocat from Nginx.
nginx_1 | /docker-entrypoint.sh: Configuration complete; ready for start up

6 hours later and I’m at:
Waiting for environment to be ready. It can take a few minutes.


KoBoToolbox has not started yet. This is can be normal with low CPU/RAM computers.

Wait for another 600 seconds?
	1) Yes
	2) No
[1]: ...............

Can some one help-me?

I forgot to mention my docker ps command

docker ps
CONTAINER ID        IMAGE                                             COMMAND                  CREATED             STATUS              PORTS                NAMES
505216eaadf2        kobotoolbox/kobocat:2.020.31                      "/sbin/my_init"          15 minutes ago      Up 15 minutes       8000-8001/tcp        kobofe_kobocat_1
adfdbd9b7c1f        kobotoolbox/kpi:2.020.30-hotfix-2450              "/bin/bash -c 'exec …"   15 minutes ago      Up 15 minutes       8000/tcp             kobofe_kpi_1
cc4dde7d26bb        kobotoolbox/enketo-express-extra-widgets:2.3.10   "docker-entrypoint.s…"   15 minutes ago      Up 15 minutes       8005/tcp             kobofe_enketo_express_1
72fa176082b9        nginx:1.19                                        "/docker-entrypoint.…"   15 minutes ago      Up 15 minutes       0.0.0.0:80->80/tcp   kobofe_nginx_1
ef149e884c31        redis:3.2                                         "docker-entrypoint.s…"   16 minutes ago      Up 16 minutes       6379/tcp             kobobe_redis_cache_1
a373bd82290c        postgis/postgis:9.5-2.5                           "docker-entrypoint.s…"   16 minutes ago      Up 16 minutes       5432/tcp             kobobe_postgres_1
7f7059e6c13b        redis:3.2                                         "docker-entrypoint.s…"   16 minutes ago      Up 16 minutes       6379/tcp             kobobe_redis_main_1

Hello @Herculano,

According to your log, everything is running fine. So my first assumption would be that kobo-install is not able to reach http://kf.xyz.com on port 80.
From your server what does this command curl --resolve *:80:127.0.0.1 http://kf.xyz.com/service_health/ say?
From a different computer, what does curl http://kf.xyz.com/service_health/ say?
Is port 80 opened in security groups for everyone?

1 Like