Mobile worker list

Hi everyone,

I have installed comm-care HQ on Ubuntu 14.04. I am using Docker to run
server
when I created mobile user it create successfully when I click to show
active mobile user it shows me following error

On web

There was an issue contacting the server. Please check your internet
connection. If this issue continues, please file a bug report.

On Terminal it shows me

web_1 | File “/mnt/commcare-hq/corehq/elastic.py”, line 166, in run_query
web_1 | raise ESError(e)
web_1 | ESError: TransportError(400, u’SearchPhaseExecutionException[Failed
to execute phase [query], all shards failed; shardFailures
{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][0]:
SearchParseException[[hqusers_2016-07-19][0]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested:
SearchParseException[[hqusers_2016-07-19][0]: from[-1],size[-1]: Parse
Failure [No mapping found for [username.exact] in order to sort on]];
}{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][1]:
SearchParseException[[hqusers_2016-07-19][1]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested:
SearchParseException[[hqusers_2016-07-19][1]: from[-1],size[-1]: Parse
Failure [No mapping found for [username.exact] in order to sort on]];
}{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][2]:
SearchParseException[[hqusers_2016-07-19][2]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested:
SearchParseException[[hqusers_2016-07-19][2]: from[-1],size[-1]: Parse
Failure [No mapping found for [username.exact] in order to sort on]];
}{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][3]:
SearchParseException[[hqusers_2016-07-19][3]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested:
SearchParseException[[hqusers_2016-07-19][3]: from[-1],size[-1]: Parse
Failure [No mapping found for [username.exact] in order to sort on]];
}{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][4]:
SearchParseException[[hqusers_2016-07-19][4]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested:
SearchParseException[[hqusers_2016-07-19][4]: from[-1],size[-1]: Parse
Failure [No mapping found for [username.exact] in order to sort on]]; }]’)

Guide me how to solve it

Thanks for your help

Sheeraz

Any solutions to this issue? Currently experiencing the same issue.

··· On Friday, October 7, 2016 at 8:44:31 AM UTC+2, Sheeraz Mahmood wrote: > > Hi everyone, > > > I have installed comm-care HQ on Ubuntu 14.04. I am using Docker to run > server > when I created mobile user it create successfully when I click to show > active mobile user it shows me following error > > > On web > > > There was an issue contacting the server. Please check your internet > connection. If this issue continues, please file a bug report. > > > On Terminal it shows me > > > web_1 | File "/mnt/commcare-hq/corehq/elastic.py", line 166, in run_query > web_1 | raise ESError(e) > web_1 | ESError: TransportError(400, > u'SearchPhaseExecutionException[Failed to execute phase [query], all shards > failed; shardFailures {[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][0]: > SearchParseException[[hqusers_2016-07-19][0]: from[-1],size[-1]: Parse > Failure [Failed to parse source [{"sort": {"username.exact": {"order": > "asc"}}, "query": {"filtered": {"filter": {"and": [{"or": [{"term": > {"domain.exact": "test"}}, {"term": {"domain_memberships.domain.exact": > "test"}}]}, {"term": {"doc_type": "CommCareUser"}}, {"term": {"is_active": > false}}, {"term": {"base_doc": "couchuser"}}]}, "query": {"match_all": > {}}}}, "from": 0, "size": 10}]]]; nested: > SearchParseException[[hqusers_2016-07-19][0]: from[-1],size[-1]: Parse > Failure [No mapping found for [username.exact] in order to sort on]]; > }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][1]: > SearchParseException[[hqusers_2016-07-19][1]: from[-1],size[-1]: Parse > Failure [Failed to parse source [{"sort": {"username.exact": {"order": > "asc"}}, "query": {"filtered": {"filter": {"and": [{"or": [{"term": > {"domain.exact": "test"}}, {"term": {"domain_memberships.domain.exact": > "test"}}]}, {"term": {"doc_type": "CommCareUser"}}, {"term": {"is_active": > false}}, {"term": {"base_doc": "couchuser"}}]}, "query": {"match_all": > {}}}}, "from": 0, "size": 10}]]]; nested: > SearchParseException[[hqusers_2016-07-19][1]: from[-1],size[-1]: Parse > Failure [No mapping found for [username.exact] in order to sort on]]; > }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][2]: > SearchParseException[[hqusers_2016-07-19][2]: from[-1],size[-1]: Parse > Failure [Failed to parse source [{"sort": {"username.exact": {"order": > "asc"}}, "query": {"filtered": {"filter": {"and": [{"or": [{"term": > {"domain.exact": "test"}}, {"term": {"domain_memberships.domain.exact": > "test"}}]}, {"term": {"doc_type": "CommCareUser"}}, {"term": {"is_active": > false}}, {"term": {"base_doc": "couchuser"}}]}, "query": {"match_all": > {}}}}, "from": 0, "size": 10}]]]; nested: > SearchParseException[[hqusers_2016-07-19][2]: from[-1],size[-1]: Parse > Failure [No mapping found for [username.exact] in order to sort on]]; > }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][3]: > SearchParseException[[hqusers_2016-07-19][3]: from[-1],size[-1]: Parse > Failure [Failed to parse source [{"sort": {"username.exact": {"order": > "asc"}}, "query": {"filtered": {"filter": {"and": [{"or": [{"term": > {"domain.exact": "test"}}, {"term": {"domain_memberships.domain.exact": > "test"}}]}, {"term": {"doc_type": "CommCareUser"}}, {"term": {"is_active": > false}}, {"term": {"base_doc": "couchuser"}}]}, "query": {"match_all": > {}}}}, "from": 0, "size": 10}]]]; nested: > SearchParseException[[hqusers_2016-07-19][3]: from[-1],size[-1]: Parse > Failure [No mapping found for [username.exact] in order to sort on]]; > }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][4]: > SearchParseException[[hqusers_2016-07-19][4]: from[-1],size[-1]: Parse > Failure [Failed to parse source [{"sort": {"username.exact": {"order": > "asc"}}, "query": {"filtered": {"filter": {"and": [{"or": [{"term": > {"domain.exact": "test"}}, {"term": {"domain_memberships.domain.exact": > "test"}}]}, {"term": {"doc_type": "CommCareUser"}}, {"term": {"is_active": > false}}, {"term": {"base_doc": "couchuser"}}]}, "query": {"match_all": > {}}}}, "from": 0, "size": 10}]]]; nested: > SearchParseException[[hqusers_2016-07-19][4]: from[-1],size[-1]: Parse > Failure [No mapping found for [username.exact] in order to sort on]]; }]') > > > Guide me how to solve it > > Thanks for your help > > > > Sheeraz >

The Elasticsearch indexes haven’t been initialized. Follow the steps here:

··· On 25 January 2017 at 11:46, mukopaje singogo wrote:

Any solutions to this issue? Currently experiencing the same issue.

On Friday, October 7, 2016 at 8:44:31 AM UTC+2, Sheeraz Mahmood wrote:

Hi everyone,

I have installed comm-care HQ on Ubuntu 14.04. I am using Docker to run
server
when I created mobile user it create successfully when I click to show
active mobile user it shows me following error

On web

There was an issue contacting the server. Please check your internet
connection. If this issue continues, please file a bug report.

On Terminal it shows me

web_1 | File “/mnt/commcare-hq/corehq/elastic.py”, line 166, in run_query
web_1 | raise ESError(e)
web_1 | ESError: TransportError(400, u’SearchPhaseExecutionException[Failed
to execute phase [query], all shards failed; shardFailures
{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][0]:
SearchParseException[[hqusers_2016-07-19][0]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][0]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][1]:
SearchParseException[[hqusers_2016-07-19][1]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][1]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][2]:
SearchParseException[[hqusers_2016-07-19][2]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][2]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][3]:
SearchParseException[[hqusers_2016-07-19][3]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][3]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][4]:
SearchParseException[[hqusers_2016-07-19][4]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][4]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }]’)

Guide me how to solve it

Thanks for your help

Sheeraz


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa

Thanks for the tip, i dint manage to initialize it but i purged it and
reinstalled and all is good now. Thanks a lot.

··· On Thu, Jan 26, 2017 at 11:41 AM, Simon Kelly wrote:

The Elasticsearch indexes haven’t been initialized. Follow the steps here:
https://github.com/dimagi/commcare-hq/blob/master/README.md#running-
commcare-hq

On 25 January 2017 at 11:46, mukopaje singogo mukopaje@gmail.com wrote:

Any solutions to this issue? Currently experiencing the same issue.

On Friday, October 7, 2016 at 8:44:31 AM UTC+2, Sheeraz Mahmood wrote:

Hi everyone,

I have installed comm-care HQ on Ubuntu 14.04. I am using Docker to run
server
when I created mobile user it create successfully when I click to show
active mobile user it shows me following error

On web

There was an issue contacting the server. Please check your internet
connection. If this issue continues, please file a bug report.

On Terminal it shows me

web_1 | File “/mnt/commcare-hq/corehq/elastic.py”, line 166, in
run_query
web_1 | raise ESError(e)
web_1 | ESError: TransportError(400, u’SearchPhaseExecutionException[Failed
to execute phase [query], all shards failed; shardFailures
{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][0]:
SearchParseException[[hqusers_2016-07-19][0]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][0]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][1]:
SearchParseException[[hqusers_2016-07-19][1]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][1]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][2]:
SearchParseException[[hqusers_2016-07-19][2]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][2]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][3]:
SearchParseException[[hqusers_2016-07-19][3]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][3]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }{[GjZ8wYKWQySlDNecNxYniQ][hqusers_2016-07-19][4]:
SearchParseException[[hqusers_2016-07-19][4]: from[-1],size[-1]: Parse
Failure [Failed to parse source [{“sort”: {“username.exact”: {“order”:
“asc”}}, “query”: {“filtered”: {“filter”: {“and”: [{“or”: [{“term”:
{“domain.exact”: “test”}}, {“term”: {“domain_memberships.domain.exact”:
“test”}}]}, {“term”: {“doc_type”: “CommCareUser”}}, {“term”: {“is_active”:
false}}, {“term”: {“base_doc”: “couchuser”}}]}, “query”: {“match_all”:
{}}}}, “from”: 0, “size”: 10}]]]; nested: SearchParseException[[hqusers_2016-07-19][4]:
from[-1],size[-1]: Parse Failure [No mapping found for [username.exact] in
order to sort on]]; }]’)

Guide me how to solve it

Thanks for your help

Sheeraz


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.