Geonetwork 3.8, indexing in remote elasticsearch instance error

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Geonetwork 3.8, indexing in remote elasticsearch instance error

Jo Cook
Hi All,

In Geonetwork 3.8, with elasticsearch and kibana installed and
configured, if I visit the statistics and status page then I can see
content statistics, and kibana is working fine, but there's a Remote
Index error:

java.lang.UnsupportedOperationException: JsonObject
at com.google.gson.JsonElement.getAsLong(JsonElement.java:230)
at io.searchbox.core.SearchResult.getTotal(SearchResult.java:218)
at org.fao.geonet.monitor.health.IndexHealthCheck$1.check(IndexHealthCheck.java:58)
at com.yammer.metrics.core.HealthCheck.execute(HealthCheck.java:165)
at com.yammer.metrics.core.HealthCheckRegistry.runHealthChecks(HealthCheckRegistry.java:53)
at org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet.doGet(GeonetworkHealthCheckServlet.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:85)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

Furthermore (and I'm not sure if these two issues are related) when I
go to the tools page and click "(beta) Index in remote index" I get
another error:

IOException

Error during removal. Errors is
'{"root_cause":[{"type":"index_not_found_exception","reason":"no such
index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}],"type":"index_not_found_exception","reason":"no
such index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}'.

In kibana I can't see this index at all, but I also can't see it in
the repository when I do a search for the code. Am I missing something
in the setup?

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

--
-- 
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK 

t:+44 1372 744 009 w: astuntechnology.com <http://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.


_______________________________________________
GeoNetwork-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.8, indexing in remote elasticsearch instance error

Francois Prunayre
Hi Jo, 

both issue should be fixed in 3.8.x branch with
A check with the 3.8.x branch is welcome before we make the release; if you have time.

Cheers.

Francois


Le mar. 29 oct. 2019 à 19:18, Jo Cook <[hidden email]> a écrit :
Hi All,

In Geonetwork 3.8, with elasticsearch and kibana installed and
configured, if I visit the statistics and status page then I can see
content statistics, and kibana is working fine, but there's a Remote
Index error:

java.lang.UnsupportedOperationException: JsonObject
at com.google.gson.JsonElement.getAsLong(JsonElement.java:230)
at io.searchbox.core.SearchResult.getTotal(SearchResult.java:218)
at org.fao.geonet.monitor.health.IndexHealthCheck$1.check(IndexHealthCheck.java:58)
at com.yammer.metrics.core.HealthCheck.execute(HealthCheck.java:165)
at com.yammer.metrics.core.HealthCheckRegistry.runHealthChecks(HealthCheckRegistry.java:53)
at org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet.doGet(GeonetworkHealthCheckServlet.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:85)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

Furthermore (and I'm not sure if these two issues are related) when I
go to the tools page and click "(beta) Index in remote index" I get
another error:

IOException

Error during removal. Errors is
'{"root_cause":[{"type":"index_not_found_exception","reason":"no such
index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}],"type":"index_not_found_exception","reason":"no
such index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}'.

In kibana I can't see this index at all, but I also can't see it in
the repository when I do a search for the code. Am I missing something
in the setup?

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

--
-- 
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK 

t:+44 1372 744 009 w: astuntechnology.com <http://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.


_______________________________________________
GeoNetwork-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


_______________________________________________
GeoNetwork-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.8, indexing in remote elasticsearch instance error

Jo Cook
Hi Francois,

Apologies for not having time to test this before the release, but I
can confirm it's all working fine with the update!

Thanks

Jo

On Tue, Oct 29, 2019 at 6:27 PM Francois Prunayre <[hidden email]> wrote:

>
> Hi Jo,
>
> both issue should be fixed in 3.8.x branch with
> https://github.com/geonetwork/core-geonetwork/pull/4085 and
> https://github.com/geonetwork/core-geonetwork/pull/4056
> A check with the 3.8.x branch is welcome before we make the release; if you have time.
>
> Cheers.
>
> Francois
>
>
> Le mar. 29 oct. 2019 à 19:18, Jo Cook <[hidden email]> a écrit :
>>
>> Hi All,
>>
>> In Geonetwork 3.8, with elasticsearch and kibana installed and
>> configured, if I visit the statistics and status page then I can see
>> content statistics, and kibana is working fine, but there's a Remote
>> Index error:
>>
>> java.lang.UnsupportedOperationException: JsonObject
>> at com.google.gson.JsonElement.getAsLong(JsonElement.java:230)
>> at io.searchbox.core.SearchResult.getTotal(SearchResult.java:218)
>> at org.fao.geonet.monitor.health.IndexHealthCheck$1.check(IndexHealthCheck.java:58)
>> at com.yammer.metrics.core.HealthCheck.execute(HealthCheck.java:165)
>> at com.yammer.metrics.core.HealthCheckRegistry.runHealthChecks(HealthCheckRegistry.java:53)
>> at org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet.doGet(GeonetworkHealthCheckServlet.java:83)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:126)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>> at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>> at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>> at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
>> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:85)
>> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
>> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
>> at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
>> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
>> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
>> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
>> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>> at java.lang.Thread.run(Thread.java:748)
>>
>> Furthermore (and I'm not sure if these two issues are related) when I
>> go to the tools page and click "(beta) Index in remote index" I get
>> another error:
>>
>> IOException
>>
>> Error during removal. Errors is
>> '{"root_cause":[{"type":"index_not_found_exception","reason":"no such
>> index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}],"type":"index_not_found_exception","reason":"no
>> such index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}'.
>>
>> In kibana I can't see this index at all, but I also can't see it in
>> the repository when I do a search for the code. Am I missing something
>> in the setup?
>>
>> 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
>>
>> --
>> --
>> *Sign up to our mailing list
>> <https://astuntechnology.com/company/#email-updates> for updates on news,
>> products, conferences, events and training*
>> *
>> *
>>
>> Astun Technology Ltd,
>> Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK
>>
>> t:+44 1372 744 009 w: astuntechnology.com <http://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.
>>
>>
>> _______________________________________________
>> GeoNetwork-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
>> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork



--
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

--
-- 
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK 

t:+44 1372 744 009 w: astuntechnology.com <http://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/training-courses/>
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>





Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.


_______________________________________________
GeoNetwork-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.8, indexing in remote elasticsearch instance error

Jo Cook
Hi Francois, and devs,

I think I spoke too soon with elastic search and errors...

I've updated to 3.8.2 and have elasticsearch and kibana working.
However, I still get an error when I try the admin console -> tools ->
index in remote index:

IOException

Error during removal. Errors is
'{"root_cause":[{"type":"index_not_found_exception","reason":"no such
index [${es.index.records.records_public}]","resource.type":"index_or_alias","resource.id":"${es.index.records.records_public}","index_uuid":"_na_","index":"${es.index.records.records_public}"}],"type":"index_not_found_exception","reason":"no
such index [${es.index.records.records_public}]","resource.type":"index_or_alias","resource.id":"${es.index.records.records_public}","index_uuid":"_na_","index":"${es.index.records.records_public}"}'.

Also when I look in kibana I see no results whatsoever, whereas I'm
pretty sure I was before I upgraded. I've uninstalled and reinstalled
elasticsearch and kibana, and made sure I'm using the same versions as
I was previously. I've followed the instructions here
https://github.com/geonetwork/core-geonetwork/tree/3.8.x/es for
loading the three indices and then imported export.json within kibana
-> saved obects. All of this seems to work just fine.

In terms of error logs-  this is the beginning of a long error in the
elasticsearch log:

[2019-11-07T17:45:40,741][WARN ][o.e.i.r.TransportDeleteByQueryAction]
[ip-10-100-1-107] giving up on search because it failed with a
non-retryable exception
org.elasticsearch.index.IndexNotFoundException: no such index
[${es.index.records.records_public}]
        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.indexNotFoundException(IndexNameExpressionResolver.java:761)
~[elasticsearch-7.2.1.jar:7.2.1]

I can't see what I'm missing!

Regards

Jo



On Tue, Nov 5, 2019 at 9:02 AM Jo Cook <[hidden email]> wrote:

