Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- run.py --setup
- ╔═══════════════════════════════════════════════════════════════╗
- ║ 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?
- [/root/kobo-docker]:
- Please confirm path [/root/kobo-docker]
- 1) Yes
- 2) No
- [1]:
- Do you want to see advanced options?
- 1) Yes
- 2) No
- [2]:
- What kind of installation do you need?
- 1) On your workstation
- 2) On a server
- [2]:
- Public domain name [kobo.local]: 192.168.103.22
- 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]:
- ╔════════════════════════════════════════════════════════════════════╗
- ║ Please note that certificates must be installed on a reverse-proxy ║
- ║ or a load balancer. ║
- ║ KoBoInstall can install one, if needed. ║
- ╚════════════════════════════════════════════════════════════════════╝
- Auto-install HTTPS certificates with Let's Encrypt?
- 1) Yes
- 2) No - Use my own reserve-proxy/load-balancer
- [1]: 2
- Internal port used by reverse proxy is 8080.
- SMTP server:
- SMTP port [25]:
- SMTP user:
- From email address [support@192.168.103.22]:
- Super user's username [super_admin]:
- Super user's password [random]:
- Do you want to activate backups?
- 1) Yes
- 2) No
- [2]:
- --------------------------------------------------------------------------
- run.py --logs
- Attaching to kobofe_kobocat_1, kobofe_nginx_1, kobofe_enketo_express_1, kobofe_k pi_1
- 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/05/28 17:22:44 Waiting for host: tcp://mongo.192.168.10 3.private:27017
- kobocat_1 | 2020/05/28 17:22:44 Connected to tcp://mongo.192.168.103.pri vate: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/05/28 17:22:44 Waiting for host: tcp://postgres.192.168 .103.private:5432
- kobocat_1 | 2020/05/28 17:22:44 Connected to tcp://postgres.192.168.103. private:5432
- kobocat_1 | Container `postgres` up.
- kobocat_1 | Waiting for Postgres service.
- kobocat_1 | postgres.192.168.103.private:5432 - accepting connections
- kobocat_1 | Postgres service running; ensuring kobocat database exists a nd 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/05/28 17:22:47 Waiting for host: tcp://kpi:8000
- kobocat_1 | 2020/05/28 17:23:02 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_frame work, libs, corsheaders, survey_report, sms_support, pure_pagination
- kobocat_1 | Apply all migrations: authtoken, oauth2_provider, reversio n, django_celery_beat, admin, guardian, sessions, sites, auth, viewer, django_di gest, 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-mimetyp e-field... OK
- kobocat_1 | Applying logger.0005_instance_xml_hash... OK
- kobocat_1 | Applying logger.0006_add_validation_status_json_field_in_i nstance_table... OK
- kobocat_1 | Applying logger.0007_add_validate_permission_on_xform... O K
- 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_ins tance... 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
- enketo_express_1 | sha1sum: /srv/src/enketo_express/checksum/config.json.sha1: No such file or directory
- nginx_1 | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
- kobocat_1 | Applying viewer.0002_auto_20160205_1915... OK
- kpi_1 | KoBoForm initializing...
- enketo_express_1 | cat: /srv/src/enketo_express/checksum/last_build_commit.txt: No such file or directory
- nginx_1 | *** Running /etc/my_init.d/10_syslog-ng.init...
- kobocat_1 | Applying viewer.0003_auto_20171123_1521... OK
- kpi_1 | Waiting for container `mongo`.
- enketo_express_1 | Grunt needs to be run!
- nginx_1 | May 28 17:22:44 nginx syslog-ng[10]: syslog-ng starting up; version='3.5.6'
- kobocat_1 | Running migrations.
- kpi_1 | 2020/05/28 17:22:44 Waiting for: tcp://mongo.192.168.103.pri vate:27017
- enketo_express_1 | Running "shell:clean-locales" (shell) task
- nginx_1 | May 28 17:22:45 nginx syslog-ng[10]: EOF on control channel, closing connection;
- kobocat_1 | Your environment is:"onadata.settings.kc_environ"
- kpi_1 | 2020/05/28 17:22:44 Connected to tcp://mongo.192.168.103.pri vate:27017
- enketo_express_1 |
- nginx_1 | *** Running /etc/rc.local...
- kobocat_1 | Operations to perform:
- kpi_1 | Container `mongo` up.
- enketo_express_1 | Running "i18next:locales" (i18next) task
- nginx_1 | *** Booting runit daemon...
- kobocat_1 | Synchronize unmigrated apps: gis, staticfiles, admindocs, messages, django_extensions, readonly, humanize, export, django_nose, rest_frame work, libs, corsheaders, survey_report, sms_support, pure_pagination
- kpi_1 | Waiting for container `postgres`.
- enketo_express_1 |
- nginx_1 | *** Runit started as PID 16
- kobocat_1 | Apply all migrations: authtoken, oauth2_provider, reversio n, django_celery_beat, admin, guardian, sessions, sites, auth, viewer, django_di gest, contenttypes, api, taggit, registration, stats, logger, main, restservice
- kpi_1 | 2020/05/28 17:22:44 Waiting for: tcp://postgres.192.168.103. private:5432
- enketo_express_1 | Running "widgets" task
- nginx_1 | May 28 17:22:45 nginx cron[20]: (CRON) INFO (pidfile fd = 3)
- kobocat_1 | Synchronizing apps without migrations:
- kpi_1 | 2020/05/28 17:22:44 Connected to tcp://postgres.192.168.103. private:5432
- enketo_express_1 | File public/js/build/widgets.js created
- nginx_1 | Overwrite default nginx configuration
- kobocat_1 | Creating tables...
- kpi_1 | Container `postgres` up.
- enketo_express_1 | File app/views/styles/component/_widgets.scss created
- nginx_1 | May 28 17:22:45 nginx cron[20]: (CRON) INFO (Running @reboot jobs)
- kobocat_1 | Running deferred SQL...
- kpi_1 | Waiting for Postgres service.
- enketo_express_1 |
- nginx_1 | Clearing out any default configurations.
- kobocat_1 | Installing custom SQL...
- kpi_1 | postgres.192.168.103.private:5432 - accepting connections
- enketo_express_1 | Running "shell:clean-css" (shell) task
- nginx_1 | Proxying to `kobocat` through uWSGI.
- kobocat_1 | Running migrations:
- kpi_1 | Postgres service running; ensuring koboform database exists and has PostGIS extensions...
- enketo_express_1 |
- nginx_1 | Serving static files for container kobocat from Nginx.
- kobocat_1 | No migrations to apply.
- kpi_1 | CREATE DATABASE
- enketo_express_1 | Running "system-sass-variables:create" (system-sass-variable s) task
- nginx_1 | Proxying to `kpi` through uWSGI.
- kobocat_1 | KoBoCat tmp clean-up cron installed
- kpi_1 | You are now connected to database "koboform" as user "kobo".
- enketo_express_1 | File app/views/styles/component/_system_variables.scss creat ed
- nginx_1 | Serving static files for container kpi from Nginx.
- kobocat_1 | KoBoCAT media automatic backups disabled.
- kpi_1 | CREATE EXTENSION
- enketo_express_1 |
- kobocat_1 | KoBoCAT initialization complete.
- kpi_1 | CREATE EXTENSION
- enketo_express_1 | Running "sass:compile" (sass) task
- kobocat_1 | *** Running /etc/my_init.d/10_syslog-ng.init...
- kpi_1 | CREATE EXTENSION
- enketo_express_1 |
- kobocat_1 | May 28 17:23:29 kobocat syslog-ng[87]: syslog-ng starting up ; version='3.5.6'
- kpi_1 | CREATE EXTENSION
- enketo_express_1 | Running "shell:clean-js" (shell) task
- kobocat_1 | May 28 17:23:30 kobocat syslog-ng[87]: EOF on control channe l, closing connection;
- kpi_1 | Postgres database koboform ready for use!
- enketo_express_1 |
- kobocat_1 | *** Running /etc/my_init.d/11_sync_static.bash...
- kpi_1 | Running migrations...
- enketo_express_1 | Running "client-config-file:create" (client-config-file) tas k
- kobocat_1 | Collecting static files...
- kpi_1 | Operations to perform:
- enketo_express_1 | File public/js/build/client-config.js created
- kobocat_1 | Your environment is:"onadata.settings.kc_environ"
- 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
- enketo_express_1 |
- kobocat_1 | Done
- kpi_1 | Running migrations:
- enketo_express_1 | Running "widgets" task
- kobocat_1 | Resetting ownership of media directory...
- kpi_1 | Applying contenttypes.0001_initial... OK
- enketo_express_1 | File public/js/build/widgets.js created
- kobocat_1 | Done.
- kpi_1 | Applying auth.0001_initial... OK
- enketo_express_1 | File app/views/styles/component/_widgets.scss created
- kobocat_1 | %%%%%%% NOTICE %%%%%%%
- kpi_1 | Applying admin.0001_initial... OK
- enketo_express_1 |
- kobocat_1 | % To avoid long delays, we no longer reset ownership *recurs ively*
- kpi_1 | Applying admin.0002_logentry_remove_auto_add... OK
- enketo_express_1 | Running "shell:rollup" (shell) task
- kobocat_1 | % every time this container starts. If you have trouble with
- kpi_1 | Applying admin.0003_logentry_add_action_flag_choices... OK
- enketo_express_1 | >> public/js/src/enketo-webform.js → public/js/build/enketo- webform-bundle.js...
- kobocat_1 | % permissions, please run the following command inside the
- kpi_1 | Applying contenttypes.0002_remove_content_type_name... OK
- enketo_express_1 | >> (!) Circular dependency: public/js/src/module/gui.js -> n ode_modules/enketo-core/src/js/print.js -> public/js/src/module/gui.js
- kobocat_1 | % `kobocat` container:
- kpi_1 | Applying auth.0002_alter_permission_name_max_length... OK
- enketo_express_1 | >> created public/js/build/enketo-webform-bundle.js in 10.1s
- kobocat_1 | % chown -R "wsgi" "/srv/src/kobocat"
- kpi_1 | Applying auth.0003_alter_user_email_max_length... OK
- enketo_express_1 | >> public/js/src/enketo-webform-edit.js → public/js/build/en keto-webform-edit-bundle.js...
- kobocat_1 | %%%%%%%%%%%%%%%%%%%%%%
- kpi_1 | Applying auth.0004_alter_user_username_opts... OK
- enketo_express_1 | >> (!) Circular dependency: public/js/src/module/gui.js -> n ode_modules/enketo-core/src/js/print.js -> public/js/src/module/gui.js
- kobocat_1 | Syncing to nginx folder...
- kpi_1 | Applying auth.0005_alter_user_last_login_null... OK
- enketo_express_1 | >> created public/js/build/enketo-webform-edit-bundle.js in 9.8s
- kobocat_1 | Done
- kpi_1 | Applying auth.0006_require_contenttypes_0002... OK
- enketo_express_1 | >> public/js/src/enketo-webform-view.js → public/js/build/en keto-webform-view-bundle.js...
- kobocat_1 | *** Running /etc/rc.local...
- kpi_1 | Applying auth.0007_alter_validators_add_error_messages... OK
- enketo_express_1 | >> (!) Circular dependency: public/js/src/module/gui.js -> n ode_modules/enketo-core/src/js/print.js -> public/js/src/module/gui.js
- kobocat_1 | *** Booting runit daemon...
- kpi_1 | Applying auth.0008_alter_user_username_max_length... OK
- enketo_express_1 | >> created public/js/build/enketo-webform-view-bundle.js in 11s
- kpi_1 | Applying auth.0009_alter_user_last_name_max_length... OK
- kobocat_1 | *** Runit started as PID 115
- enketo_express_1 | >> public/js/src/enketo-offline-fallback.js → public/js/buil d/enketo-offline-fallback-bundle.js...
- kpi_1 | Applying auth.0010_alter_group_name_max_length... OK
- kobocat_1 | May 28 17:23:33 kobocat cron[122]: (CRON) INFO (pidfile fd = 3)
- enketo_express_1 | >> created public/js/build/enketo-offline-fallback-bundle.js in 46ms
- kpi_1 | Applying auth.0011_update_proxy_permissions... OK
- kobocat_1 | May 28 17:23:33 kobocat cron[122]: (CRON) INFO (Running @reb oot jobs)
- enketo_express_1 |
- kpi_1 | Applying authtoken.0001_initial... OK
- kobocat_1 | Restoring ownership of Logs directory.
- enketo_express_1 | Running "terser:all" (terser) task
- kpi_1 | Applying authtoken.0002_auto_20160226_1747... OK
- kobocat_1 | Running `kobocat` container with uWSGI application server.
- enketo_express_1 | >> TypeError: Cannot read property 'resolve_defines' of null
- kpi_1 | Applying database.0001_initial... OK
- kobocat_1 | [uWSGI] getting INI configuration from /srv/src/kobocat/dock er/kobocat.ini
- enketo_express_1 | >> TypeError: Cannot read property 'resolve_defines' of null
- kpi_1 | Applying database.0002_auto_20190129_2304... OK
- kobocat_1 | May 28 17:50:01 kobocat CRON[177]: (root) CMD (find /tmp/ -m min +60 -print -delete >/dev/null 2>&1)
- enketo_express_1 | >> TypeError: Cannot read property 'resolve_defines' of null
- kpi_1 | Applying django_celery_beat.0001_initial... OK
- enketo_express_1 | >> TypeError: Cannot read property 'resolve_defines' of null
- kpi_1 | Applying django_celery_beat.0002_auto_20161118_0346... OK
- enketo_express_1 | >> 4 grunt.util.pluralize(createdFiles, 'file/files') create d.
- kpi_1 | Applying django_celery_beat.0003_auto_20161209_0049... OK
- enketo_express_1 |
- kpi_1 | Applying django_celery_beat.0004_auto_20170221_0000... OK
- enketo_express_1 | Done.
- kpi_1 | Applying django_celery_beat.0005_add_solarschedule_events_ choices... OK
- enketo_express_1 |
- kpi_1 | Applying django_celery_beat.0006_auto_20180322_0932... OK
- enketo_express_1 |
- kpi_1 | Applying django_celery_beat.0007_auto_20180521_0826... OK
- enketo_express_1 | Execution Time (2020-05-28 17:22:45 UTC-0)
- kpi_1 | Applying django_celery_beat.0008_auto_20180914_1922... OK
- enketo_express_1 | loading tasks 969ms ▇ 1%
- kpi_1 | Applying django_celery_beat.0006_auto_20180210_1226... OK
- enketo_express_1 | shell:rollup 31.6s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 36%
- kpi_1 | Applying django_celery_beat.0006_periodictask_priority... OK
- enketo_express_1 | terser:all 55.2s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 62%
- kpi_1 | Applying django_celery_beat.0009_periodictask_headers... O K
- enketo_express_1 | Total 1m 28.5s
- kpi_1 | Applying django_celery_beat.0010_auto_20190429_0326... OK
- enketo_express_1 |
- kpi_1 | Applying django_celery_beat.0011_auto_20190508_0153... OK
- enketo_express_1 | Building IE11 bundle...
- kpi_1 | Applying django_digest.0001_initial... OK
- enketo_express_1 | Running "shell:clean-js" (shell) task
- kpi_1 | Applying external_integrations.0001_add_allowed_cors_origi n_model... OK
- enketo_express_1 |
- kpi_1 | Applying help.0001_initial... OK
- enketo_express_1 | Running "client-config-file:create" (client-config-file) tas k
- kpi_1 | Applying reversion.0001_squashed_0004_auto_20160611_1202.. . OK
- enketo_express_1 | File public/js/build/client-config.js created
- kpi_1 | Applying taggit.0001_initial... OK
- enketo_express_1 |
- kpi_1 | Applying kpi.0001_initial... OK
- enketo_express_1 | Running "widgets" task
- kpi_1 | Applying kpi.0002_auto_20150619_0603... OK
- enketo_express_1 | File public/js/build/widgets.js created
- kpi_1 | Applying kpi.0003_assetsnapshot... OK
- enketo_express_1 | File app/views/styles/component/_widgets.scss created
- kpi_1 | Applying kpi.0004_default_permissions_1910... OK
- enketo_express_1 |
- kpi_1 | Applying kpi.0005_taguid... OK
- enketo_express_1 | Running "shell:rollup" (shell) task
- kpi_1 | Applying kpi.0006_importtask_messages... OK
- enketo_express_1 | >> public/js/src/enketo-webform.js → public/js/build/enketo- webform-bundle.js...
- kpi_1 | Applying kpi.0007_importtask_defaults... OK
- enketo_express_1 | >> (!) Circular dependency: public/js/src/module/gui.js -> n ode_modules/enketo-core/src/js/print.js -> public/js/src/module/gui.js
- kpi_1 | Applying kpi.0008_authorizedapplication... OK
- enketo_express_1 | >> created public/js/build/enketo-webform-bundle.js in 9s
- kpi_1 | Applying kpi.0009_auto_20160315_0343... OK
- enketo_express_1 | >> public/js/src/enketo-webform-edit.js → public/js/build/en keto-webform-edit-bundle.js...
- kpi_1 | Applying kpi.0010_asset_deployment_data... OK
- enketo_express_1 | >> (!) Circular dependency: public/js/src/module/gui.js -> n ode_modules/enketo-core/src/js/print.js -> public/js/src/module/gui.js
- kpi_1 | Applying kpi.0011_explode_asset_deployments... migrated 0 assets
- enketo_express_1 | >> created public/js/build/enketo-webform-edit-bundle.js in 7.7s
- kpi_1 | !!! Only the most recent deployment of each asset has been
- enketo_express_1 | >> public/js/src/enketo-webform-view.js → public/js/build/en keto-webform-view-bundle.js...
- kpi_1 | !!! retained. Use the command `./manage.py sync_kobocat_xf orms`
- enketo_express_1 | >> (!) Circular dependency: public/js/src/module/gui.js -> n ode_modules/enketo-core/src/js/print.js -> public/js/src/module/gui.js
- kpi_1 | !!! to create new assets for any orphaned KC forms.
- enketo_express_1 | >> created public/js/build/enketo-webform-view-bundle.js in 9.3s
- kpi_1 | OK
- enketo_express_1 | >> public/js/src/enketo-offline-fallback.js → public/js/buil d/enketo-offline-fallback-bundle.js...
- kpi_1 | Applying kpi.0012_onetimeauthenticationkey... OK
- enketo_express_1 | >> created public/js/build/enketo-offline-fallback-bundle.js in 22ms
- kpi_1 | Applying kpi.0013_uid_field... OK
- enketo_express_1 |
- kpi_1 | Applying kpi.0014_discoverable_subscribable_collections... OK
- enketo_express_1 | Running "shell:ie11polyfill" (shell) task
- kpi_1 | Applying kpi.0015_assetversion...
- enketo_express_1 | >> % Total % Received % Xferd Average Speed Tim
- kpi_1 | This might take a while. If it is too slow, you may want to re-run the
- enketo_express_1 | >> e Time Time Current
- kpi_1 | migration with SKIP_HEAVY_MIGRATIONS=True and ru n the management command
- enketo_express_1 | >> Dload Upload Total Spent Left Speed
- kpi_1 | (populate_assetversions) to prepare the versions .
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- kpi_1 |
- enketo_express_1 | >> 100 99283 100 99283
- kpi_1 | created 0 AssetVersion records
- enketo_express_1 | >> 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k
- kpi_1 | migrated deployment ids
- enketo_express_1 |
- kpi_1 | OK
- enketo_express_1 | Running "shell:babel" (shell) task
- kpi_1 | Applying kpi.0016_asset_settings... OK
- enketo_express_1 | >> [BABEL] Note: The code generator has deoptimised the styl ing of /srv/src/enketo_express/public/js/build/enketo-webform-bundle.js as it ex ceeds the max of 500KB.
- kpi_1 | Applying kpi.0017_assetversion_uid_aliases_20170608... OK
- enketo_express_1 | >> [BABEL] Note: The code generator has deoptimised the styl ing of /srv/src/enketo_express/public/js/build/enketo-webform-edit-bundle.js as it exceeds the max of 500KB.
- enketo_express_1 | >> [BABEL] Note: The code generator has deoptimised the styl ing of /srv/src/enketo_express/public/js/build/enketo-webform-view-bundle.js as it exceeds the max of 500KB.
- enketo_express_1 |
- enketo_express_1 | Running "shell:browserify" (shell) task
- enketo_express_1 | >> npx: installed 146 in 22.249s
- kpi_1 | Applying kpi.0018_export_task... OK
- enketo_express_1 | >> npx: installed 146 in 5.406s
- kpi_1 | Applying kpi.0019_add_report_custom_field... OK
- enketo_express_1 | >> npx: installed 146 in 5.463s
- kpi_1 | Applying kpi.0020_add_validate_submissions_permission_to_a sset... OK
- enketo_express_1 | >> npx: installed 146 in 6.318s
- kpi_1 | Applying kpi.0021_map-custom-styles... OK
- enketo_express_1 |
- kpi_1 | Applying kpi.0022_assetfile... OK
- enketo_express_1 | Running "terser:all" (terser) task
- kpi_1 | Applying hook.0001_tables_creation... OK
- enketo_express_1 | >> 8 grunt.util.pluralize(createdFiles, 'file/files') create d.
- kpi_1 | Applying hook.0002_add_email_notifications_field... OK
- enketo_express_1 |
- kpi_1 | Applying hook.0003_add_subset_fields_to_hook_model... OK
- enketo_express_1 | Done.
- kpi_1 | Applying hook.0004_add_payload_template... OK
- enketo_express_1 |
- kpi_1 | Applying hook.0005_allow_blank_subset_fields... OK
- enketo_express_1 |
- kpi_1 | Applying hub.0001_initial... OK
- enketo_express_1 | Execution Time (2020-05-28 17:24:14 UTC-0)
- kpi_1 | Applying hub.0002_formbuilderpreference... OK
- enketo_express_1 | shell:rollup 26.8s ▇▇▇▇▇ 10%
- kpi_1 | Applying hub.0003_auto_20160318_1808... OK
- enketo_express_1 | shell:babel 1m 4.6s ▇▇▇▇▇▇▇▇▇▇▇ 25%
- kpi_1 | Applying hub.0004_configurationfile... OK
- enketo_express_1 | shell:browserify 53.3s ▇▇▇▇▇▇▇▇▇ 20%
- kpi_1 | Applying hub.0005_perusersetting... OK
- enketo_express_1 | terser:all 1m 56.1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 44%
- kpi_1 | Applying hub.0006_remove_formbuilder_preference_table... O K
- enketo_express_1 | Total 4m 22.4s
- kpi_1 | Applying hub.0007_alter_jsonfield_to_jsonbfield... OK
- enketo_express_1 |
- kpi_1 | Applying kpi.0023_partial_permissions... OK
- enketo_express_1 | Saving current commit...
- kpi_1 | Applying kpi.0024_alter_jsonfield_to_jsonbfield...
- enketo_express_1 | Saving config hash...
- kpi_1 | Scanned | # records need fixing
- enketo_express_1 | Creating .not-empty files
- kpi_1 | Asset._deployment_data | 0
- enketo_express_1 |
- kpi_1 | Asset.content | 0
- enketo_express_1 | -------------
- kpi_1 | Asset.summary | 0
- enketo_express_1 |
- kpi_1 | AssetSnapshot.details | 0
- enketo_express_1 | __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\____ _
- kpi_1 | AssetSnapshot.source | 0
- enketo_express_1 | _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\_ __
- kpi_1 | ExportTask.data | 0
- enketo_express_1 | _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\ \__
- kpi_1 | ExportTask.messages | 0
- enketo_express_1 | _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\ /___
- kpi_1 | ImportTask.data | 0
- enketo_express_1 | _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\// _____
- kpi_1 | ImportTask.messages | 0
- enketo_express_1 | _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//__ ______
- kpi_1 |
- enketo_express_1 | _\/\\\_____________\/\\\_____________\/\\\___/\\\/____ _______
- kpi_1 | Database is ready.
- enketo_express_1 | _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\ \\\\\\\_
- kpi_1 | Proceeding with migration 0024 (text -> jsonb)
- enketo_express_1 | _\///______________\///______________\///__\//////// ///////__
- kpi_1 |
- enketo_express_1 |
- kpi_1 | This might take a while depending on your database size.
- enketo_express_1 |
- kpi_1 | If it's too slow, consider stopping this and instead run ning
- enketo_express_1 | Runtime Edition
- kpi_1 | ./manage.py migrate_json_text_to_jsonb
- enketo_express_1 |
- 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
- kpi_1 | Applying oauth2_provider.0003_auto_20160316_1503... OK
- kpi_1 | Applying oauth2_provider.0004_auto_20160525_1623... OK
- enketo_express_1 | PM2 is a Production Process Manager for Node.js appl ications
- enketo_express_1 | with a built-in Load Balancer.
- enketo_express_1 |
- enketo_express_1 | Start and Daemonize any application:
- enketo_express_1 | $ pm2 start app.js
- enketo_express_1 |
- enketo_express_1 | Load Balance 4 instances of api.js:
- enketo_express_1 | $ pm2 start api.js -i 4
- enketo_express_1 |
- enketo_express_1 | Monitor in production:
- enketo_express_1 | $ pm2 monitor
- enketo_express_1 |
- enketo_express_1 | Make pm2 auto-boot at server restart:
- enketo_express_1 | $ pm2 startup
- enketo_express_1 |
- enketo_express_1 | To go further checkout:
- enketo_express_1 | http://pm2.io/
- enketo_express_1 |
- enketo_express_1 |
- enketo_express_1 | -------------
- enketo_express_1 |
- enketo_express_1 | pm2 launched in no-daemon mode (you can add DEBUG="*" env va riable to get more messages)
- enketo_express_1 | 2020-05-28T17:28:37: PM2 log: Launching in no daemon mode
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [PM2] Starting /srv/src/enketo _express/app.js in fork_mode (1 instance)
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: App [enketo:0] starting in -fo rk mode-
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: App [enketo:0] online
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [PM2] Done.
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: ┌─────┬───────────┬─────────── ──┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬─────── ───┬──────────┬──────────┐
- enketo_express_1 | │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
- enketo_express_1 | ├─────┼───────────┼─────────────┼─────────┼─────────┼─────── ───┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
- enketo_express_1 | │ 0 │ enketo │ default │ 1.86.3 │ fork │ 286 │ 0s │ 0 │ online │ 0% │ 25.2mb │ root │ disabled │
- 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.in i
- enketo_express_1 | └─────┴───────────┴─────────────┴─────────┴─────────┴─────── ───┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [--no-daemon] Continue to stre am logs
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [--no-daemon] Exit on target P M2 exit pid=1
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [PM2] This PM2 is not UP TO DA TE
- enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [PM2] Upgrade to version 4.4.0
- enketo_express_1 | 17:28:38 PM2 | [PM2] This PM2 is not UP TO DATE
- enketo_express_1 | 17:28:38 PM2 | [PM2] Upgrade to version 4.4.0
- enketo_express_1 | 17:28:39 0|enketo | Worker 8 ready for duty at port 8005! (e nvironment: production)
- enketo_express_1 | 17:28:39 0|enketo | Worker 4 ready for duty at port 8005! (e nvironment: production)
- enketo_express_1 | 17:28:39 0|enketo | Worker 6 ready for duty at port 8005! (e nvironment: production)
- enketo_express_1 | 17:28:39 0|enketo | Worker 1 ready for duty at port 8005! (e nvironment: production)
- enketo_express_1 | 17:28:39 0|enketo | Worker 7 ready for duty at port 8005! (e nvironment: production)
- enketo_express_1 | 17:28:39 0|enketo | Worker 5 ready for duty at port 8005! (e nvironment: production)
- enketo_express_1 | 17:28:39 0|enketo | Worker 2 ready for duty at port 8005! (e nvironment: production)
- enketo_express_1 | 17:28:39 0|enketo | Worker 3 ready for duty at port 8005! (e nvironment: production)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement