Hi,
I'm using Geonetwork 3.4.x, latest commit, testing locally using jetty.
Everything is running on the default ports.
I've downloaded and installed ElasticSearch and Kibana following the
instructions here:
https://github.com/geonetwork/core-geonetwork/tree/develop/es and
https://github.com/geonetwork/core-geonetwork/tree/develop/es/es-dashboards.
I can start geonetwork, elasticsearch and kibana and they all seem to start
up. I have created the elasticsearch index using curl.
Geonetwork still shows me the error in the logs "cannot log query into
database" as reported here:
https://github.com/geonetwork/core-geonetwork/issues/2502 if I enable
search statistics.
When I go to the admin tools page and try to load the remote index, I get
the error:
indexInEsDoneError
BeanCreationException
Error creating bean with name 'EsSearchManager': Injection of autowired
dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.fao.geonet.es.EsClient
org.fao.geonet.kernel.search.EsSearchManager.client; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No
qualifying bean of type [org.fao.geonet.es.EsClient] found for dependency:
expected at least 1 bean which qualifies as autowire candidate for this
dependency. Dependency annotations:
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
When I go to the statistics and status page and click the tabs for content
statistics and search statistics nothing seems to happen but I get a chrome
dev tools error about http://localhost:8080/geonetwork/warninghealthcheck,
and in the response to that I get the same error as above. I also see an
error from http://localhost:8080/geonetwork/srv/api/site/index/es, which
reports the following:
<apiError>
<code>runtime_exception</code>
<description>Request method 'GET' not supported</description>
<message>HttpRequestMethodNotSupportedException</message>
</apiError>
Exploring the api options for working with the es index I get the same
sorts of errors.
I assume I'm missing some step in the configuration, but the errors I see
don't seem to help me much.
I would love to help with the documentation of this, if someone can help me
get it working!
Thanks
Jo
--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent
responses at that time, please visit support.astuntechnology.com or phone
our office on 01372 744009
--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech>
iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/>
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training>
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login>
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.