Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ccc@monolith:~/commcare-cloud$ commcare-cloud monolith django-manage preindex_everything
- ssh ccc@10.3.0.4 -t -o UserKnownHostsFile=/home/ccc/environments/monolith/known_hosts 'sudo -iu cchq bash -c '"'"'cd /home/cchq/www/monolith/current; python_env/bin/python manage.py preindex_everything'"'"''
- Ubuntu 22.04.3 LTS
- [sudo] password for ccc:
- Reindexing:
- <ElasticApp index='hqapps_2020-02-26', type='app'>
- <ElasticCase index='hqcases_2016-03-04', type='case'>
- <ElasticCaseSearch index='case_search_2018-05-29', type='case'>
- <ElasticDomain index='hqdomains_2021-03-08', type='hqdomain'>
- <ElasticForm index='xforms_2016-07-07', type='xform'>
- <ElasticGroup index='hqgroups_2017-05-29', type='group'>
- <ElasticSMS index='smslogs_2020-01-28', type='sms'>
- <ElasticUser index='hqusers_2017-09-07', type='user'>
- 2023-11-02 15:55:52,537 INFO [dimagi.utils.couch.sync_docs] synced 'app_manager' in couchdb
- 2023-11-02 15:55:52,541 INFO [dimagi.utils.couch.sync_docs] synced 'export_instances_by_domain' in couchdb
- 2023-11-02 15:55:52,543 INFO [dimagi.utils.couch.sync_docs] synced 'export_instances_by_is_daily_saved' in couchdb
- 2023-11-02 15:55:52,544 INFO [dimagi.utils.couch.sync_docs] synced 'builds' in couchdb
- 2023-11-02 15:55:52,545 INFO [dimagi.utils.couch.sync_docs] synced 'users_extra' in couchdb
- 2023-11-02 15:55:52,546 INFO [dimagi.utils.couch.sync_docs] synced 'forms_by_app_info' in couchdb
- 2023-11-02 15:55:52,548 INFO [dimagi.utils.couch.sync_docs] synced 'apps_with_submissions' in couchdb
- 2023-11-02 15:55:52,552 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,554 INFO [dimagi.utils.couch.sync_docs] synced 'last_modified' in couchdb
- 2023-11-02 15:55:52,559 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,560 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,561 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,563 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,564 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,565 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,569 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,599 INFO [dimagi.utils.couch.sync_docs] synced 'last_modified' in couchdb
- hqapps
- hqcases
- case_search
- hqdomains
- xforms
- hqgroups
- smslogs
- hqusers
- Starting pillow preindex hqapps
- Starting pillow preindex hqcases
- Starting pillow preindex case_search
- Starting pillow preindex hqdomains
- Starting pillow preindex xforms
- Starting pillow preindex hqgroups
- Starting pillow preindex smslogs
- Starting pillow preindex hqusers
- 2023-11-02 15:55:52,623 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,624 INFO [dimagi.utils.couch.sync_docs] synced 'all_docs' in couchdb
- 2023-11-02 15:55:52,625 INFO [dimagi.utils.couch.sync_docs] synced 'registry_data_sources_by_last_modified' in couchdb
- 2023-11-02 15:55:52,627 INFO [dimagi.utils.couch.sync_docs] synced 'last_modified' in couchdb
- 2023-11-02 15:55:52,635 INFO [dimagi.utils.couch.sync_docs] synced 'program_by_code' in couchdb
- 2023-11-02 15:55:52,636 INFO [dimagi.utils.couch.sync_docs] synced 'all_docs' in couchdb
- 2023-11-02 15:55:52,637 INFO [dimagi.utils.couch.sync_docs] synced 'all_docs' in couchdb
- 2023-11-02 15:55:52,638 INFO [dimagi.utils.couch.sync_docs] synced 'all_docs' in couchdb
- 2023-11-02 15:55:52,645 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,647 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,649 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,656 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,657 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,659 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,660 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,663 INFO es_utils Initializing elasticsearch index for [case]
- 2023-11-02 15:55:52,663 INFO [corehq.apps.es.migration_operations] Creating Elasticsearch index: case_search_2018-05-29
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/pillows/case_search.py", line 177, in build
- initialize_index_and_mapping(case_search_adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [text] declared on field [value]')
- 2023-11-02T15:55:52Z <Greenlet at 0x7f29c928a4a0: do_reindex('case_search', False)> failed with RequestError
- 2023-11-02 15:55:52,724 INFO [dimagi.utils.couch.sync_docs] synced 'all_docs' in couchdb
- 2023-11-02 15:55:52,740 INFO es_utils Initializing elasticsearch index for [case]
- 2023-11-02 15:55:52,741 INFO [corehq.apps.es.migration_operations] Creating Elasticsearch index: hqcases_2016-03-04
- 2023-11-02 15:55:52,746 INFO [dimagi.utils.couch.sync_docs] synced 'registry_data_sources' in couchdb
- 2023-11-02 15:55:52,747 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,749 INFO [dimagi.utils.couch.sync_docs] synced 'app_translations_by_popularity' in couchdb
- 2023-11-02 15:55:52,752 INFO es_utils Initializing elasticsearch index for [xform]
- 2023-11-02 15:55:52,752 INFO [corehq.apps.es.migration_operations] Creating Elasticsearch index: xforms_2016-07-07
- 2023-11-02 15:55:52,753 INFO [dimagi.utils.couch.sync_docs] synced 'tests' in couchdb
- 2023-11-02 15:55:52,758 INFO [dimagi.utils.couch.sync_docs] synced 'saved_apps_auto_generated' in couchdb
- 2023-11-02 15:55:52,759 INFO [dimagi.utils.couch.sync_docs] synced 'schemas_by_xmlns_or_case_type' in couchdb
- 2023-11-02 15:55:52,760 INFO [dimagi.utils.couch.sync_docs] synced 'registry_report_configs' in couchdb
- 2023-11-02 15:55:52,762 INFO [dimagi.utils.couch.sync_docs] synced 'reportconfig' in couchdb
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [keyword] declared on field [owner_id]')
- 2023-11-02T15:55:52Z <Greenlet at 0x7f29c928a360: do_reindex('hqcases', False)> failed with RequestError
- 2023-11-02 15:55:52,771 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,772 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,784 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,785 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,787 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,788 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [text] declared on field [@uiVersion]')
- 2023-11-02T15:55:52Z <Greenlet at 0x7f29c928a720: do_reindex('xforms', False)> failed with RequestError
- 2023-11-02 15:55:52,807 INFO [dimagi.utils.couch.sync_docs] synced 'by_domain_doc_type_date' in couchdb
- 2023-11-02 15:55:52,809 INFO [dimagi.utils.couch.sync_docs] synced 'by_domain_doc_type_date' in couchdb
- 2023-11-02 15:55:52,835 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,837 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,844 INFO [dimagi.utils.couch.sync_docs] synced 'by_domain_doc_type_date' in couchdb
- 2023-11-02 15:55:52,845 INFO [dimagi.utils.couch.sync_docs] synced 'by_domain_doc_type_date' in couchdb
- 2023-11-02 15:55:52,847 INFO es_utils Initializing elasticsearch index for [sms]
- 2023-11-02 15:55:52,847 INFO [corehq.apps.es.migration_operations] Creating Elasticsearch index: smslogs_2020-01-28
- 2023-11-02 15:55:52,851 INFO [dimagi.utils.couch.sync_docs] synced 'by_domain_doc_type_date' in couchdb
- 2023-11-02 15:55:52,852 INFO [dimagi.utils.couch.sync_docs] synced 'doc_conflicts' in couchdb
- 2023-11-02 15:55:52,853 INFO [dimagi.utils.couch.sync_docs] synced 'deleted_users_by_username' in couchdb
- 2023-11-02 15:55:52,854 INFO [dimagi.utils.couch.sync_docs] synced 'exports_forms_by_app' in couchdb
- 2023-11-02 15:55:52,860 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,862 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,874 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,875 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,876 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,878 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [text] declared on field [backend_api]')
- 2023-11-02T15:55:52Z <Greenlet at 0x7f29c928a9a0: do_reindex('smslogs', False)> failed with RequestError
- 2023-11-02 15:55:52,887 INFO es_utils Initializing elasticsearch index for [app]
- 2023-11-02 15:55:52,887 INFO [corehq.apps.es.migration_operations] Creating Elasticsearch index: hqapps_2020-02-26
- 2023-11-02 15:55:52,891 INFO es_utils Initializing elasticsearch index for [user]
- 2023-11-02 15:55:52,891 INFO [corehq.apps.es.migration_operations] Creating Elasticsearch index: hqusers_2017-09-07
- 2023-11-02 15:55:52,892 INFO es_utils Initializing elasticsearch index for [group]
- 2023-11-02 15:55:52,892 INFO [corehq.apps.es.migration_operations] Creating Elasticsearch index: hqgroups_2017-05-29
- 2023-11-02 15:55:52,898 INFO es_utils Initializing elasticsearch index for [hqdomain]
- 2023-11-02 15:55:52,898 INFO [corehq.apps.es.migration_operations] Creating Elasticsearch index: hqdomains_2021-03-08
- 2023-11-02 15:55:52,907 INFO [dimagi.utils.couch.sync_docs] synced 'groups' in couchdb
- 2023-11-02 15:55:52,910 INFO [dimagi.utils.couch.sync_docs] synced 'domain' in couchdb
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [keyword] declared on field [short_odk_media_url]')
- 2023-11-02T15:55:52Z <Greenlet at 0x7f29c9318680: do_reindex('hqapps', False)> failed with RequestError
- 2023-11-02 15:55:52,921 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,926 INFO [dimagi.utils.couch.sync_docs] synced 'hqmedia' in couchdb
- 2023-11-02 15:55:52,928 INFO [dimagi.utils.couch.sync_docs] synced 'userreports' in couchdb
- 2023-11-02 15:55:52,929 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,930 INFO [dimagi.utils.couch.sync_docs] synced 'hqadmin' in couchdb
- 2023-11-02 15:55:52,931 INFO [dimagi.utils.couch.sync_docs] synced 'repeaters' in couchdb
- 2023-11-02 15:55:52,935 INFO [dimagi.utils.couch.sync_docs] synced 'mobile_auth' in couchdb
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [text] declared on field [path]')
- 2023-11-02T15:55:52Z <Greenlet at 0x7f29c928a860: do_reindex('hqgroups', False)> failed with RequestError
- 2023-11-02 15:55:52,939 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- 2023-11-02 15:55:52,940 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- All apps loaded into jobs, waiting...
- 2023-11-02 15:55:52,947 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [text] declared on field [__group_names]')
- 2023-11-02T15:55:52Z <Greenlet at 0x7f29c928aae0: do_reindex('hqusers', False)> failed with RequestError
- 2023-11-02 15:55:52,950 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [text] declared on field [sms_case_registration_type]')
- 2023-11-02T15:55:52Z <Greenlet at 0x7f29c928a5e0: do_reindex('hqdomains', False)> failed with RequestError
- 2023-11-02 15:55:52,961 INFO [dimagi.utils.couch.sync_docs] synced 'users' in couchdb
- 2023-11-02 15:55:52,964 INFO [dimagi.utils.couch.sync_docs] Triggering view rebuild
- All apps reported complete.
- Couch preindex done
- Traceback (most recent call last):
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqadmin/management/commands/preindex_everything.py", line 94, in pillow_preindex
- call_command('ptop_preindex')
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/django/core/management/__init__.py", line 181, in call_command
- return command.execute(*args, **defaults)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute
- output = self.handle(*args, **options)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 137, in handle
- job.get()
- File "src/gevent/greenlet.py", line 805, in gevent._gevent_cgreenlet.Greenlet.get
- File "src/gevent/greenlet.py", line 373, in gevent._gevent_cgreenlet.Greenlet._raise_exception
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/gevent/_compat.py", line 49, in reraise
- raise value.with_traceback(tb)
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [keyword] declared on field [short_odk_media_url]')
- 2023-11-02T15:55:53Z <Greenlet at 0x7f29cb042400: pillow_preindex> failed with RequestError
- HQAdmin preindex_everything failed
- Traceback (most recent call last):
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqadmin/management/commands/preindex_everything.py", line 103, in handle
- job.get()
- File "src/gevent/greenlet.py", line 805, in gevent._gevent_cgreenlet.Greenlet.get
- File "src/gevent/greenlet.py", line 373, in gevent._gevent_cgreenlet.Greenlet._raise_exception
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/gevent/_compat.py", line 49, in reraise
- raise value.with_traceback(tb)
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqadmin/management/commands/preindex_everything.py", line 94, in pillow_preindex
- call_command('ptop_preindex')
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/django/core/management/__init__.py", line 181, in call_command
- return command.execute(*args, **defaults)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute
- output = self.handle(*args, **options)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 137, in handle
- job.get()
- File "src/gevent/greenlet.py", line 805, in gevent._gevent_cgreenlet.Greenlet.get
- File "src/gevent/greenlet.py", line 373, in gevent._gevent_cgreenlet.Greenlet._raise_exception
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/gevent/_compat.py", line 49, in reraise
- raise value.with_traceback(tb)
- File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/hqcase/management/commands/ptop_preindex.py", line 64, in do_reindex
- factory_or_func(**kwargs).build().reindex()
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 269, in reindex
- prepare_index_for_reindex(self.adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/reindexer/reindexer.py", line 153, in prepare_index_for_reindex
- initialize_index_and_mapping(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 35, in initialize_index_and_mapping
- initialize_index(adapter)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/ex-submodules/pillowtop/es_utils.py", line 40, in initialize_index
- CreateIndex(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/migration_operations.py", line 91, in run
- manager.index_create(self.name, self.render_index_metadata(
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/corehq/apps/es/client.py", line 220, in index_create
- self._es.indices.create(index, metadata)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/utils.py", line 69, in _wrapped
- return func(*args, params=params, **kwargs)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/client/indices.py", line 109, in create
- return self.transport.perform_request('PUT', _make_path(index),
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/transport.py", line 327, in perform_request
- status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/http_urllib3.py", line 110, in perform_request
- self._raise_error(response.status, raw_data)
- File "/home/cchq/www/monolith/releases/2023-11-02_15.04/python_env/lib/python3.9/site-packages/elasticsearch2/connection/base.py", line 114, in _raise_error
- raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
- elasticsearch2.exceptions.RequestError: TransportError(400, 'mapper_parsing_exception', 'No handler for type [keyword] declared on field [short_odk_media_url]')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement