I can confirm I hit the same issue and error running 'python manage.py es
index_database'. I hadn't filed an issue about it as I too had just
upgraded ES in my environment too and wanted to eliminated operator error
first. The command that seems to be the root of the issue was:
'result_summary['indexed'] = se.count(index='resources', body=q.dsl)' for
me.

Ben

On Thu, 4 Apr 2019 at 10:32, <[email protected]> wrote:

> Hi folks,
>
> I upgraded Arches to 4.4.1 which worked fine. Then I became bold and
> upgraded my server to the latest ubuntu version 18.04 LTS.
> After a rough ride I (almost) got it to work.
> A major problem was Elasticsearch 6.6.2 not running because of
> insufficient rights.
> I solved this by giving read-write/execute permission to the entire folder
> (# chmod -R 777 /home/ubuntu/Projects/elasticsearch-6.6.2) - I know it's
> heavy handed, but it worked!
>
> However I did not succeed in re-indexing my existing project databases.
> python manage.py
> migrate                     - worked
> es delete_indexes    - worked
> es setup_indexes     - worked
> *es index_database* - FAILED
>
> The resulting error was:
>
>  File
> "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/base.py",
> line 125, in _raise_error
>     raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code,
> error_message, additional_info)
> elasticsearch.exceptions.RequestError: RequestError(400,
> u'parsing_exception', u'request does not support [_source]')
>
> Does anyone have an idea how to fix this and re-index existing databases?
>
> Cheers
> Jens
>
> --
> -- To post, send email to [email protected]. To unsubscribe,
> send email to [email protected]. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to