Advertisement
Guest User

Untitled

a guest
May 28th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.56 KB | None | 0 0
  1. run.py --setup
  2. ╔═══════════════════════════════════════════════════════════════╗
  3. ║ Welcome to KoBoInstall! ║
  4. ║ ║
  5. ║ You are going to be asked some questions that will ║
  6. ║ determine how to build the configuration of `KoBoToolBox`. ║
  7. ║ ║
  8. ║ Some questions already have default values (within brackets). ║
  9. ║ Just press `enter` to accept the default value or enter `-` ║
  10. ║ to remove previously entered value. ║
  11. ║ Otherwise choose between choices or type your answer. ║
  12. ╚═══════════════════════════════════════════════════════════════╝
  13. Where do you want to install?
  14. [/root/kobo-docker]:
  15. Please confirm path [/root/kobo-docker]
  16. 1) Yes
  17. 2) No
  18. [1]:
  19. Do you want to see advanced options?
  20. 1) Yes
  21. 2) No
  22. [2]:
  23. What kind of installation do you need?
  24. 1) On your workstation
  25. 2) On a server
  26. [2]:
  27. Public domain name [kobo.local]: 192.168.103.22
  28. KPI sub domain [kf]:
  29. KoBoCat sub domain [kc]:
  30. Enketo Express sub domain name [ee]:
  31. Do you want to use HTTPS?
  32. 1) Yes
  33. 2) No
  34. [1]:
  35. ╔════════════════════════════════════════════════════════════════════╗
  36. ║ Please note that certificates must be installed on a reverse-proxy ║
  37. ║ or a load balancer. ║
  38. ║ KoBoInstall can install one, if needed. ║
  39. ╚════════════════════════════════════════════════════════════════════╝
  40. Auto-install HTTPS certificates with Let's Encrypt?
  41. 1) Yes
  42. 2) No - Use my own reserve-proxy/load-balancer
  43. [1]: 2
  44. Internal port used by reverse proxy is 8080.
  45. SMTP server:
  46. SMTP port [25]:
  47. SMTP user:
  48. From email address [support@192.168.103.22]:
  49. Super user's username [super_admin]:
  50. Super user's password [random]:
  51. Do you want to activate backups?
  52. 1) Yes
  53. 2) No
  54. [2]:
  55.  
  56.  
  57.  
  58. --------------------------------------------------------------------------
  59.  
  60. run.py --logs
  61.  
  62. Attaching to kobofe_kobocat_1, kobofe_nginx_1, kobofe_enketo_express_1, kobofe_k pi_1
  63. kobocat_1 | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
  64. kobocat_1 | *** Running /etc/my_init.d/01_wait_for_mongo.bash...
  65. kobocat_1 | Waiting for container `mongo`.
  66. kobocat_1 | 2020/05/28 17:22:44 Waiting for host: tcp://mongo.192.168.10 3.private:27017
  67. kobocat_1 | 2020/05/28 17:22:44 Connected to tcp://mongo.192.168.103.pri vate:27017
  68. kobocat_1 | Container `mongo` up.
  69. kobocat_1 | *** Running /etc/my_init.d/02_wait_for_postgres.bash...
  70. kobocat_1 | Waiting for container `postgres`.
  71. kobocat_1 | 2020/05/28 17:22:44 Waiting for host: tcp://postgres.192.168 .103.private:5432
  72. kobocat_1 | 2020/05/28 17:22:44 Connected to tcp://postgres.192.168.103. private:5432
  73. kobocat_1 | Container `postgres` up.
  74. kobocat_1 | Waiting for Postgres service.
  75. kobocat_1 | postgres.192.168.103.private:5432 - accepting connections
  76. kobocat_1 | Postgres service running; ensuring kobocat database exists a nd has PostGIS extensions...
  77. kobocat_1 | CREATE DATABASE
  78. kobocat_1 | You are now connected to database "kobocat" as user "kobo".
  79. kobocat_1 | CREATE EXTENSION
  80. kobocat_1 | CREATE EXTENSION
  81. kobocat_1 | CREATE EXTENSION
  82. kobocat_1 | CREATE EXTENSION
  83. kobocat_1 | Postgres database kobocat ready for use!
  84. kobocat_1 | *** Running /etc/my_init.d/03_wait_for_kpi.bash...
  85. kobocat_1 | Waiting for container `kpi`.
  86. kobocat_1 | 2020/05/28 17:22:47 Waiting for host: tcp://kpi:8000
  87. kobocat_1 | 2020/05/28 17:23:02 Connected to tcp://kpi:8000
  88. kobocat_1 | Container `kpi` up.
  89. kobocat_1 | Waiting for `kpi` web service.
  90. kobocat_1 | `kpi` web service ready.
  91. kobocat_1 | *** Running /etc/my_init.d/10_init_kobocat.bash...
  92. kobocat_1 | KoBoCAT intializing...
  93. kobocat_1 | Synchronizing database.
  94. kobocat_1 | Your environment is:"onadata.settings.kc_environ"
  95. kobocat_1 | Operations to perform:
  96. 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
  97. 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
  98. kobocat_1 | Synchronizing apps without migrations:
  99. kobocat_1 | Creating tables...
  100. kobocat_1 | Creating table corsheaders_corsmodel
  101. kobocat_1 | Running deferred SQL...
  102. kobocat_1 | Installing custom SQL...
  103. kobocat_1 | Running migrations:
  104. kobocat_1 | Rendering model states... DONE
  105. kobocat_1 | Applying contenttypes.0001_initial... OK
  106. kobocat_1 | Applying auth.0001_initial... OK
  107. kobocat_1 | Applying admin.0001_initial... OK
  108. kobocat_1 | Applying taggit.0001_initial... OK
  109. kobocat_1 | Applying taggit.0002_auto_20150616_2121... OK
  110. kobocat_1 | Applying logger.0001_initial... OK
  111. kobocat_1 | Applying contenttypes.0002_remove_content_type_name... OK
  112. kobocat_1 | Applying auth.0002_alter_permission_name_max_length... OK
  113. kobocat_1 | Applying auth.0003_alter_user_email_max_length... OK
  114. kobocat_1 | Applying auth.0004_alter_user_username_opts... OK
  115. kobocat_1 | Applying auth.0005_alter_user_last_login_null... OK
  116. kobocat_1 | Applying auth.0006_require_contenttypes_0002... OK
  117. kobocat_1 | Applying main.0001_initial... OK
  118. kobocat_1 | Applying api.0001_initial... OK
  119. kobocat_1 | Applying authtoken.0001_initial... OK
  120. kobocat_1 | Applying django_celery_beat.0001_initial... OK
  121. kobocat_1 | Applying django_celery_beat.0002_auto_20161118_0346... OK
  122. kobocat_1 | Applying django_celery_beat.0003_auto_20161209_0049... OK
  123. kobocat_1 | Applying django_celery_beat.0004_auto_20170221_0000... OK
  124. kobocat_1 | Applying django_celery_beat.0005_add_solarschedule_events_ choices... OK
  125. kobocat_1 | Applying django_celery_beat.0006_auto_20180210_1226... OK
  126. kobocat_1 | Applying django_digest.0001_initial... OK
  127. kobocat_1 | Applying guardian.0001_initial... OK
  128. kobocat_1 | Applying logger.0002_attachment_filename_length... OK
  129. kobocat_1 | Applying logger.0003_add-index-on-attachment-media-file... OK
  130. kobocat_1 | Applying logger.0004_increase-length-of-attachment-mimetyp e-field... OK
  131. kobocat_1 | Applying logger.0005_instance_xml_hash... OK
  132. kobocat_1 | Applying logger.0006_add_validation_status_json_field_in_i nstance_table... OK
  133. kobocat_1 | Applying logger.0007_add_validate_permission_on_xform... O K
  134. kobocat_1 | Applying logger.0008_add_instance_is_synced_with_mongo_and _xform_has_kpi_hooks... OK
  135. kobocat_1 | Applying logger.0009_add_posted_to_kpi_field_to_logger_ins tance... OK
  136. kobocat_1 | Applying logger.0010_attachment_media_file_basename... OK
  137. kobocat_1 | Applying logger.0011_add-index-to-instance-uuid_and_xform_ uuid... OK
  138. kobocat_1 | Applying logger.0012_add_asset_uid_to_xform... OK
  139. kobocat_1 | Applying main.0002_auto_20160205_1915... OK
  140. kobocat_1 | Applying oauth2_provider.0001_initial... OK
  141. kobocat_1 | Applying oauth2_provider.0002_08_updates... OK
  142. kobocat_1 | Applying registration.0001_initial... OK
  143. kobocat_1 | Applying registration.0002_registrationprofile_activated.. . OK
  144. kobocat_1 | Applying registration.0003_migrate_activatedstatus... OK
  145. kobocat_1 | Applying restservice.0001_initial... OK
  146. kobocat_1 | Applying restservice.0002_add_related_name_with_delete_on_ cascade... OK
  147. kobocat_1 | Applying restservice.0003_remove_deprecated_services... OK
  148. kobocat_1 | Applying reversion.0001_squashed_0004_auto_20160611_1202.. . OK
  149. kobocat_1 | Applying sessions.0001_initial... OK
  150. kobocat_1 | Applying sites.0001_initial... OK
  151. kobocat_1 | Applying stats.0001_initial... OK
  152. kobocat_1 | Applying viewer.0001_initial... OK
  153. enketo_express_1 | sha1sum: /srv/src/enketo_express/checksum/config.json.sha1: No such file or directory
  154. nginx_1 | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
  155. kobocat_1 | Applying viewer.0002_auto_20160205_1915... OK
  156. kpi_1 | KoBoForm initializing...
  157. enketo_express_1 | cat: /srv/src/enketo_express/checksum/last_build_commit.txt: No such file or directory
  158. nginx_1 | *** Running /etc/my_init.d/10_syslog-ng.init...
  159. kobocat_1 | Applying viewer.0003_auto_20171123_1521... OK
  160. kpi_1 | Waiting for container `mongo`.
  161. enketo_express_1 | Grunt needs to be run!
  162. nginx_1 | May 28 17:22:44 nginx syslog-ng[10]: syslog-ng starting up; version='3.5.6'
  163. kobocat_1 | Running migrations.
  164. kpi_1 | 2020/05/28 17:22:44 Waiting for: tcp://mongo.192.168.103.pri vate:27017
  165. enketo_express_1 | Running "shell:clean-locales" (shell) task
  166. nginx_1 | May 28 17:22:45 nginx syslog-ng[10]: EOF on control channel, closing connection;
  167. kobocat_1 | Your environment is:"onadata.settings.kc_environ"
  168. kpi_1 | 2020/05/28 17:22:44 Connected to tcp://mongo.192.168.103.pri vate:27017
  169. enketo_express_1 |
  170. nginx_1 | *** Running /etc/rc.local...
  171. kobocat_1 | Operations to perform:
  172. kpi_1 | Container `mongo` up.
  173. enketo_express_1 | Running "i18next:locales" (i18next) task
  174. nginx_1 | *** Booting runit daemon...
  175. 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
  176. kpi_1 | Waiting for container `postgres`.
  177. enketo_express_1 |
  178. nginx_1 | *** Runit started as PID 16
  179. 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
  180. kpi_1 | 2020/05/28 17:22:44 Waiting for: tcp://postgres.192.168.103. private:5432
  181. enketo_express_1 | Running "widgets" task
  182. nginx_1 | May 28 17:22:45 nginx cron[20]: (CRON) INFO (pidfile fd = 3)
  183. kobocat_1 | Synchronizing apps without migrations:
  184. kpi_1 | 2020/05/28 17:22:44 Connected to tcp://postgres.192.168.103. private:5432
  185. enketo_express_1 | File public/js/build/widgets.js created
  186. nginx_1 | Overwrite default nginx configuration
  187. kobocat_1 | Creating tables...
  188. kpi_1 | Container `postgres` up.
  189. enketo_express_1 | File app/views/styles/component/_widgets.scss created
  190. nginx_1 | May 28 17:22:45 nginx cron[20]: (CRON) INFO (Running @reboot jobs)
  191. kobocat_1 | Running deferred SQL...
  192. kpi_1 | Waiting for Postgres service.
  193. enketo_express_1 |
  194. nginx_1 | Clearing out any default configurations.
  195. kobocat_1 | Installing custom SQL...
  196. kpi_1 | postgres.192.168.103.private:5432 - accepting connections
  197. enketo_express_1 | Running "shell:clean-css" (shell) task
  198. nginx_1 | Proxying to `kobocat` through uWSGI.
  199. kobocat_1 | Running migrations:
  200. kpi_1 | Postgres service running; ensuring koboform database exists and has PostGIS extensions...
  201. enketo_express_1 |
  202. nginx_1 | Serving static files for container kobocat from Nginx.
  203. kobocat_1 | No migrations to apply.
  204. kpi_1 | CREATE DATABASE
  205. enketo_express_1 | Running "system-sass-variables:create" (system-sass-variable s) task
  206. nginx_1 | Proxying to `kpi` through uWSGI.
  207. kobocat_1 | KoBoCat tmp clean-up cron installed
  208. kpi_1 | You are now connected to database "koboform" as user "kobo".
  209. enketo_express_1 | File app/views/styles/component/_system_variables.scss creat ed
  210. nginx_1 | Serving static files for container kpi from Nginx.
  211. kobocat_1 | KoBoCAT media automatic backups disabled.
  212. kpi_1 | CREATE EXTENSION
  213. enketo_express_1 |
  214. kobocat_1 | KoBoCAT initialization complete.
  215. kpi_1 | CREATE EXTENSION
  216. enketo_express_1 | Running "sass:compile" (sass) task
  217. kobocat_1 | *** Running /etc/my_init.d/10_syslog-ng.init...
  218. kpi_1 | CREATE EXTENSION
  219. enketo_express_1 |
  220. kobocat_1 | May 28 17:23:29 kobocat syslog-ng[87]: syslog-ng starting up ; version='3.5.6'
  221. kpi_1 | CREATE EXTENSION
  222. enketo_express_1 | Running "shell:clean-js" (shell) task
  223. kobocat_1 | May 28 17:23:30 kobocat syslog-ng[87]: EOF on control channe l, closing connection;
  224. kpi_1 | Postgres database koboform ready for use!
  225. enketo_express_1 |
  226. kobocat_1 | *** Running /etc/my_init.d/11_sync_static.bash...
  227. kpi_1 | Running migrations...
  228. enketo_express_1 | Running "client-config-file:create" (client-config-file) tas k
  229. kobocat_1 | Collecting static files...
  230. kpi_1 | Operations to perform:
  231. enketo_express_1 | File public/js/build/client-config.js created
  232. kobocat_1 | Your environment is:"onadata.settings.kc_environ"
  233. 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
  234. enketo_express_1 |
  235. kobocat_1 | Done
  236. kpi_1 | Running migrations:
  237. enketo_express_1 | Running "widgets" task
  238. kobocat_1 | Resetting ownership of media directory...
  239. kpi_1 | Applying contenttypes.0001_initial... OK
  240. enketo_express_1 | File public/js/build/widgets.js created
  241. kobocat_1 | Done.
  242. kpi_1 | Applying auth.0001_initial... OK
  243. enketo_express_1 | File app/views/styles/component/_widgets.scss created
  244. kobocat_1 | %%%%%%% NOTICE %%%%%%%
  245. kpi_1 | Applying admin.0001_initial... OK
  246. enketo_express_1 |
  247. kobocat_1 | % To avoid long delays, we no longer reset ownership *recurs ively*
  248. kpi_1 | Applying admin.0002_logentry_remove_auto_add... OK
  249. enketo_express_1 | Running "shell:rollup" (shell) task
  250. kobocat_1 | % every time this container starts. If you have trouble with
  251. kpi_1 | Applying admin.0003_logentry_add_action_flag_choices... OK
  252. enketo_express_1 | >> public/js/src/enketo-webform.js → public/js/build/enketo- webform-bundle.js...
  253. kobocat_1 | % permissions, please run the following command inside the
  254. kpi_1 | Applying contenttypes.0002_remove_content_type_name... OK
  255. 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
  256. kobocat_1 | % `kobocat` container:
  257. kpi_1 | Applying auth.0002_alter_permission_name_max_length... OK
  258. enketo_express_1 | >> created public/js/build/enketo-webform-bundle.js in 10.1s
  259. kobocat_1 | % chown -R "wsgi" "/srv/src/kobocat"
  260. kpi_1 | Applying auth.0003_alter_user_email_max_length... OK
  261. enketo_express_1 | >> public/js/src/enketo-webform-edit.js → public/js/build/en keto-webform-edit-bundle.js...
  262. kobocat_1 | %%%%%%%%%%%%%%%%%%%%%%
  263. kpi_1 | Applying auth.0004_alter_user_username_opts... OK
  264. 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
  265. kobocat_1 | Syncing to nginx folder...
  266. kpi_1 | Applying auth.0005_alter_user_last_login_null... OK
  267. enketo_express_1 | >> created public/js/build/enketo-webform-edit-bundle.js in 9.8s
  268. kobocat_1 | Done
  269. kpi_1 | Applying auth.0006_require_contenttypes_0002... OK
  270. enketo_express_1 | >> public/js/src/enketo-webform-view.js → public/js/build/en keto-webform-view-bundle.js...
  271. kobocat_1 | *** Running /etc/rc.local...
  272. kpi_1 | Applying auth.0007_alter_validators_add_error_messages... OK
  273. 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
  274. kobocat_1 | *** Booting runit daemon...
  275. kpi_1 | Applying auth.0008_alter_user_username_max_length... OK
  276. enketo_express_1 | >> created public/js/build/enketo-webform-view-bundle.js in 11s
  277. kpi_1 | Applying auth.0009_alter_user_last_name_max_length... OK
  278. kobocat_1 | *** Runit started as PID 115
  279. enketo_express_1 | >> public/js/src/enketo-offline-fallback.js → public/js/buil d/enketo-offline-fallback-bundle.js...
  280. kpi_1 | Applying auth.0010_alter_group_name_max_length... OK
  281. kobocat_1 | May 28 17:23:33 kobocat cron[122]: (CRON) INFO (pidfile fd = 3)
  282. enketo_express_1 | >> created public/js/build/enketo-offline-fallback-bundle.js in 46ms
  283. kpi_1 | Applying auth.0011_update_proxy_permissions... OK
  284. kobocat_1 | May 28 17:23:33 kobocat cron[122]: (CRON) INFO (Running @reb oot jobs)
  285. enketo_express_1 |
  286. kpi_1 | Applying authtoken.0001_initial... OK
  287. kobocat_1 | Restoring ownership of Logs directory.
  288. enketo_express_1 | Running "terser:all" (terser) task
  289. kpi_1 | Applying authtoken.0002_auto_20160226_1747... OK
  290. kobocat_1 | Running `kobocat` container with uWSGI application server.
  291. enketo_express_1 | >> TypeError: Cannot read property 'resolve_defines' of null
  292. kpi_1 | Applying database.0001_initial... OK
  293. kobocat_1 | [uWSGI] getting INI configuration from /srv/src/kobocat/dock er/kobocat.ini
  294. enketo_express_1 | >> TypeError: Cannot read property 'resolve_defines' of null
  295. kpi_1 | Applying database.0002_auto_20190129_2304... OK
  296. kobocat_1 | May 28 17:50:01 kobocat CRON[177]: (root) CMD (find /tmp/ -m min +60 -print -delete >/dev/null 2>&1)
  297. enketo_express_1 | >> TypeError: Cannot read property 'resolve_defines' of null
  298. kpi_1 | Applying django_celery_beat.0001_initial... OK
  299. enketo_express_1 | >> TypeError: Cannot read property 'resolve_defines' of null
  300. kpi_1 | Applying django_celery_beat.0002_auto_20161118_0346... OK
  301. enketo_express_1 | >> 4 grunt.util.pluralize(createdFiles, 'file/files') create d.
  302. kpi_1 | Applying django_celery_beat.0003_auto_20161209_0049... OK
  303. enketo_express_1 |
  304. kpi_1 | Applying django_celery_beat.0004_auto_20170221_0000... OK
  305. enketo_express_1 | Done.
  306. kpi_1 | Applying django_celery_beat.0005_add_solarschedule_events_ choices... OK
  307. enketo_express_1 |
  308. kpi_1 | Applying django_celery_beat.0006_auto_20180322_0932... OK
  309. enketo_express_1 |
  310. kpi_1 | Applying django_celery_beat.0007_auto_20180521_0826... OK
  311. enketo_express_1 | Execution Time (2020-05-28 17:22:45 UTC-0)
  312. kpi_1 | Applying django_celery_beat.0008_auto_20180914_1922... OK
  313. enketo_express_1 | loading tasks 969ms ▇ 1%
  314. kpi_1 | Applying django_celery_beat.0006_auto_20180210_1226... OK
  315. enketo_express_1 | shell:rollup 31.6s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 36%
  316. kpi_1 | Applying django_celery_beat.0006_periodictask_priority... OK
  317. enketo_express_1 | terser:all 55.2s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 62%
  318. kpi_1 | Applying django_celery_beat.0009_periodictask_headers... O K
  319. enketo_express_1 | Total 1m 28.5s
  320. kpi_1 | Applying django_celery_beat.0010_auto_20190429_0326... OK
  321. enketo_express_1 |
  322. kpi_1 | Applying django_celery_beat.0011_auto_20190508_0153... OK
  323. enketo_express_1 | Building IE11 bundle...
  324. kpi_1 | Applying django_digest.0001_initial... OK
  325. enketo_express_1 | Running "shell:clean-js" (shell) task
  326. kpi_1 | Applying external_integrations.0001_add_allowed_cors_origi n_model... OK
  327. enketo_express_1 |
  328. kpi_1 | Applying help.0001_initial... OK
  329. enketo_express_1 | Running "client-config-file:create" (client-config-file) tas k
  330. kpi_1 | Applying reversion.0001_squashed_0004_auto_20160611_1202.. . OK
  331. enketo_express_1 | File public/js/build/client-config.js created
  332. kpi_1 | Applying taggit.0001_initial... OK
  333. enketo_express_1 |
  334. kpi_1 | Applying kpi.0001_initial... OK
  335. enketo_express_1 | Running "widgets" task
  336. kpi_1 | Applying kpi.0002_auto_20150619_0603... OK
  337. enketo_express_1 | File public/js/build/widgets.js created
  338. kpi_1 | Applying kpi.0003_assetsnapshot... OK
  339. enketo_express_1 | File app/views/styles/component/_widgets.scss created
  340. kpi_1 | Applying kpi.0004_default_permissions_1910... OK
  341. enketo_express_1 |
  342. kpi_1 | Applying kpi.0005_taguid... OK
  343. enketo_express_1 | Running "shell:rollup" (shell) task
  344. kpi_1 | Applying kpi.0006_importtask_messages... OK
  345. enketo_express_1 | >> public/js/src/enketo-webform.js → public/js/build/enketo- webform-bundle.js...
  346. kpi_1 | Applying kpi.0007_importtask_defaults... OK
  347. 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
  348. kpi_1 | Applying kpi.0008_authorizedapplication... OK
  349. enketo_express_1 | >> created public/js/build/enketo-webform-bundle.js in 9s
  350. kpi_1 | Applying kpi.0009_auto_20160315_0343... OK
  351. enketo_express_1 | >> public/js/src/enketo-webform-edit.js → public/js/build/en keto-webform-edit-bundle.js...
  352. kpi_1 | Applying kpi.0010_asset_deployment_data... OK
  353. 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
  354. kpi_1 | Applying kpi.0011_explode_asset_deployments... migrated 0 assets
  355. enketo_express_1 | >> created public/js/build/enketo-webform-edit-bundle.js in 7.7s
  356. kpi_1 | !!! Only the most recent deployment of each asset has been
  357. enketo_express_1 | >> public/js/src/enketo-webform-view.js → public/js/build/en keto-webform-view-bundle.js...
  358. kpi_1 | !!! retained. Use the command `./manage.py sync_kobocat_xf orms`
  359. 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
  360. kpi_1 | !!! to create new assets for any orphaned KC forms.
  361. enketo_express_1 | >> created public/js/build/enketo-webform-view-bundle.js in 9.3s
  362. kpi_1 | OK
  363. enketo_express_1 | >> public/js/src/enketo-offline-fallback.js → public/js/buil d/enketo-offline-fallback-bundle.js...
  364. kpi_1 | Applying kpi.0012_onetimeauthenticationkey... OK
  365. enketo_express_1 | >> created public/js/build/enketo-offline-fallback-bundle.js in 22ms
  366. kpi_1 | Applying kpi.0013_uid_field... OK
  367. enketo_express_1 |
  368. kpi_1 | Applying kpi.0014_discoverable_subscribable_collections... OK
  369. enketo_express_1 | Running "shell:ie11polyfill" (shell) task
  370. kpi_1 | Applying kpi.0015_assetversion...
  371. enketo_express_1 | >> % Total % Received % Xferd Average Speed Tim
  372. kpi_1 | This might take a while. If it is too slow, you may want to re-run the
  373. enketo_express_1 | >> e Time Time Current
  374. kpi_1 | migration with SKIP_HEAVY_MIGRATIONS=True and ru n the management command
  375. enketo_express_1 | >> Dload Upload Total Spent Left Speed
  376. kpi_1 | (populate_assetversions) to prepare the versions .
  377. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  378. kpi_1 |
  379. enketo_express_1 | >> 100 99283 100 99283
  380. kpi_1 | created 0 AssetVersion records
  381. enketo_express_1 | >> 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k
  382. kpi_1 | migrated deployment ids
  383. enketo_express_1 |
  384. kpi_1 | OK
  385. enketo_express_1 | Running "shell:babel" (shell) task
  386. kpi_1 | Applying kpi.0016_asset_settings... OK
  387. 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.
  388. kpi_1 | Applying kpi.0017_assetversion_uid_aliases_20170608... OK
  389. 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.
  390. 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.
  391. enketo_express_1 |
  392. enketo_express_1 | Running "shell:browserify" (shell) task
  393. enketo_express_1 | >> npx: installed 146 in 22.249s
  394. kpi_1 | Applying kpi.0018_export_task... OK
  395. enketo_express_1 | >> npx: installed 146 in 5.406s
  396. kpi_1 | Applying kpi.0019_add_report_custom_field... OK
  397. enketo_express_1 | >> npx: installed 146 in 5.463s
  398. kpi_1 | Applying kpi.0020_add_validate_submissions_permission_to_a sset... OK
  399. enketo_express_1 | >> npx: installed 146 in 6.318s
  400. kpi_1 | Applying kpi.0021_map-custom-styles... OK
  401. enketo_express_1 |
  402. kpi_1 | Applying kpi.0022_assetfile... OK
  403. enketo_express_1 | Running "terser:all" (terser) task
  404. kpi_1 | Applying hook.0001_tables_creation... OK
  405. enketo_express_1 | >> 8 grunt.util.pluralize(createdFiles, 'file/files') create d.
  406. kpi_1 | Applying hook.0002_add_email_notifications_field... OK
  407. enketo_express_1 |
  408. kpi_1 | Applying hook.0003_add_subset_fields_to_hook_model... OK
  409. enketo_express_1 | Done.
  410. kpi_1 | Applying hook.0004_add_payload_template... OK
  411. enketo_express_1 |
  412. kpi_1 | Applying hook.0005_allow_blank_subset_fields... OK
  413. enketo_express_1 |
  414. kpi_1 | Applying hub.0001_initial... OK
  415. enketo_express_1 | Execution Time (2020-05-28 17:24:14 UTC-0)
  416. kpi_1 | Applying hub.0002_formbuilderpreference... OK
  417. enketo_express_1 | shell:rollup 26.8s ▇▇▇▇▇ 10%
  418. kpi_1 | Applying hub.0003_auto_20160318_1808... OK
  419. enketo_express_1 | shell:babel 1m 4.6s ▇▇▇▇▇▇▇▇▇▇▇ 25%
  420. kpi_1 | Applying hub.0004_configurationfile... OK
  421. enketo_express_1 | shell:browserify 53.3s ▇▇▇▇▇▇▇▇▇ 20%
  422. kpi_1 | Applying hub.0005_perusersetting... OK
  423. enketo_express_1 | terser:all 1m 56.1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 44%
  424. kpi_1 | Applying hub.0006_remove_formbuilder_preference_table... O K
  425. enketo_express_1 | Total 4m 22.4s
  426. kpi_1 | Applying hub.0007_alter_jsonfield_to_jsonbfield... OK
  427. enketo_express_1 |
  428. kpi_1 | Applying kpi.0023_partial_permissions... OK
  429. enketo_express_1 | Saving current commit...
  430. kpi_1 | Applying kpi.0024_alter_jsonfield_to_jsonbfield...
  431. enketo_express_1 | Saving config hash...
  432. kpi_1 | Scanned | # records need fixing
  433. enketo_express_1 | Creating .not-empty files
  434. kpi_1 | Asset._deployment_data | 0
  435. enketo_express_1 |
  436. kpi_1 | Asset.content | 0
  437. enketo_express_1 | -------------
  438. kpi_1 | Asset.summary | 0
  439. enketo_express_1 |
  440. kpi_1 | AssetSnapshot.details | 0
  441. enketo_express_1 | __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\____ _
  442. kpi_1 | AssetSnapshot.source | 0
  443. enketo_express_1 | _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\_ __
  444. kpi_1 | ExportTask.data | 0
  445. enketo_express_1 | _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\ \__
  446. kpi_1 | ExportTask.messages | 0
  447. enketo_express_1 | _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\ /___
  448. kpi_1 | ImportTask.data | 0
  449. enketo_express_1 | _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\// _____
  450. kpi_1 | ImportTask.messages | 0
  451. enketo_express_1 | _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//__ ______
  452. kpi_1 |
  453. enketo_express_1 | _\/\\\_____________\/\\\_____________\/\\\___/\\\/____ _______
  454. kpi_1 | Database is ready.
  455. enketo_express_1 | _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\ \\\\\\\_
  456. kpi_1 | Proceeding with migration 0024 (text -> jsonb)
  457. enketo_express_1 | _\///______________\///______________\///__\//////// ///////__
  458. kpi_1 |
  459. enketo_express_1 |
  460. kpi_1 | This might take a while depending on your database size.
  461. enketo_express_1 |
  462. kpi_1 | If it's too slow, consider stopping this and instead run ning
  463. enketo_express_1 | Runtime Edition
  464. kpi_1 | ./manage.py migrate_json_text_to_jsonb
  465. enketo_express_1 |
  466. kpi_1 | to avoid downtime.
  467. kpi_1 |
  468. kpi_1 | OK
  469. kpi_1 | Applying oauth2_provider.0001_initial... OK
  470. kpi_1 | Applying oauth2_provider.0002_08_updates... OK
  471. kpi_1 | Applying oauth2_provider.0003_auto_20160316_1503... OK
  472. kpi_1 | Applying oauth2_provider.0004_auto_20160525_1623... OK
  473. enketo_express_1 | PM2 is a Production Process Manager for Node.js appl ications
  474. enketo_express_1 | with a built-in Load Balancer.
  475. enketo_express_1 |
  476. enketo_express_1 | Start and Daemonize any application:
  477. enketo_express_1 | $ pm2 start app.js
  478. enketo_express_1 |
  479. enketo_express_1 | Load Balance 4 instances of api.js:
  480. enketo_express_1 | $ pm2 start api.js -i 4
  481. enketo_express_1 |
  482. enketo_express_1 | Monitor in production:
  483. enketo_express_1 | $ pm2 monitor
  484. enketo_express_1 |
  485. enketo_express_1 | Make pm2 auto-boot at server restart:
  486. enketo_express_1 | $ pm2 startup
  487. enketo_express_1 |
  488. enketo_express_1 | To go further checkout:
  489. enketo_express_1 | http://pm2.io/
  490. enketo_express_1 |
  491. enketo_express_1 |
  492. enketo_express_1 | -------------
  493. enketo_express_1 |
  494. enketo_express_1 | pm2 launched in no-daemon mode (you can add DEBUG="*" env va riable to get more messages)
  495. enketo_express_1 | 2020-05-28T17:28:37: PM2 log: Launching in no daemon mode
  496. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [PM2] Starting /srv/src/enketo _express/app.js in fork_mode (1 instance)
  497. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: App [enketo:0] starting in -fo rk mode-
  498. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: App [enketo:0] online
  499. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [PM2] Done.
  500. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: ┌─────┬───────────┬─────────── ──┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬─────── ───┬──────────┬──────────┐
  501. enketo_express_1 | │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
  502. enketo_express_1 | ├─────┼───────────┼─────────────┼─────────┼─────────┼─────── ───┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
  503. enketo_express_1 | │ 0 │ enketo │ default │ 1.86.3 │ fork │ 286 │ 0s │ 0 │ online │ 0% │ 25.2mb │ root │ disabled │
  504. kpi_1 | Applying oauth2_provider.0005_auto_20170514_1141... OK
  505. kpi_1 | Applying oauth2_provider.0006_auto_20171214_2232... OK
  506. kpi_1 | Applying registration.0001_initial... OK
  507. kpi_1 | Applying registration.0002_registrationprofile_activated.. . OK
  508. kpi_1 | Applying registration.0003_migrate_activatedstatus... OK
  509. kpi_1 | Applying registration.0004_supervisedregistrationprofile.. . OK
  510. kpi_1 | Applying sessions.0001_initial... OK
  511. kpi_1 | Applying taggit.0002_auto_20150616_2121... OK
  512. kpi_1 | Applying taggit.0003_taggeditem_add_unique_index... OK
  513. kpi_1 | Creating superuser...
  514. kpi_1 | Superuser successfully created.
  515. kpi_1 | Copying static files to nginx volume...
  516. kpi_1 | Cleaning up Celery PIDs...
  517. kpi_1 | KoBoForm initialization completed.
  518. kpi_1 | Running `kpi` container with uWSGI application server.
  519. kpi_1 | [uWSGI] getting INI configuration from /srv/src/kpi/uwsgi.in i
  520. enketo_express_1 | └─────┴───────────┴─────────────┴─────────┴─────────┴─────── ───┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
  521. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [--no-daemon] Continue to stre am logs
  522. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [--no-daemon] Exit on target P M2 exit pid=1
  523. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [PM2] This PM2 is not UP TO DA TE
  524. enketo_express_1 | 2020-05-28T17:28:38: PM2 log: [PM2] Upgrade to version 4.4.0
  525. enketo_express_1 | 17:28:38 PM2 | [PM2] This PM2 is not UP TO DATE
  526. enketo_express_1 | 17:28:38 PM2 | [PM2] Upgrade to version 4.4.0
  527. enketo_express_1 | 17:28:39 0|enketo | Worker 8 ready for duty at port 8005! (e nvironment: production)
  528. enketo_express_1 | 17:28:39 0|enketo | Worker 4 ready for duty at port 8005! (e nvironment: production)
  529. enketo_express_1 | 17:28:39 0|enketo | Worker 6 ready for duty at port 8005! (e nvironment: production)
  530. enketo_express_1 | 17:28:39 0|enketo | Worker 1 ready for duty at port 8005! (e nvironment: production)
  531. enketo_express_1 | 17:28:39 0|enketo | Worker 7 ready for duty at port 8005! (e nvironment: production)
  532. enketo_express_1 | 17:28:39 0|enketo | Worker 5 ready for duty at port 8005! (e nvironment: production)
  533. enketo_express_1 | 17:28:39 0|enketo | Worker 2 ready for duty at port 8005! (e nvironment: production)
  534. 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