>
> Hi Francois,
>
> Apologies for not having time to test this before the release, but I
> can confirm it's all working fine with the update!
>
> Thanks
>
> Jo
>
> On Tue, Oct 29, 2019 at 6:27 PM Francois Prunayre <[hidden email]> wrote:
> >
> > Hi Jo,
> >
> > both issue should be fixed in 3.8.x branch with
> > https://github.com/geonetwork/core-geonetwork/pull/4085 and
> > https://github.com/geonetwork/core-geonetwork/pull/4056
> > A check with the 3.8.x branch is welcome before we make the release; if you have time.
> >
> > Cheers.
> >
> > Francois
> >
> >
> > Le mar. 29 oct. 2019 à 19:18, Jo Cook <[hidden email]> a écrit :
> >>
> >> Hi All,
> >>
> >> In Geonetwork 3.8, with elasticsearch and kibana installed and
> >> configured, if I visit the statistics and status page then I can see
> >> content statistics, and kibana is working fine, but there's a Remote
> >> Index error:
> >>
> >> java.lang.UnsupportedOperationException: JsonObject
> >> at com.google.gson.JsonElement.getAsLong(JsonElement.java:230)
> >> at io.searchbox.core.SearchResult.getTotal(SearchResult.java:218)
> >> at org.fao.geonet.monitor.health.IndexHealthCheck$1.check(IndexHealthCheck.java:58)
> >> at com.yammer.metrics.core.HealthCheck.execute(HealthCheck.java:165)
> >> at com.yammer.metrics.core.HealthCheckRegistry.runHealthChecks(HealthCheckRegistry.java:53)
> >> at org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet.doGet(GeonetworkHealthCheckServlet.java:83)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:126)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
> >> at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
> >> at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
> >> at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
> >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
> >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:85)
> >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
> >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
> >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
> >> at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
> >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
> >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> >> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
> >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
> >> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
> >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
> >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> >> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
> >> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> >> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
> >> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
> >> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> >> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> >> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> >> at java.lang.Thread.run(Thread.java:748)
> >>
> >> Furthermore (and I'm not sure if these two issues are related) when I
> >> go to the tools page and click "(beta) Index in remote index" I get
> >> another error:
> >>
> >> IOException
> >>
> >> Error during removal. Errors is
> >> '{"root_cause":[{"type":"index_not_found_exception","reason":"no such
> >> index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}],"type":"index_not_found_exception","reason":"no
> >> such index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}'.
> >>
> >> In kibana I can't see this index at all, but I also can't see it in
> >> the repository when I do a search for the code. Am I missing something
> >> in the setup?
> >>
> >> 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
> >>
> >> --
> >> --
> >> *Sign up to our mailing list
> >> <https://astuntechnology.com/company/#email-updates> for updates on news,
> >> products, conferences, events and training*
> >> *
> >> *
> >>
> >> Astun Technology Ltd,
> >> Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK
> >>
> >> t:+44 1372 744 009 w: astuntechnology.com <http://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.
> >>
> >>
> >> _______________________________________________
> >> GeoNetwork-devel mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> >> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>
>
>
> --
> 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



--
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

--
-- 
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK 

t:+44 1372 744 009 w: astuntechnology.com <http://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/training-courses/>
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>





Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.


_______________________________________________
GeoNetwork-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.8, indexing in remote elasticsearch instance error

Francois Prunayre
Jo, it sounds like the property value in your WEB-INF/config.properties has "es.index.records.records_public" as a value. Can you set it to "" instead ?

Francois

Le jeu. 7 nov. 2019 à 19:24, Jo Cook <[hidden email]> a écrit :
Hi Francois, and devs,

I think I spoke too soon with elastic search and errors...

I've updated to 3.8.2 and have elasticsearch and kibana working.
However, I still get an error when I try the admin console -> tools ->
index in remote index:

IOException

Error during removal. Errors is
'{"root_cause":[{"type":"index_not_found_exception","reason":"no such
index [${es.index.records.records_public}]","resource.type":"index_or_alias","resource.id":"${es.index.records.records_public}","index_uuid":"_na_","index":"${es.index.records.records_public}"}],"type":"index_not_found_exception","reason":"no
such index [${es.index.records.records_public}]","resource.type":"index_or_alias","resource.id":"${es.index.records.records_public}","index_uuid":"_na_","index":"${es.index.records.records_public}"}'.

Also when I look in kibana I see no results whatsoever, whereas I'm
pretty sure I was before I upgraded. I've uninstalled and reinstalled
elasticsearch and kibana, and made sure I'm using the same versions as
I was previously. I've followed the instructions here
https://github.com/geonetwork/core-geonetwork/tree/3.8.x/es for
loading the three indices and then imported export.json within kibana
-> saved obects. All of this seems to work just fine.

In terms of error logs-  this is the beginning of a long error in the
elasticsearch log:

[2019-11-07T17:45:40,741][WARN ][o.e.i.r.TransportDeleteByQueryAction]
[ip-10-100-1-107] giving up on search because it failed with a
non-retryable exception
org.elasticsearch.index.IndexNotFoundException: no such index
[${es.index.records.records_public}]
        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.indexNotFoundException(IndexNameExpressionResolver.java:761)
~[elasticsearch-7.2.1.jar:7.2.1]

I can't see what I'm missing!

Regards

Jo



On Tue, Nov 5, 2019 at 9:02 AM Jo Cook <[hidden email]> wrote:
>
> Hi Francois,
>
> Apologies for not having time to test this before the release, but I
> can confirm it's all working fine with the update!
>
> Thanks
>
> Jo
>
> On Tue, Oct 29, 2019 at 6:27 PM Francois Prunayre <[hidden email]> wrote:
> >
> > Hi Jo,
> >
> > both issue should be fixed in 3.8.x branch with
> > https://github.com/geonetwork/core-geonetwork/pull/4085 and
> > https://github.com/geonetwork/core-geonetwork/pull/4056
> > A check with the 3.8.x branch is welcome before we make the release; if you have time.
> >
> > Cheers.
> >
> > Francois
> >
> >
> > Le mar. 29 oct. 2019 à 19:18, Jo Cook <[hidden email]> a écrit :
> >>
> >> Hi All,
> >>
> >> In Geonetwork 3.8, with elasticsearch and kibana installed and
> >> configured, if I visit the statistics and status page then I can see
> >> content statistics, and kibana is working fine, but there's a Remote
> >> Index error:
> >>
> >> java.lang.UnsupportedOperationException: JsonObject
> >> at com.google.gson.JsonElement.getAsLong(JsonElement.java:230)
> >> at io.searchbox.core.SearchResult.getTotal(SearchResult.java:218)
> >> at org.fao.geonet.monitor.health.IndexHealthCheck$1.check(IndexHealthCheck.java:58)
> >> at com.yammer.metrics.core.HealthCheck.execute(HealthCheck.java:165)
> >> at com.yammer.metrics.core.HealthCheckRegistry.runHealthChecks(HealthCheckRegistry.java:53)
> >> at org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet.doGet(GeonetworkHealthCheckServlet.java:83)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:126)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
> >> at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
> >> at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
> >> at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
> >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
> >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:85)
> >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
> >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >> at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
> >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
> >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
> >> at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
> >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
> >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> >> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
> >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
> >> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
> >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
> >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> >> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
> >> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> >> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
> >> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
> >> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> >> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> >> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> >> at java.lang.Thread.run(Thread.java:748)
> >>
> >> Furthermore (and I'm not sure if these two issues are related) when I
> >> go to the tools page and click "(beta) Index in remote index" I get
> >> another error:
> >>
> >> IOException
> >>
> >> Error during removal. Errors is
> >> '{"root_cause":[{"type":"index_not_found_exception","reason":"no such
> >> index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}],"type":"index_not_found_exception","reason":"no
> >> such index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}'.
> >>
> >> In kibana I can't see this index at all, but I also can't see it in
> >> the repository when I do a search for the code. Am I missing something
> >> in the setup?
> >>
> >> 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
> >>
> >> --
> >> --
> >> *Sign up to our mailing list
> >> <https://astuntechnology.com/company/#email-updates> for updates on news,
> >> products, conferences, events and training*
> >> *
> >> *
> >>
> >> Astun Technology Ltd,
> >> Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK
> >>
> >> t:+44 1372 744 009 w: astuntechnology.com <http://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.
> >>
> >>
> >> _______________________________________________
> >> GeoNetwork-devel mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> >> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>
>
>
> --
> 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



--
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

--
-- 
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK 

t:+44 1372 744 009 w: astuntechnology.com <http://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/training-courses/>
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>





Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.


_______________________________________________
GeoNetwork-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.8, indexing in remote elasticsearch instance error

Jo Cook
Hi Francois,

Great- once I'd changed it to:

es.index.records_public=

Then the index completed successfully and I now see statistics in
kibana.  However, I've looked in
https://github.com/geonetwork/core-geonetwork/blob/3.8.x/web/src/main/webResources/WEB-INF/config.properties
and that has es.index.records_public=${es.index.records.records_public}
in it, so if I'm using 3.8 shouldn't I also have that value?

Thanks

Jo


On Fri, Nov 8, 2019 at 7:40 AM Francois Prunayre <[hidden email]> wrote:

>
> Jo, it sounds like the property value in your WEB-INF/config.properties has "es.index.records.records_public" as a value. Can you set it to "" instead ?
>
> Francois
>
> Le jeu. 7 nov. 2019 à 19:24, Jo Cook <[hidden email]> a écrit :
>>
>> Hi Francois, and devs,
>>
>> I think I spoke too soon with elastic search and errors...
>>
>> I've updated to 3.8.2 and have elasticsearch and kibana working.
>> However, I still get an error when I try the admin console -> tools ->
>> index in remote index:
>>
>> IOException
>>
>> Error during removal. Errors is
>> '{"root_cause":[{"type":"index_not_found_exception","reason":"no such
>> index [${es.index.records.records_public}]","resource.type":"index_or_alias","resource.id":"${es.index.records.records_public}","index_uuid":"_na_","index":"${es.index.records.records_public}"}],"type":"index_not_found_exception","reason":"no
>> such index [${es.index.records.records_public}]","resource.type":"index_or_alias","resource.id":"${es.index.records.records_public}","index_uuid":"_na_","index":"${es.index.records.records_public}"}'.
>>
>> Also when I look in kibana I see no results whatsoever, whereas I'm
>> pretty sure I was before I upgraded. I've uninstalled and reinstalled
>> elasticsearch and kibana, and made sure I'm using the same versions as
>> I was previously. I've followed the instructions here
>> https://github.com/geonetwork/core-geonetwork/tree/3.8.x/es for
>> loading the three indices and then imported export.json within kibana
>> -> saved obects. All of this seems to work just fine.
>>
>> In terms of error logs-  this is the beginning of a long error in the
>> elasticsearch log:
>>
>> [2019-11-07T17:45:40,741][WARN ][o.e.i.r.TransportDeleteByQueryAction]
>> [ip-10-100-1-107] giving up on search because it failed with a
>> non-retryable exception
>> org.elasticsearch.index.IndexNotFoundException: no such index
>> [${es.index.records.records_public}]
>>         at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.indexNotFoundException(IndexNameExpressionResolver.java:761)
>> ~[elasticsearch-7.2.1.jar:7.2.1]
>>
>> I can't see what I'm missing!
>>
>> Regards
>>
>> Jo
>>
>>
>>
>> On Tue, Nov 5, 2019 at 9:02 AM Jo Cook <[hidden email]> wrote:
>> >
>> > Hi Francois,
>> >
>> > Apologies for not having time to test this before the release, but I
>> > can confirm it's all working fine with the update!
>> >
>> > Thanks
>> >
>> > Jo
>> >
>> > On Tue, Oct 29, 2019 at 6:27 PM Francois Prunayre <[hidden email]> wrote:
>> > >
>> > > Hi Jo,
>> > >
>> > > both issue should be fixed in 3.8.x branch with
>> > > https://github.com/geonetwork/core-geonetwork/pull/4085 and
>> > > https://github.com/geonetwork/core-geonetwork/pull/4056
>> > > A check with the 3.8.x branch is welcome before we make the release; if you have time.
>> > >
>> > > Cheers.
>> > >
>> > > Francois
>> > >
>> > >
>> > > Le mar. 29 oct. 2019 à 19:18, Jo Cook <[hidden email]> a écrit :
>> > >>
>> > >> Hi All,
>> > >>
>> > >> In Geonetwork 3.8, with elasticsearch and kibana installed and
>> > >> configured, if I visit the statistics and status page then I can see
>> > >> content statistics, and kibana is working fine, but there's a Remote
>> > >> Index error:
>> > >>
>> > >> java.lang.UnsupportedOperationException: JsonObject
>> > >> at com.google.gson.JsonElement.getAsLong(JsonElement.java:230)
>> > >> at io.searchbox.core.SearchResult.getTotal(SearchResult.java:218)
>> > >> at org.fao.geonet.monitor.health.IndexHealthCheck$1.check(IndexHealthCheck.java:58)
>> > >> at com.yammer.metrics.core.HealthCheck.execute(HealthCheck.java:165)
>> > >> at com.yammer.metrics.core.HealthCheckRegistry.runHealthChecks(HealthCheckRegistry.java:53)
>> > >> at org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet.doGet(GeonetworkHealthCheckServlet.java:83)
>> > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
>> > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:126)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>> > >> at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>> > >> at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>> > >> at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> > >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
>> > >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:85)
>> > >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>> > >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>> > >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
>> > >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
>> > >> at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
>> > >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
>> > >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>> > >> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
>> > >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>> > >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>> > >> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
>> > >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
>> > >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>> > >> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
>> > >> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>> > >> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
>> > >> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
>> > >> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>> > >> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>> > >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>> > >> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>> > >> at java.lang.Thread.run(Thread.java:748)
>> > >>
>> > >> Furthermore (and I'm not sure if these two issues are related) when I
>> > >> go to the tools page and click "(beta) Index in remote index" I get
>> > >> another error:
>> > >>
>> > >> IOException
>> > >>
>> > >> Error during removal. Errors is
>> > >> '{"root_cause":[{"type":"index_not_found_exception","reason":"no such
>> > >> index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}],"type":"index_not_found_exception","reason":"no
>> > >> such index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}'.
>> > >>
>> > >> In kibana I can't see this index at all, but I also can't see it in
>> > >> the repository when I do a search for the code. Am I missing something
>> > >> in the setup?
>> > >>
>> > >> 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
>> > >>
>> > >> --
>> > >> --
>> > >> *Sign up to our mailing list
>> > >> <https://astuntechnology.com/company/#email-updates> for updates on news,
>> > >> products, conferences, events and training*
>> > >> *
>> > >> *
>> > >>
>> > >> Astun Technology Ltd,
>> > >> Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK
>> > >>
>> > >> t:+44 1372 744 009 w: astuntechnology.com <http://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.
>> > >>
>> > >>
>> > >> _______________________________________________
>> > >> GeoNetwork-devel mailing list
>> > >> [hidden email]
>> > >> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
>> > >> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>> >
>> >
>> >
>> > --
>> > 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
>>
>>
>>
>> --
>> 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
>>
>> --
>> --
>> *Sign up to our mailing list
>> <https://astuntechnology.com/company/#email-updates> for updates on news,
>> products, conferences, events and training*
>> *
>> *
>>
>> Astun Technology Ltd,
>> Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK
>>
>> t:+44 1372 744 009 w: astuntechnology.com <http://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/training-courses/>
>> Helpdesk and customer
>> portal
>> <https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>
>>
>>
>>
>>
>>
>> Company registration no. 5410695. Registered in England and Wales.
>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
>> 864201149.



--
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

--
-- 
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK 

t:+44 1372 744 009 w: astuntechnology.com <http://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/training-courses/>
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>





Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.


_______________________________________________
GeoNetwork-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.8, indexing in remote elasticsearch instance error

Francois Prunayre
Indeed Jo, this https://github.com/geonetwork/core-geonetwork/blob/15f4c7df5fbd91a168061ef9742ee427d65523f4/web/src/main/webResources/WEB-INF/config.properties was not cherry-picked to 3.8.x branch.

So for those of you using Elasticsearch with 3.8.2, you should update config.properties and replace
es.index.records_public=${es.index.records.records_public}
by
es.index.records_public=

It will be fixed in 3.8.3.

Cheers.

Francois

Le ven. 8 nov. 2019 à 10:40, Jo Cook <[hidden email]> a écrit :
Hi Francois,

Great- once I'd changed it to:

es.index.records_public=

Then the index completed successfully and I now see statistics in
kibana.  However, I've looked in
https://github.com/geonetwork/core-geonetwork/blob/3.8.x/web/src/main/webResources/WEB-INF/config.properties
and that has es.index.records_public=${es.index.records.records_public}
in it, so if I'm using 3.8 shouldn't I also have that value?

Thanks

Jo


On Fri, Nov 8, 2019 at 7:40 AM Francois Prunayre <[hidden email]> wrote:
>
> Jo, it sounds like the property value in your WEB-INF/config.properties has "es.index.records.records_public" as a value. Can you set it to "" instead ?
>
> Francois
>
> Le jeu. 7 nov. 2019 à 19:24, Jo Cook <[hidden email]> a écrit :
>>
>> Hi Francois, and devs,
>>
>> I think I spoke too soon with elastic search and errors...
>>
>> I've updated to 3.8.2 and have elasticsearch and kibana working.
>> However, I still get an error when I try the admin console -> tools ->
>> index in remote index:
>>
>> IOException
>>
>> Error during removal. Errors is
>> '{"root_cause":[{"type":"index_not_found_exception","reason":"no such
>> index [${es.index.records.records_public}]","resource.type":"index_or_alias","resource.id":"${es.index.records.records_public}","index_uuid":"_na_","index":"${es.index.records.records_public}"}],"type":"index_not_found_exception","reason":"no
>> such index [${es.index.records.records_public}]","resource.type":"index_or_alias","resource.id":"${es.index.records.records_public}","index_uuid":"_na_","index":"${es.index.records.records_public}"}'.
>>
>> Also when I look in kibana I see no results whatsoever, whereas I'm
>> pretty sure I was before I upgraded. I've uninstalled and reinstalled
>> elasticsearch and kibana, and made sure I'm using the same versions as
>> I was previously. I've followed the instructions here
>> https://github.com/geonetwork/core-geonetwork/tree/3.8.x/es for
>> loading the three indices and then imported export.json within kibana
>> -> saved obects. All of this seems to work just fine.
>>
>> In terms of error logs-  this is the beginning of a long error in the
>> elasticsearch log:
>>
>> [2019-11-07T17:45:40,741][WARN ][o.e.i.r.TransportDeleteByQueryAction]
>> [ip-10-100-1-107] giving up on search because it failed with a
>> non-retryable exception
>> org.elasticsearch.index.IndexNotFoundException: no such index
>> [${es.index.records.records_public}]
>>         at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.indexNotFoundException(IndexNameExpressionResolver.java:761)
>> ~[elasticsearch-7.2.1.jar:7.2.1]
>>
>> I can't see what I'm missing!
>>
>> Regards
>>
>> Jo
>>
>>
>>
>> On Tue, Nov 5, 2019 at 9:02 AM Jo Cook <[hidden email]> wrote:
>> >
>> > Hi Francois,
>> >
>> > Apologies for not having time to test this before the release, but I
>> > can confirm it's all working fine with the update!
>> >
>> > Thanks
>> >
>> > Jo
>> >
>> > On Tue, Oct 29, 2019 at 6:27 PM Francois Prunayre <[hidden email]> wrote:
>> > >
>> > > Hi Jo,
>> > >
>> > > both issue should be fixed in 3.8.x branch with
>> > > https://github.com/geonetwork/core-geonetwork/pull/4085 and
>> > > https://github.com/geonetwork/core-geonetwork/pull/4056
>> > > A check with the 3.8.x branch is welcome before we make the release; if you have time.
>> > >
>> > > Cheers.
>> > >
>> > > Francois
>> > >
>> > >
>> > > Le mar. 29 oct. 2019 à 19:18, Jo Cook <[hidden email]> a écrit :
>> > >>
>> > >> Hi All,
>> > >>
>> > >> In Geonetwork 3.8, with elasticsearch and kibana installed and
>> > >> configured, if I visit the statistics and status page then I can see
>> > >> content statistics, and kibana is working fine, but there's a Remote
>> > >> Index error:
>> > >>
>> > >> java.lang.UnsupportedOperationException: JsonObject
>> > >> at com.google.gson.JsonElement.getAsLong(JsonElement.java:230)
>> > >> at io.searchbox.core.SearchResult.getTotal(SearchResult.java:218)
>> > >> at org.fao.geonet.monitor.health.IndexHealthCheck$1.check(IndexHealthCheck.java:58)
>> > >> at com.yammer.metrics.core.HealthCheck.execute(HealthCheck.java:165)
>> > >> at com.yammer.metrics.core.HealthCheckRegistry.runHealthChecks(HealthCheckRegistry.java:53)
>> > >> at org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet.doGet(GeonetworkHealthCheckServlet.java:83)
>> > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
>> > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:126)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>> > >> at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>> > >> at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>> > >> at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> > >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
>> > >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:85)
>> > >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>> > >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> > >> at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>> > >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>> > >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
>> > >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
>> > >> at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
>> > >> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> > >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> > >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
>> > >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>> > >> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
>> > >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>> > >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>> > >> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
>> > >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
>> > >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>> > >> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
>> > >> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>> > >> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
>> > >> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
>> > >> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>> > >> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>> > >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>> > >> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>> > >> at java.lang.Thread.run(Thread.java:748)
>> > >>
>> > >> Furthermore (and I'm not sure if these two issues are related) when I
>> > >> go to the tools page and click "(beta) Index in remote index" I get
>> > >> another error:
>> > >>
>> > >> IOException
>> > >>
>> > >> Error during removal. Errors is
>> > >> '{"root_cause":[{"type":"index_not_found_exception","reason":"no such
>> > >> index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}],"type":"index_not_found_exception","reason":"no
>> > >> such index [gn-records-public]","resource.type":"index_or_alias","resource.id":"gn-records-public","index_uuid":"_na_","index":"gn-records-public"}'.
>> > >>
>> > >> In kibana I can't see this index at all, but I also can't see it in
>> > >> the repository when I do a search for the code. Am I missing something
>> > >> in the setup?
>> > >>
>> > >> 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
>> > >>
>> > >> --
>> > >> --
>> > >> *Sign up to our mailing list
>> > >> <https://astuntechnology.com/company/#email-updates> for updates on news,
>> > >> products, conferences, events and training*
>> > >> *
>> > >> *
>> > >>
>> > >> Astun Technology Ltd,
>> > >> Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK
>> > >>
>> > >> t:+44 1372 744 009 w: astuntechnology.com <http://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.
>> > >>
>> > >>
>> > >> _______________________________________________
>> > >> GeoNetwork-devel mailing list
>> > >> [hidden email]
>> > >> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
>> > >> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>> >
>> >
>> >
>> > --
>> > 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
>>
>>
>>
>> --
>> 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
>>
>> --
>> --
>> *Sign up to our mailing list
>> <https://astuntechnology.com/company/#email-updates> for updates on news,
>> products, conferences, events and training*
>> *
>> *
>>
>> Astun Technology Ltd,
>> Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK
>>
>> t:+44 1372 744 009 w: astuntechnology.com <http://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/training-courses/>
>> Helpdesk and customer
>> portal
>> <https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>
>>
>>
>>
>>
>>
>> Company registration no. 5410695. Registered in England and Wales.
>> Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
>> 864201149.



--
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

--
-- 
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd,
Epsom Square Centre, 6-7 The Derby Square, Epsom, Surrey, KT19 8AG, UK 

t:+44 1372 744 009 w: astuntechnology.com <http://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/training-courses/>
Helpdesk and customer
portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>





Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.


_______________________________________________
GeoNetwork-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork