[GeoNetwork-users] Elastic search version for the latest GN version

Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn\-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Cc: Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]<https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...<mailto:juanluisrp@…444…>
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on http://10.8.244.64:9200/&gt; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&gt;*

* curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&gt;* and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
<http://10.8.244.64:9200/&gt;*/gn-records, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&gt;
Hello,

I would follow the instructions right there:
https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&gt;
Hello,

The actual supported version is the *7.15.1*.
See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200/&gt;\],]http://10.8.244.64:9200/&gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is
relative so you need to execute the command at the correct location, and
check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com> wrote:

Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
------------------------------
*From:* Florent Gravin <florent.gravin@anonymised.com>
*Sent:* Thursday, October 19, 2023 08:54
*To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
*Cc:* Juan Luis Rodriguez Ponce <juanluisrp@anonymised.com>; Florent Gravin
via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt;\*gn\-records\* -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com> wrote:

Hi,
this is wat I get

*curl http://10.8.244.64:9200/_cat/indices
<http://10.8.244.64:9200/_cat/indices&gt;\*
*green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb
40.6mb*
*yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b
208b*
*yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b
208b*
*yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b
208b*

the index is not there and as a consequence

*curl http://10.8.244.64:9200/_cat/indices/gn-records
<http://10.8.244.64:9200/_cat/indices/gn-records&gt;
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id
<resource.id - resource Resources and Information.}],"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id
<resource.id - resource Resources and Information.},"status":404}*

Thanks,
Bartolomeo

------------------------------
*From:* Juan Luis Rodriguez Ponce <juanluisrp@anonymised.com>
*Sent:* Thursday, October 19, 2023 08:47
*To:* Florent Gravin <florent.gravin@anonymised.com>
*Cc:* Florent Gravin via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net>; Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity
problem between ES and GN.

Best regards,
Juan Luis.

<https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@anonymised.com
https://www.geocat.net
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

---- On Thu, 19 Oct 2023 08:39:35 +0200 *Florent Gravin via
GeoNetwork-users <geonetwork-users@lists.sourceforge.net
<geonetwork-users@lists.sourceforge.net>>* wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com> wrote:

> Hi,
> this is what I get from the request:
>
> {
> "error": {
> "root_cause": [
> {
> "type": "illegal_argument_exception",
> "reason": "request [/gn-records/_search] contains unrecognized
parameter: [max_concurrent_shards]"
> }
> ],
> "type": "illegal_argument_exception",
> "reason": "request [/gn-records/_search] contains unrecognized
parameter: [max_concurrent_shards]"
> },
> "status": 400
> }
>
>
> regards,
>
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Thursday, October 19, 2023 08:35
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
>
> ERROR [geonetwork.index] - Error during querying index. method [POST],
> host [[http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;
http://10.8.244.64:9200/&gt;\], URI
>
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
> status line [HTTP/1.1 404 Not Found]
> Warnings: [[ignore_throttled] parameter is deprecated because frozen
> indices have been deprecated. Consider cold or frozen tiers in place of
> frozen indices.]
> {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id
":"gn-records","index_uuid":"_na_","index"reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id
> ":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}
>
>
> Well, the logs indicate that
>
> - GeoNetwork actually fetches ES on http://10.8.244.64:9200 (which is
> correct)
> - The index is not found
> - It seems that ES is answering something though, so would mean that
> GN can talk to ES, but the gn-records index is not found (it's just a
guess
> from the logs).
>
> Does this request returns something ?
>
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512
>
> I don't think it's related to the DB, but to the ability of GN to reach
ES
> or that ES does not have a gn-records index.
> I am not too much of an infra guy so maybe people in the ML who are more
> comfortable with setting GeoNetwork up could give some hints.
>
>
> On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
> bartolomeo.ventura@anonymised.com> wrote:
>
> Hi,
> elasticsearch seems to be there as you can see in the following figure
> where the gn-records index seems to be present too
> Might it be an error related to the DB?
>
> thanks!
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Wednesday, October 18, 2023 17:06
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> Ok, everything looks good, you can confirm the ES config from the admin
> console: admin.console#/dashboard/information (at the bottom)
>
> On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
> bartolomeo.ventura@anonymised.com> wrote:
>
> Hi,
>
>
> - you have created the index on the correct instance
>
>
> these are the commands I used:
>
> *IDX_PREFIX=gn*
>
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
> <http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt;*
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
> <http://10.8.244.64:9200/$IDX_PREFIX-records&gt;*
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
> <http://10.8.244.64:9200/$IDX_PREFIX-features&gt;*
>
> * curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
> <http://10.8.244.64:9200/$IDX_PREFIX-records&gt; -H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/records.json*
>
> *curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
> <http://10.8.244.64:9200/$IDX_PREFIX-features&gt; -H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/features.json*
>
> *curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
> <http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt; -H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*
>
>
> - you have set up the correct ES path in GeoNetwork
>
>
> this is the section extracted from the
> /opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file
>
> l*anguage.default=eng*
> *language.forceDefault=true*
>
> *# Define using CRON expression when watchlist notifier is triggered
> (Default 4AM)*
> *usersavedselection.watchlist.frequency=0 0 4 * * ?*
>
> *# Define the link to the list of updated records sent by email by the
> watchlist notifier*
>
>
*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*
>
> *# Define the link to each record sent by email by the watchlist
notifier*
> *usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*
>
> *es.protocol=http*
> *es.port=9200*
> *es.host=10.8.244.64*
> *es.url=${es.protocol}://${es.host}:${es.port}*
> *es.username=*
> *es.password=*
> *es.index.features=gn-features*
> *es.index.features.type=features*
>
> Is it enough or should I check somewhere else?
>
> - GeoNetwork web app can reach your ES in terms of network
>
>
> Elasticsearch is installed on the same VM. To be sure Is there a specific
> way to check it?
>
>
> thanks!
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Wednesday, October 18, 2023 15:41
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> Hmm,
>
> If you are sure that you've created the gn-records index on *
10.8.244.64:9200/gn-records
> <http://10.8.244.64:9200/gn-records&gt;* and not on *localhost:9200*,
and
> that you are sure that your GeoNetwork points to the ES on *
10.8.244.64:9200
> <http://10.8.244.64:9200/&gt;*/gn-records, then yes, I don't see why it
> complains about not finding the gn-records index.
>
> Could you double check that:
>
> - you have created the index on the correct instance
> - you have set up the correct ES path in GeoNetwork
> - GeoNetwork web app can reach your ES in terms of network
>
>
>
> On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
> bartolomeo.ventura@anonymised.com> wrote:
>
> Hi,
> unfortunately it did not help.
>
> I deleted the index and created them again. But as soon as I try to add a
> metadata the same error message returns.
>
>
>
> I tried to delete and reindex via GN but it did not help too
>
> the error in this case is
>
> [gn-records] ElasticsearchStatusException[Elasticsearch exception
[type=index_not_found_exception, reason=no such index [gn-records]]]
>
>
>
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Wednesday, October 18, 2023 14:52
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> You don't often get email from florent.gravin@anonymised.com Learn why
> this is important <Bing;
> Hello,
>
> I would follow the instructions right there:
> core-geonetwork/es at main · geonetwork/core-geonetwork · GitHub
> You may need to *delete* your index first, and recreate it.
> Let us know if it helps.
>
>
> On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
> bartolomeo.ventura@anonymised.com> wrote:
>
> Hi all,
> I installed the version 7.15.1 but even if it is up and running I'm
> getting the following error
>
> *ERROR [geonetwork.index] - Error during index creation. Error is: Could
> not connect to index 'gn-records'. Error is Compressor detection can only
> be called on some xcontent bytes or compressed xcontent bytes. Is the
index
> server up and running?*
>
> Elasticsearch is up and running
>
> If I create via curl the gn-index
>
> *curl -X PUT "10.8.244.64:9200/gn-records
> <http://10.8.244.64:9200/gn-records&gt;&quot; -H 'Content-Type:
application/json'*
>
> it seems working but if I create a metadata and I search for it the same
> error appears again
>
> Any suggestions?
>
> thanks
>
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Tuesday, October 17, 2023 15:20
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> You don't often get email from florent.gravin@anonymised.com Learn why
> this is important <Bing;
> Hello,
>
> The actual supported version is the *7.15.1*.
> See
core-geonetwork/pom.xml at main · geonetwork/core-geonetwork · GitHub
>
>
> On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
> geonetwork-users@lists.sourceforge.net> wrote:
>
> Hi all,
> could you please tell me which version of elasticsearch you recommend to
> be used for GN v4.4.0?
>
> I tried using the last one elasticsearch-8.10.3 but I got the following
> error:
>
> ERROR [geonetwork.index] - Error during querying index. method [POST],
> host [[http://10.8.244.64:9200],]http://10.8.244.64:9200], URI
>
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
> status line [HTTP/1.1 404 Not Found]
> Warnings: [[ignore_throttled] parameter is deprecated because frozen
> indices have been deprecated. Consider cold or frozen tiers in place of
> frozen indices.]
> {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id
":"gn-records","index_uuid":"_na_","index"reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id
> ":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}
>
> even if I created the index as indicated in the GN guideline
>
> regards,
>
> Bartolomeo Ventura, PhD
> Eurac Research
> Institute for Earth Observation
> T +39 0471 055 374
> F +39 0471 055 389
> bartolomeo.ventura@anonymised.com<mailto:bartolomeo.ventura@anonymised.com>
>
> Viale Druso 1
> I-39100 Bolzano
> www.eurac.edu<http://www.eurac.edu/&gt;
>
> This transmission is intended only for the use of the addressee and may
> contain confidential or legally privileged information.
> If you receive this transmission by error, please notify the author
> immediately by mail and delete all copies of this transmission and any
> attachments.
> Any use or dissemination of this communication is strictly prohibited by
> the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
> liability for damages.
> P Think before you print
>
>
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> geonetwork-users List Signup and Options
> GeoNetwork OpenSource is maintained at
> GeoNetwork - Geographic Metadata Catalog download | SourceForge.net
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@anonymised.com]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@anonymised.com]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@anonymised.com]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <florent.gravin@...137...>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn\-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Cc: Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]<https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...<mailto:juanluisrp@…444…>
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on http://10.8.244.64:9200/&gt; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&gt;*

* curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&gt;* and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
<http://10.8.244.64:9200/&gt;*/gn-records, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&gt;
Hello,

I would follow the instructions right there:
https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&gt;
Hello,

The actual supported version is the *7.15.1*.
See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200/&gt;\],]http://10.8.244.64:9200/&gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

So *curl http://10.8.244.64:9200/_cat/indices/gn-records
<http://10.8.244.64:9200/_cat/indices/gn-records&gt; *works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com> wrote:

Ok,
I run the command in the right position but the problem is that at a first
sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30
of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors
in it?

Thanks,
Bart

Inviato da Outlook per Android <Bing;
------------------------------
*From:* Florent Gravin <florent.gravin@anonymised.com>
*Sent:* Thursday, October 19, 2023 8:59:49 AM
*To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
*Cc:* Juan Luis Rodriguez Ponce <juanluisrp@anonymised.com>; Florent Gravin
via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is
relative so you need to execute the command at the correct location, and
check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com> wrote:

Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
------------------------------
*From:* Florent Gravin <florent.gravin@anonymised.com>
*Sent:* Thursday, October 19, 2023 08:54
*To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
*Cc:* Juan Luis Rodriguez Ponce <juanluisrp@anonymised.com>; Florent Gravin
via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt;\*gn\-records\* -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com> wrote:

Hi,
this is wat I get

*curl http://10.8.244.64:9200/_cat/indices
<http://10.8.244.64:9200/_cat/indices&gt;\*
*green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb
40.6mb*
*yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b
208b*
*yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b
208b*
*yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b
208b*

the index is not there and as a consequence

*curl http://10.8.244.64:9200/_cat/indices/gn-records
<http://10.8.244.64:9200/_cat/indices/gn-records&gt;
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id
<resource.id - resource Resources and Information.}],"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id
<resource.id - resource Resources and Information.},"status":404}*

Thanks,
Bartolomeo

------------------------------
*From:* Juan Luis Rodriguez Ponce <juanluisrp@anonymised.com>
*Sent:* Thursday, October 19, 2023 08:47
*To:* Florent Gravin <florent.gravin@anonymised.com>
*Cc:* Florent Gravin via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net>; Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity
problem between ES and GN.

Best regards,
Juan Luis.

<https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@anonymised.com
https://www.geocat.net
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

---- On Thu, 19 Oct 2023 08:39:35 +0200 *Florent Gravin via
GeoNetwork-users <geonetwork-users@lists.sourceforge.net
<geonetwork-users@lists.sourceforge.net>>* wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com> wrote:

> Hi,
> this is what I get from the request:
>
> {
> "error": {
> "root_cause": [
> {
> "type": "illegal_argument_exception",
> "reason": "request [/gn-records/_search] contains unrecognized
parameter: [max_concurrent_shards]"
> }
> ],
> "type": "illegal_argument_exception",
> "reason": "request [/gn-records/_search] contains unrecognized
parameter: [max_concurrent_shards]"
> },
> "status": 400
> }
>
>
> regards,
>
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Thursday, October 19, 2023 08:35
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
>
> ERROR [geonetwork.index] - Error during querying index. method [POST],
> host [[http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;
http://10.8.244.64:9200/&gt;\], URI
>
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
> status line [HTTP/1.1 404 Not Found]
> Warnings: [[ignore_throttled] parameter is deprecated because frozen
> indices have been deprecated. Consider cold or frozen tiers in place of
> frozen indices.]
> {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id
":"gn-records","index_uuid":"_na_","index"reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id
> ":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}
>
>
> Well, the logs indicate that
>
> - GeoNetwork actually fetches ES on http://10.8.244.64:9200 (which is
> correct)
> - The index is not found
> - It seems that ES is answering something though, so would mean that
> GN can talk to ES, but the gn-records index is not found (it's just a
guess
> from the logs).
>
> Does this request returns something ?
>
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512
>
> I don't think it's related to the DB, but to the ability of GN to reach
ES
> or that ES does not have a gn-records index.
> I am not too much of an infra guy so maybe people in the ML who are more
> comfortable with setting GeoNetwork up could give some hints.
>
>
> On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
> bartolomeo.ventura@anonymised.com> wrote:
>
> Hi,
> elasticsearch seems to be there as you can see in the following figure
> where the gn-records index seems to be present too
> Might it be an error related to the DB?
>
> thanks!
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Wednesday, October 18, 2023 17:06
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> Ok, everything looks good, you can confirm the ES config from the admin
> console: admin.console#/dashboard/information (at the bottom)
>
> On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
> bartolomeo.ventura@anonymised.com> wrote:
>
> Hi,
>
>
> - you have created the index on the correct instance
>
>
> these are the commands I used:
>
> *IDX_PREFIX=gn*
>
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
> <http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt;*
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
> <http://10.8.244.64:9200/$IDX_PREFIX-records&gt;*
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
> <http://10.8.244.64:9200/$IDX_PREFIX-features&gt;*
>
> * curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
> <http://10.8.244.64:9200/$IDX_PREFIX-records&gt; -H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/records.json*
>
> *curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
> <http://10.8.244.64:9200/$IDX_PREFIX-features&gt; -H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/features.json*
>
> *curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
> <http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt; -H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*
>
>
> - you have set up the correct ES path in GeoNetwork
>
>
> this is the section extracted from the
> /opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file
>
> l*anguage.default=eng*
> *language.forceDefault=true*
>
> *# Define using CRON expression when watchlist notifier is triggered
> (Default 4AM)*
> *usersavedselection.watchlist.frequency=0 0 4 * * ?*
>
> *# Define the link to the list of updated records sent by email by the
> watchlist notifier*
>
>
*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*
>
> *# Define the link to each record sent by email by the watchlist
notifier*
> *usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*
>
> *es.protocol=http*
> *es.port=9200*
> *es.host=10.8.244.64*
> *es.url=${es.protocol}://${es.host}:${es.port}*
> *es.username=*
> *es.password=*
> *es.index.features=gn-features*
> *es.index.features.type=features*
>
> Is it enough or should I check somewhere else?
>
> - GeoNetwork web app can reach your ES in terms of network
>
>
> Elasticsearch is installed on the same VM. To be sure Is there a specific
> way to check it?
>
>
> thanks!
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Wednesday, October 18, 2023 15:41
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> Hmm,
>
> If you are sure that you've created the gn-records index on *
10.8.244.64:9200/gn-records
> <http://10.8.244.64:9200/gn-records&gt;* and not on *localhost:9200*,
and
> that you are sure that your GeoNetwork points to the ES on *
10.8.244.64:9200
> <http://10.8.244.64:9200/&gt;*/gn-records, then yes, I don't see why it
> complains about not finding the gn-records index.
>
> Could you double check that:
>
> - you have created the index on the correct instance
> - you have set up the correct ES path in GeoNetwork
> - GeoNetwork web app can reach your ES in terms of network
>
>
>
> On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
> bartolomeo.ventura@anonymised.com> wrote:
>
> Hi,
> unfortunately it did not help.
>
> I deleted the index and created them again. But as soon as I try to add a
> metadata the same error message returns.
>
>
>
> I tried to delete and reindex via GN but it did not help too
>
> the error in this case is
>
> [gn-records] ElasticsearchStatusException[Elasticsearch exception
[type=index_not_found_exception, reason=no such index [gn-records]]]
>
>
>
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Wednesday, October 18, 2023 14:52
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> You don't often get email from florent.gravin@anonymised.com Learn why
> this is important <Bing;
> Hello,
>
> I would follow the instructions right there:
> core-geonetwork/es at main · geonetwork/core-geonetwork · GitHub
> You may need to *delete* your index first, and recreate it.
> Let us know if it helps.
>
>
> On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
> bartolomeo.ventura@anonymised.com> wrote:
>
> Hi all,
> I installed the version 7.15.1 but even if it is up and running I'm
> getting the following error
>
> *ERROR [geonetwork.index] - Error during index creation. Error is: Could
> not connect to index 'gn-records'. Error is Compressor detection can only
> be called on some xcontent bytes or compressed xcontent bytes. Is the
index
> server up and running?*
>
> Elasticsearch is up and running
>
> If I create via curl the gn-index
>
> *curl -X PUT "10.8.244.64:9200/gn-records
> <http://10.8.244.64:9200/gn-records&gt;&quot; -H 'Content-Type:
application/json'*
>
> it seems working but if I create a metadata and I search for it the same
> error appears again
>
> Any suggestions?
>
> thanks
>
> ------------------------------
> *From:* Florent Gravin <florent.gravin@anonymised.com>
> *Sent:* Tuesday, October 17, 2023 15:20
> *To:* Ventura Bartolomeo <bartolomeo.ventura@anonymised.com>
> *Cc:* geonetwork-users@lists.sourceforge.net <
> geonetwork-users@lists.sourceforge.net>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> You don't often get email from florent.gravin@anonymised.com Learn why
> this is important <Bing;
> Hello,
>
> The actual supported version is the *7.15.1*.
> See
core-geonetwork/pom.xml at main · geonetwork/core-geonetwork · GitHub
>
>
> On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
> geonetwork-users@lists.sourceforge.net> wrote:
>
> Hi all,
> could you please tell me which version of elasticsearch you recommend to
> be used for GN v4.4.0?
>
> I tried using the last one elasticsearch-8.10.3 but I got the following
> error:
>
> ERROR [geonetwork.index] - Error during querying index. method [POST],
> host [[http://10.8.244.64:9200],]http://10.8.244.64:9200], URI
>
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
> status line [HTTP/1.1 404 Not Found]
> Warnings: [[ignore_throttled] parameter is deprecated because frozen
> indices have been deprecated. Consider cold or frozen tiers in place of
> frozen indices.]
> {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id
":"gn-records","index_uuid":"_na_","index"reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id
> ":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}
>
> even if I created the index as indicated in the GN guideline
>
> regards,
>
> Bartolomeo Ventura, PhD
> Eurac Research
> Institute for Earth Observation
> T +39 0471 055 374
> F +39 0471 055 389
> bartolomeo.ventura@anonymised.com<mailto:bartolomeo.ventura@anonymised.com>
>
> Viale Druso 1
> I-39100 Bolzano
> www.eurac.edu<http://www.eurac.edu/&gt;
>
> This transmission is intended only for the use of the addressee and may
> contain confidential or legally privileged information.
> If you receive this transmission by error, please notify the author
> immediately by mail and delete all copies of this transmission and any
> attachments.
> Any use or dissemination of this communication is strictly prohibited by
> the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
> liability for damages.
> P Think before you print
>
>
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> geonetwork-users List Signup and Options
> GeoNetwork OpenSource is maintained at
> GeoNetwork - Geographic Metadata Catalog download | SourceForge.net
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> florent.gravin@anonymised.com]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
>

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@anonymised.com]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@anonymised.com]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@anonymised.com]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@anonymised.com]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

Hi,
yes the cmd works

curl http://10.8.244.64:9200/_cat/indices/gn-records
yellow open gn-records Z1STpoqwSCya8y1bZm-57Q 1 1 2 0 59.7kb 59.7kb

Yes I did a new indexing but I got the same error

2023-10-19T10:58:11,791 ERROR [geonetwork.index] - Could not connect to index 'gn-records'. Error is Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes. Is the index server up and running?
2023-10-19T10:58:11,791 ERROR [geonetwork.index] - Error during index creation. Error is: Could not connect to index 'gn-records'. Error is Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes. Is the index server up and running?

No errors in elasticseach log

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl http://10.8.244.64:9200/_cat/indices/gn-records works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn\-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Cc: Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]<https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...<mailto:juanluisrp@…444…>
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on http://10.8.244.64:9200/&gt; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&gt;*

* curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&gt;* and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
<http://10.8.244.64:9200/&gt;*/gn-records, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&gt;
Hello,

I would follow the instructions right there:
https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&gt;
Hello,

The actual supported version is the *7.15.1*.
See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200/&gt;\],]http://10.8.244.64:9200/&gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

Hi all,
I continued testing my geonetwork installation and the situation is this now:
as you can see here I have 26 indexed metadata:

[cid:eaa3f704-9c36-4e24-9bfa-e071ec7c1f59]

but if I try to click on the search button

[cid:0f745723-f12b-40ce-8570-0de030ac5a02]

no metadata is visible.

If I try to reindex the metadata catalogue I return to the same situation:

2023-10-23T09:04:15,547 ERROR [geonetwork.index] - Error during querying index. method [POST], host [http://10.8.244.64:9200], URI [/gn-records/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 404 Not Found]
Warnings: [Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

So I have to manually create again the index.

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

but then the circle closes and we return to the starting point.

Any further suggestions please?
________________________________
From: Florent Gravin <florent.gravin@...137...>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl http://10.8.244.64:9200/_cat/indices/gn-records works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn\-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Cc: Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]<https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...<mailto:juanluisrp@…444…>
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on http://10.8.244.64:9200/&gt; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&gt;*

* curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&gt;* and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
<http://10.8.244.64:9200/&gt;*/gn-records, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&gt;
Hello,

I would follow the instructions right there:
https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&gt;
Hello,

The actual supported version is the *7.15.1*.
See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200/&gt;\],]http://10.8.244.64:9200/&gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
!image.png|1229x579
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
!image.png|711x229
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...1966...]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

Hi

From the error messages, it seems the index doesn't exist. It's strange as from previous mails, seems you have created it manually (what also should not be requires, as GeoNetwork should create it during the startup).

Can you try the following commands?

- Check if the index is returned and it's not in red status: curl -X GET http://localhost:9200/_cat/indices

- Retrieve the index configuration: curl -X GET http://10.8.244.64:9200/gn-records

Regards,

Jose García

https://www.geocat.net

Jose Garcia

E-mail: jose.garcia@anonymised.com

https://www.geocat.net

Veenderweg 13

6721 WD Bennekom

The Netherlands

Tel: +31318416664

#

---- On Mon, 23 Oct 2023 09:08:56 +0200 Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net> wrote ---

Hi all,
I continued testing my geonetwork installation and the situation is this now:
as you can see here I have 26 indexed metadata:

[https://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698045887543030003&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&]

but if I try to click on the search button

[https://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698045887543030003&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&]

no metadata is visible.

If I try to reindex the metadata catalogue I return to the same situation:

2023-10-23T09:04:15,547 ERROR [geonetwork.index] - Error during querying index. method [POST], host [http://10.8.244.64:9200], URI [/gn-records/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 404 Not Found]
Warnings: [Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

So I have to manually create again the index.

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

but then the circle closes and we return to the starting point.

Any further suggestions please?
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com>; Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl http://10.8.244.64:9200/_cat/indices/gn-records works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>> wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>; Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@anonymised.comrge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>> wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>; Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@anonymised.comrge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>> wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Cc: Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@anonymised.comceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]&lt;https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>
https://www.geocat.net&lt;https://www.geocat.net/&amp;gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com18...>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
*Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com1518...>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
*Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com1518...>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt;*

* curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
*Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&amp;gt;* and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
<http://10.8.244.64:9200/&amp;gt;*/gn-records, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com1518...>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
*Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

I would follow the instructions right there:
https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com1518...>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&amp;gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
*Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

The actual supported version is the *7.15.1*.
See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt;\],]http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com1518...><mailto:mailto:bartolomeo.ventura@anonymised.com>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
mailto:GeoNetwork-users@lists.sourceforge.net<mailto:mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
[image: This is Florent Gravin's card. Their email is
mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
_______________________________________________
GeoNetwork-users mailing list
mailto:GeoNetwork-users@lists.sourceforge.net<mailto:mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com6…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com6…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com6…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
mailto:GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jose,

curl -X GET http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.7mb 40.7mb
yellow open gn-features 4z7gKEeGTyKiMS5JJs-Xow 1 1 0 0 208b 208b
yellow open gn-records -n3-vqnFRhia9AXUFQVlaw 1 1 63 0 212.1kb 212.1kb
yellow open gn-searchlogs qYWxow47QNWjWzboWsQyuA 1 1 0 0 208b 208b

please find attached the output of the cmd
curl -X GET http://10.8.244.64:9200/gn-records

thanks,

regards,

Bartolomeo

________________________________
From: Jose Garcia <jose.garcia@...444...>
Sent: Monday, October 23, 2023 09:36
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>; Florent Gravin <florent.gravin@...137...>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi

From the error messages, it seems the index doesn't exist. It's strange as from previous mails, seems you have created it manually (what also should not be requires, as GeoNetwork should create it during the startup).

Can you try the following commands?

- Check if the index is returned and it's not in red status: curl -X GET http://localhost:9200/_cat/indices
- Retrieve the index configuration: curl -X GET http://10.8.244.64:9200/gn-records

Regards,
Jose García

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]<https://www.geocat.net/&gt;
Jose Garcia
E-mail: jose.garcia@...444...
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Mon, 23 Oct 2023 09:08:56 +0200 Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net> wrote ---

Hi all,
I continued testing my geonetwork installation and the situation is this now:
as you can see here I have 26 indexed metadata:

[https://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698045887543030003&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&]

but if I try to click on the search button

[https://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698045887543030003&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&]

no metadata is visible.

If I try to reindex the metadata catalogue I return to the same situation:

2023-10-23T09:04:15,547 ERROR [geonetwork.index] - Error during querying index. method [POST], host [[http://10.8.244.64:9200],]http://10.8.244.64:9200], URI [/gn-records/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 404 Not Found]
Warnings: [Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

So I have to manually create again the index.

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

but then the circle closes and we return to the starting point.

Any further suggestions please?
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl http://10.8.244.64:9200/_cat/indices/gn-records works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Cc: Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]&lt;https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>
[https://www.geocat.net&]https://www.geocat.net&lt;https://www.geocat.net/&amp;gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[[http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on [http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt;*

* curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&amp;gt;* and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
<http://10.8.244.64:9200/&amp;gt;*/gn-records, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

I would follow the instructions right there:
https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&amp;gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

The actual supported version is the *7.15.1*.
See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[[http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt;\],][http://10.8.244.64:9200&]http://10.8.244.64:9200&lt;http://10.8.244.64:9200/&amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…<mailto:bartolomeo.ventura@…1518…>>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net><mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net><mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

(attachments)

gn-records.json (93.4 KB)

Hi Bartolomeo

All looks fine. Are you executing the commands from the GeoNetwork server? To confirm that there is no communication issue between the servers.

Can you confirm also about the versions of GeoNetwork and Elasticsearch that you are using?

Regards,

Jose García

https://www.geocat.net

Jose Garcia

E-mail: jose.garcia@anonymised.com

https://www.geocat.net

Veenderweg 13

6721 WD Bennekom

The Netherlands

Tel: +31318416664

#

---- On Mon, 23 Oct 2023 09:41:14 +0200 Ventura Bartolomeo <bartolomeo.ventura@anonymised.com> wrote ---

Hi Jose,

curl -X GET http://10.8.244.64:9200/_cat/indices

green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.7mb 40.7mb

yellow open gn-features 4z7gKEeGTyKiMS5JJs-Xow 1 1 0 0 208b 208b

yellow open gn-records -n3-vqnFRhia9AXUFQVlaw 1 1 63 0 212.1kb 212.1kb

yellow open gn-searchlogs qYWxow47QNWjWzboWsQyuA 1 1 0 0 208b 208b

please find attached the output of the cmd

curl -X GET http://10.8.244.64:9200/gn-records

thanks,

regards,

Bartolomeo

From: Jose Garcia <mailto:jose.garcia@anonymised.com>
Sent: Monday, October 23, 2023 09:36
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com>
Cc: Ventura Bartolomeo via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net>; Florent Gravin <mailto:florent.gravin@anonymised.com>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi

From the error messages, it seems the index doesn't exist. It's strange as from previous mails, seems you have created it manually (what also should not be requires, as

GeoNetwork should create it during the startup).

Can you try the following commands?

- Check if the index is returned and it's not in red status: curl -X GET http://localhost:9200/_cat/indices

- Retrieve the index configuration: curl -X GET http://10.8.244.64:9200/gn-records

Regards,

Jose García

https://www.geocat.net/

Jose Garcia

E-mail: mailto:jose.garcia@anonymised.com

https://www.geocat.net/

Veenderweg 13

6721 WD Bennekom

The Netherlands

Tel: +31318416664

---- On Mon, 23 Oct 2023 09:08:56 +0200 Ventura Bartolomeo via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net> wrote ---

Hi all,
I continued testing my geonetwork installation and the situation is this now:
as you can see here I have 26 indexed metadata:

[https://zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698046884818030004&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&]

but if I try to click on the search button

[https://zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698046884818030004&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&]

no metadata is visible.

If I try to reindex the metadata catalogue I return to the same situation:

2023-10-23T09:04:15,547 ERROR [geonetwork.index] - Error during querying index. method [POST], host [[http://10.8.244.64:9200],]http://10.8.244.64:9200], URI [/gn-records/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"}],"type":"index_not_found_exception","reason":"no such index
[gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

So I have to manually create again the index.

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

but then the circle closes and we return to the starting point.

Any further suggestions please?
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com>; Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl http://10.8.244.64:9200/_cat/indices/gn-records works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>;
Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@anonymised.comorge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>;
Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@anonymised.comorge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn-records
-H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Cc: Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@anonymised.comrceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>;
Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]&lt;https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>
[https://www.geocat.net&]https://www.geocat.net&amp;lt;https://www.geocat.net/&amp;gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com518...>>
wrote:

> Hi,
> this is what I get from the request:
>
> {
> "error": {
> "root_cause": [
> {
> "type": "illegal_argument_exception",
> "reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
> }
> ],
> "type": "illegal_argument_exception",
> "reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
> },
> "status": 400
> }
>
>
> regards,
>
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Thursday, October 19, 2023 08:35
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
>
> ERROR [geonetwork.index] - Error during querying index. method [POST],
> host [[[http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;amp;gt;\],
URI
> [/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
> status line [HTTP/1.1 404 Not Found]
> Warnings: [[ignore_throttled] parameter is deprecated because frozen
> indices have been deprecated. Consider cold or frozen tiers in place of
> frozen indices.]
> {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
> such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
> ":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}
>
>
> Well, the logs indicate that
>
> - GeoNetwork actually fetches ES on [http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;
(which is
> correct)
> - The index is not found
> - It seems that ES is answering something though, so would mean that
> GN can talk to ES, but the gn-records index is not found (it's just a guess
> from the logs).
>
> Does this request returns something ?
> http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512
>
> I don't think it's related to the DB, but to the ability of GN to reach ES
> or that ES does not have a gn-records index.
> I am not too much of an infra guy so maybe people in the ML who are more
> comfortable with setting GeoNetwork up could give some hints.
>
>
> On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...>> wrote:
>
> Hi,
> elasticsearch seems to be there as you can see in the following figure
> where the gn-records index seems to be present too
> Might it be an error related to the DB?
>
> thanks!
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Wednesday, October 18, 2023 17:06
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> Ok, everything looks good, you can confirm the ES config from the admin
> console: admin.console#/dashboard/information (at the bottom)
>
> On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...>> wrote:
>
> Hi,
>
>
> - you have created the index on the correct instance
>
>
> these are the commands I used:
>
> *IDX_PREFIX=gn*
>
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
> <http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt;*
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
> <http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt;*
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
> <http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt;*
>
> * curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
> <http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt;
-H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/records.json*
>
> *curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
> <http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt;
-H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/features.json*
>
> *curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
> <http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt;
-H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*
>
>
> - you have set up the correct ES path in GeoNetwork
>
>
> this is the section extracted from the
> /opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file
>
> l*anguage.default=eng*
> *language.forceDefault=true*
>
> *# Define using CRON expression when watchlist notifier is triggered
> (Default 4AM)*
> *usersavedselection.watchlist.frequency=0 0 4 * * ?*
>
> *# Define the link to the list of updated records sent by email by the
> watchlist notifier*
>
> *usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*
>
> *# Define the link to each record sent by email by the watchlist notifier*
> *usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*
>
> *es.protocol=http*
> *es.port=9200*
> *es.host=10.8.244.64*
> *es.url=${es.protocol}://${es.host}:${es.port}*
> *es.username=*
> *es.password=*
> *es.index.features=gn-features*
> *es.index.features.type=features*
>
> Is it enough or should I check somewhere else?
>
> - GeoNetwork web app can reach your ES in terms of network
>
>
> Elasticsearch is installed on the same VM. To be sure Is there a specific
> way to check it?
>
>
> thanks!
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Wednesday, October 18, 2023 15:41
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> Hmm,
>
> If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
> <http://10.8.244.64:9200/gn-records&amp;gt;*
and not on *localhost:9200*, and
> that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
> <http://10.8.244.64:9200/&amp;gt;*/gn-records,
then yes, I don't see why it
> complains about not finding the gn-records index.
>
> Could you double check that:
>
> - you have created the index on the correct instance
> - you have set up the correct ES path in GeoNetwork
> - GeoNetwork web app can reach your ES in terms of network
>
>
>
> On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...>> wrote:
>
> Hi,
> unfortunately it did not help.
>
> I deleted the index and created them again. But as soon as I try to add a
> metadata the same error message returns.
>
>
>
> I tried to delete and reindex via GN but it did not help too
>
> the error in this case is
>
> [gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]
>
>
>
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Wednesday, October 18, 2023 14:52
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> You don't often get email from mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>. Learn why
> this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
> Hello,
>
> I would follow the instructions right there:
> https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
> You may need to *delete* your index first, and recreate it.
> Let us know if it helps.
>
>
> On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...>> wrote:
>
> Hi all,
> I installed the version 7.15.1 but even if it is up and running I'm
> getting the following error
>
> *ERROR [geonetwork.index] - Error during index creation. Error is: Could
> not connect to index 'gn-records'. Error is Compressor detection can only
> be called on some xcontent bytes or compressed xcontent bytes. Is the index
> server up and running?*
>
> Elasticsearch is up and running
>
> If I create via curl the gn-index
>
> *curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
> <http://10.8.244.64:9200/gn-records&amp;gt;&quot;
-H 'Content-Type: application/json'*
>
> it seems working but if I create a metadata and I search for it the same
> error appears again
>
> Any suggestions?
>
> thanks
>
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Tuesday, October 17, 2023 15:20
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net> <
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> You don't often get email from mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>. Learn why
> this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
> Hello,
>
> The actual supported version is the *7.15.1*.
> See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524
>
>
> On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>> wrote:
>
> Hi all,
> could you please tell me which version of elasticsearch you recommend to
> be used for GN v4.4.0?
>
> I tried using the last one elasticsearch-8.10.3 but I got the following
> error:
>
> ERROR [geonetwork.index] - Error during querying index. method [POST],
> host [[[http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;\],][http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;\],
URI
> [/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
> status line [HTTP/1.1 404 Not Found]
> Warnings: [[ignore_throttled] parameter is deprecated because frozen
> indices have been deprecated. Consider cold or frozen tiers in place of
> frozen indices.]
> {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
> such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
> ":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}
>
> even if I created the index as indicated in the GN guideline
>
> regards,
>
> Bartolomeo Ventura, PhD
> Eurac Research
> Institute for Earth Observation
> T +39 0471 055 374
> F +39 0471 055 389
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...><mailto:mailto:bartolomeo.ventura@anonymised.com>
>
> Viale Druso 1
> I-39100 Bolzano
> www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;
>
> This transmission is intended only for the use of the addressee and may
> contain confidential or legally privileged information.
> If you receive this transmission by error, please notify the author
> immediately by mail and delete all copies of this transmission and any
> attachments.
> Any use or dissemination of this communication is strictly prohibited by
> the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
> liability for damages.
> P Think before you print
>
>
> _______________________________________________
> GeoNetwork-users mailing list
> mailto:GeoNetwork-users@lists.sourceforge.net<mailto:mailto:GeoNetwork-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>

--
[image: This is Florent Gravin's card. Their email is
mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
_______________________________________________
GeoNetwork-users mailing list
mailto:GeoNetwork-users@lists.sourceforge.net<mailto:mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com66…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com66…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com66…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
mailto:GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Sorry Jose Garcia,
my GN version is 4.4
and my elastic search version is 7.15.1
________________________________
From: Jose Garcia <jose.garcia@...444...>
Sent: Monday, October 23, 2023 09:57
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>; Florent Gravin <florent.gravin@...137...>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi Bartolomeo

All looks fine. Are you executing the commands from the GeoNetwork server? To confirm that there is no communication issue between the servers.

Can you confirm also about the versions of GeoNetwork and Elasticsearch that you are using?

Regards,
Jose García

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\] <https://www.geocat.net/&gt;
Jose Garcia
E-mail: jose.garcia@...444...
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Mon, 23 Oct 2023 09:41:14 +0200 Ventura Bartolomeo <bartolomeo.ventura@...1518...> wrote ---

Hi Jose,

curl -X GET http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.7mb 40.7mb
yellow open gn-features 4z7gKEeGTyKiMS5JJs-Xow 1 1 0 0 208b 208b
yellow open gn-records -n3-vqnFRhia9AXUFQVlaw 1 1 63 0 212.1kb 212.1kb
yellow open gn-searchlogs qYWxow47QNWjWzboWsQyuA 1 1 0 0 208b 208b

please find attached the output of the cmd
curl -X GET http://10.8.244.64:9200/gn-records

thanks,

regards,

Bartolomeo

________________________________

From: Jose Garcia <jose.garcia@...444...<mailto:jose.garcia@…444…>>
Sent: Monday, October 23, 2023 09:36
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi

From the error messages, it seems the index doesn't exist. It's strange as from previous mails, seems you have created it manually (what also should not be requires, as GeoNetwork should create it during the startup).

Can you try the following commands?

- Check if the index is returned and it's not in red status: curl -X GET http://localhost:9200/_cat/indices
- Retrieve the index configuration: curl -X GET http://10.8.244.64:9200/gn-records

Regards,
Jose García

<https://www.geocat.net/&gt;
Jose Garcia
E-mail: jose.garcia@...444...<mailto:jose.garcia@…444…>
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

---- On Mon, 23 Oct 2023 09:08:56 +0200 Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Hi all,
I continued testing my geonetwork installation and the situation is this now:
as you can see here I have 26 indexed metadata:

[https://zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698046884818030004&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&]<https://zmdownload-accl.zoho.euhttps//zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698046884818030004&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&]>

but if I try to click on the search button

[https://zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698046884818030004&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&]<https://zmdownload-accl.zoho.euhttps//zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698046884818030004&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&]>

no metadata is visible.

If I try to reindex the metadata catalogue I return to the same situation:

2023-10-23T09:04:15,547 ERROR [geonetwork.index] - Error during querying index. method [POST], host [[http://10.8.244.64:9200],]http://10.8.244.64:9200], URI [/gn-records/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 404 Not Found]
Warnings: [Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

So I have to manually create again the index.

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

but then the circle closes and we return to the starting point.

Any further suggestions please?
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl http://10.8.244.64:9200/_cat/indices/gn-records works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Cc: Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]&lt;https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>
[https://www.geocat.net&]https://www.geocat.net&amp;lt;https://www.geocat.net/&amp;gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[[http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on [http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt;*

* curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&amp;gt;* and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
<http://10.8.244.64:9200/&amp;gt;*/gn-records, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

I would follow the instructions right there:
https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&amp;gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

The actual supported version is the *7.15.1*.
See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[[http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;\],][http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…<mailto:bartolomeo.ventura@…1518…>>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net><mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net><mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Bartolomeo

About this: are you executing the commands from the GeoNetwork server?

If the previous question answer is yes, I'm uncertain what can be causing this, as it doesn't seem related to any communication issue.

I would give a try with GeoNetwork 4.2.6 to check if with that version works, to discard any bug in 4.4 that could be causing the issue.

Regards,
Jose García

https://www.geocat.net

Jose Garcia

E-mail: jose.garcia@anonymised.com

https://www.geocat.net

Veenderweg 13

6721 WD Bennekom

The Netherlands

Tel: +31318416664

#

---- On Mon, 23 Oct 2023 10:35:49 +0200 Ventura Bartolomeo <bartolomeo.ventura@anonymised.com> wrote ---

Sorry Jose Garcia,

my GN version is 4.4

and my elastic search version is 7.15.1

From: Jose Garcia <mailto:jose.garcia@anonymised.com>
Sent: Monday, October 23, 2023 09:57
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com>
Cc: Ventura Bartolomeo via GeoNetwork-users <mailto:geonetwork-users@anonymised.com.sourceforge.net>; Florent Gravin <mailto:florent.gravin@anonymised.com>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi Bartolomeo

All looks fine. Are you executing the commands from the GeoNetwork server? To confirm that there is no communication issue between the servers.

Can you confirm also about the versions of GeoNetwork and Elasticsearch that you are using?

Regards,

Jose García

https://www.geocat.net/

Jose Garcia

E-mail: mailto:jose.garcia@anonymised.com

https://www.geocat.net/

Veenderweg 13

6721 WD Bennekom

The Netherlands

Tel: +31318416664

---- On Mon, 23 Oct 2023 09:41:14 +0200 Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com> wrote ---

Hi Jose,

curl -X
GET http://10.8.244.64:9200/_cat/indices

green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ
1 0 42 0 40.7mb 40.7mb

yellow open gn-features 4z7gKEeGTyKiMS5JJs-Xow
1 1 0 0 208b 208b

yellow open gn-records -n3-vqnFRhia9AXUFQVlaw
1 1 63 0 212.1kb 212.1kb

yellow open
gn-searchlogs qYWxow47QNWjWzboWsQyuA 1 1 0 0 208b 208b

please find
attached the output of the cmd

curl
-X GET http://10.8.244.64:9200/gn-records

thanks,

regards,

Bartolomeo

From: Jose Garcia <mailto:jose.garcia@anonymised.com>
Sent: Monday, October 23, 2023 09:36
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com>
Cc: Ventura Bartolomeo via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net>; Florent Gravin <mailto:florent.gravin@anonymised.com>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi

From the error messages, it seems the index doesn't exist. It's strange as from previous mails, seems you have created it manually (what

also should not be requires, as GeoNetwork should create it during the startup).

Can you try the following commands?

- Check if the index is returned and it's not in red status: curl -X GET http://localhost:9200/_cat/indices

- Retrieve the index configuration: curl -X GET http://10.8.244.64:9200/gn-records

Regards,

Jose García

https://www.geocat.net/

Jose Garcia

E-mail: mailto:jose.garcia@anonymised.com

https://www.geocat.net/

Veenderweg 13

6721 WD Bennekom

The Netherlands

Tel: +31318416664

---- On Mon, 23 Oct 2023 09:08:56 +0200 Ventura Bartolomeo via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net> wrote ---

Hi all,
I continued testing my geonetwork installation and the situation is this now:
as you can see here I have 26 indexed metadata:

[https://zmdownload-accl.zoho.euhttps//zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698050157516030001&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&]

but if I try to click on the search button

[https://zmdownload-accl.zoho.euhttps//zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698050157516030001&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&]

no metadata is visible.

If I try to reindex the metadata catalogue I return to the same situation:

2023-10-23T09:04:15,547 ERROR [geonetwork.index] - Error during querying index. method [POST], host [[http://10.8.244.64:9200],]http://10.8.244.64:9200], URI [/gn-records/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"}],"type":"index_not_found_exception","reason":"no such index
[gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

So I have to manually create again the index.

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

but then the circle closes and we return to the starting point.

Any further suggestions please?
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com>; Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl http://10.8.244.64:9200/_cat/indices/gn-records works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>;
Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@anonymised.comorge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Cc: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>;
Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@anonymised.comorge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn-records
-H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
Cc: Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@anonymised.comrceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>;
Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]&lt;https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: mailto:juanluisrp@anonymised.com<mailto:mailto:juanluisrp@anonymised.com>
[https://www.geocat.net&]https://www.geocat.net&amp;lt;https://www.geocat.net/&amp;gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com518...>>
wrote:

> Hi,
> this is what I get from the request:
>
> {
> "error": {
> "root_cause": [
> {
> "type": "illegal_argument_exception",
> "reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
> }
> ],
> "type": "illegal_argument_exception",
> "reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
> },
> "status": 400
> }
>
>
> regards,
>
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Thursday, October 19, 2023 08:35
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>
<
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
>
> ERROR [geonetwork.index] - Error during querying index. method [POST],
> host [[[http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;amp;gt;\],
URI
> [/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
> status line [HTTP/1.1 404 Not Found]
> Warnings: [[ignore_throttled] parameter is deprecated because frozen
> indices have been deprecated. Consider cold or frozen tiers in place of
> frozen indices.]
> {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
> such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
> ":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}
>
>
> Well, the logs indicate that
>
> - GeoNetwork actually fetches ES on [http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;
(which is
> correct)
> - The index is not found
> - It seems that ES is answering something though, so would mean that
> GN can talk to ES, but the gn-records index is not found (it's just a guess
> from the logs).
>
> Does this request returns something ?
> http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512
>
> I don't think it's related to the DB, but to the ability of GN to reach ES
> or that ES does not have a gn-records index.
> I am not too much of an infra guy so maybe people in the ML who are more
> comfortable with setting GeoNetwork up could give some hints.
>
>
> On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...>> wrote:
>
> Hi,
> elasticsearch seems to be there as you can see in the following figure
> where the gn-records index seems to be present too
> Might it be an error related to the DB?
>
> thanks!
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Wednesday, October 18, 2023 17:06
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>
<
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> Ok, everything looks good, you can confirm the ES config from the admin
> console: admin.console#/dashboard/information (at the bottom)
>
> On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...>> wrote:
>
> Hi,
>
>
> - you have created the index on the correct instance
>
>
> these are the commands I used:
>
> *IDX_PREFIX=gn*
>
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
> <http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt;*
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
> <http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt;*
> *curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
> <http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt;*
>
> * curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
> <http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt;
-H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/records.json*
>
> *curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
> <http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt;
-H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/features.json*
>
> *curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
> <http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt;
-H
> "Content-Type:application/json" -d
> @../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*
>
>
> - you have set up the correct ES path in GeoNetwork
>
>
> this is the section extracted from the
> /opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file
>
> l*anguage.default=eng*
> *language.forceDefault=true*
>
> *# Define using CRON expression when watchlist notifier is triggered
> (Default 4AM)*
> *usersavedselection.watchlist.frequency=0 0 4 * * ?*
>
> *# Define the link to the list of updated records sent by email by the
> watchlist notifier*
>
> *usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*
>
> *# Define the link to each record sent by email by the watchlist notifier*
> *usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*
>
> *es.protocol=http*
> *es.port=9200*
> *es.host=10.8.244.64*
> *es.url=${es.protocol}://${es.host}:${es.port}*
> *es.username=*
> *es.password=*
> *es.index.features=gn-features*
> *es.index.features.type=features*
>
> Is it enough or should I check somewhere else?
>
> - GeoNetwork web app can reach your ES in terms of network
>
>
> Elasticsearch is installed on the same VM. To be sure Is there a specific
> way to check it?
>
>
> thanks!
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Wednesday, October 18, 2023 15:41
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>
<
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> Hmm,
>
> If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
> <http://10.8.244.64:9200/gn-records&amp;gt;*
and not on *localhost:9200*, and
> that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
> <http://10.8.244.64:9200/&amp;gt;*/gn-records,
then yes, I don't see why it
> complains about not finding the gn-records index.
>
> Could you double check that:
>
> - you have created the index on the correct instance
> - you have set up the correct ES path in GeoNetwork
> - GeoNetwork web app can reach your ES in terms of network
>
>
>
> On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...>> wrote:
>
> Hi,
> unfortunately it did not help.
>
> I deleted the index and created them again. But as soon as I try to add a
> metadata the same error message returns.
>
>
>
> I tried to delete and reindex via GN but it did not help too
>
> the error in this case is
>
> [gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]
>
>
>
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Wednesday, October 18, 2023 14:52
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>
<
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> You don't often get email from mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>. Learn why
> this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
> Hello,
>
> I would follow the instructions right there:
> https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
> You may need to *delete* your index first, and recreate it.
> Let us know if it helps.
>
>
> On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...>> wrote:
>
> Hi all,
> I installed the version 7.15.1 but even if it is up and running I'm
> getting the following error
>
> *ERROR [geonetwork.index] - Error during index creation. Error is: Could
> not connect to index 'gn-records'. Error is Compressor detection can only
> be called on some xcontent bytes or compressed xcontent bytes. Is the index
> server up and running?*
>
> Elasticsearch is up and running
>
> If I create via curl the gn-index
>
> *curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
> <http://10.8.244.64:9200/gn-records&amp;gt;&quot;
-H 'Content-Type: application/json'*
>
> it seems working but if I create a metadata and I search for it the same
> error appears again
>
> Any suggestions?
>
> thanks
>
> ------------------------------
> *From:* Florent Gravin <mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>>
> *Sent:* Tuesday, October 17, 2023 15:20
> *To:* Ventura Bartolomeo <mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com>>
> *Cc:* mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>
<
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
> *Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
> GN version
>
> You don't often get email from mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>. Learn why
> this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
> Hello,
>
> The actual supported version is the *7.15.1*.
> See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524
>
>
> On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
> mailto:geonetwork-users@lists.sourceforge.net<mailto:mailto:geonetwork-users@lists.sourceforge.net>>
wrote:
>
> Hi all,
> could you please tell me which version of elasticsearch you recommend to
> be used for GN v4.4.0?
>
> I tried using the last one elasticsearch-8.10.3 but I got the following
> error:
>
> ERROR [geonetwork.index] - Error during querying index. method [POST],
> host [[[http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;\],][http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;\],
URI
> [/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
> status line [HTTP/1.1 404 Not Found]
> Warnings: [[ignore_throttled] parameter is deprecated because frozen
> indices have been deprecated. Consider cold or frozen tiers in place of
> frozen indices.]
> {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
> such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
> such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
> ":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}
>
> even if I created the index as indicated in the GN guideline
>
> regards,
>
> Bartolomeo Ventura, PhD
> Eurac Research
> Institute for Earth Observation
> T +39 0471 055 374
> F +39 0471 055 389
> mailto:bartolomeo.ventura@anonymised.com<mailto:mailto:bartolomeo.ventura@anonymised.com.1518...><mailto:mailto:bartolomeo.ventura@anonymised.com>
>
> Viale Druso 1
> I-39100 Bolzano
> www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;
>
> This transmission is intended only for the use of the addressee and may
> contain confidential or legally privileged information.
> If you receive this transmission by error, please notify the author
> immediately by mail and delete all copies of this transmission and any
> attachments.
> Any use or dissemination of this communication is strictly prohibited by
> the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
> liability for damages.
> P Think before you print
>
>
> _______________________________________________
> GeoNetwork-users mailing list
> mailto:GeoNetwork-users@lists.sourceforge.net<mailto:mailto:GeoNetwork-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>
>
>
> --
> [image: This is Florent Gravin's card. Their email is
> mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
> <https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
>

--
[image: This is Florent Gravin's card. Their email is
mailto:florent.gravin@anonymised.com<mailto:mailto:florent.gravin@anonymised.com>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
_______________________________________________
GeoNetwork-users mailing list
mailto:GeoNetwork-users@lists.sourceforge.net<mailto:mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com66…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com66…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is mailto:florent.gravin@anonymised.com66…]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
mailto:GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jose Garcia,
yes I'm executing the commands from the GeoNetwork server.
I will try using the 4.2.6 version to understand if the problem relies in the GN version

thanks,

Bartolomeo

________________________________
From: Jose Garcia <jose.garcia@...444...>
Sent: Monday, October 23, 2023 10:49
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>; Florent Gravin <florent.gravin@...137...>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi Bartolomeo

About this: are you executing the commands from the GeoNetwork server?

If the previous question answer is yes, I'm uncertain what can be causing this, as it doesn't seem related to any communication issue.

I would give a try with GeoNetwork 4.2.6 to check if with that version works, to discard any bug in 4.4 that could be causing the issue.

Regards,
Jose García

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]<https://www.geocat.net/&gt;
Jose Garcia
E-mail: jose.garcia@...444...
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Mon, 23 Oct 2023 10:35:49 +0200 Ventura Bartolomeo <bartolomeo.ventura@...1518...> wrote ---

Sorry Jose Garcia,
my GN version is 4.4
and my elastic search version is 7.15.1

________________________________

From: Jose Garcia <jose.garcia@...444...<mailto:jose.garcia@…444…>>
Sent: Monday, October 23, 2023 09:57
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi Bartolomeo

All looks fine. Are you executing the commands from the GeoNetwork server? To confirm that there is no communication issue between the servers.

Can you confirm also about the versions of GeoNetwork and Elasticsearch that you are using?

Regards,
Jose García

Jose Garcia
E-mail: jose.garcia@...444...<mailto:jose.garcia@…444…>
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

---- On Mon, 23 Oct 2023 09:41:14 +0200 Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote ---

Hi Jose,

curl -X GET http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.7mb 40.7mb
yellow open gn-features 4z7gKEeGTyKiMS5JJs-Xow 1 1 0 0 208b 208b
yellow open gn-records -n3-vqnFRhia9AXUFQVlaw 1 1 63 0 212.1kb 212.1kb
yellow open gn-searchlogs qYWxow47QNWjWzboWsQyuA 1 1 0 0 208b 208b

please find attached the output of the cmd
curl -X GET http://10.8.244.64:9200/gn-records

thanks,

regards,

Bartolomeo

________________________________

From: Jose Garcia <jose.garcia@...444...<mailto:jose.garcia@…444…>>
Sent: Monday, October 23, 2023 09:36
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi

From the error messages, it seems the index doesn't exist. It's strange as from previous mails, seems you have created it manually (what also should not be requires, as GeoNetwork should create it during the startup).

Can you try the following commands?

- Check if the index is returned and it's not in red status: curl -X GET http://localhost:9200/_cat/indices
- Retrieve the index configuration: curl -X GET http://10.8.244.64:9200/gn-records

Regards,
Jose García

Jose Garcia
E-mail: jose.garcia@...444...<mailto:jose.garcia@…444…>
https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

---- On Mon, 23 Oct 2023 09:08:56 +0200 Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Hi all,
I continued testing my geonetwork installation and the situation is this now:
as you can see here I have 26 indexed metadata:

[https://zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698050157516030001&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&]<https://zmdownload-accl.zoho.euhttps//zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698050157516030001&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&]>

but if I try to click on the search button

[https://zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698050157516030001&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&]<https://zmdownload-accl.zoho.euhttps//zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698050157516030001&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&]>

no metadata is visible.

If I try to reindex the metadata catalogue I return to the same situation:

2023-10-23T09:04:15,547 ERROR [geonetwork.index] - Error during querying index. method [POST], host [[[http://10.8.244.64:9200],]http://10.8.244.64:9200],]http://10.8.244.64:9200],]http://10.8.244.64:9200], URI [/gn-records/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 404 Not Found]
Warnings: [Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html to enable security.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

So I have to manually create again the index.

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

but then the circle closes and we return to the starting point.

Any further suggestions please?
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl http://10.8.244.64:9200/_cat/indices/gn-records works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://aka.ms/AAb9ysg&gt;
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Sorry I did not copy the entire output

curl -X PUT http://10.8.244.64:9200/gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT http://10.8.244.64:9200/&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn-records -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Hi,
this is wat I get

curl http://10.8.244.64:9200/_cat/indices
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl http://10.8.244.64:9200/_cat/indices/gn-records
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;:&quot;gn\-records&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Cc: Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png\]&lt;https://www.geocat.net/&gt;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>
[[https://www.geocat.net&]https://www.geocat.net&]https://www.geocat.net&]https://www.geocat.net&amp;lt;https://www.geocat.net/&amp;gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[[[http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on [[http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt;*
*curl -X DELETE http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt;*

* curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-records
<http://10.8.244.64:9200/$IDX_PREFIX-records&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-features
<http://10.8.244.64:9200/$IDX_PREFIX-features&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT http://10.8.244.64:9200/$IDX_PREFIX-searchlogs
<http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&amp;gt; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&amp;gt;* and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<http://10.8.244.64:9200/&gt;
<http://10.8.244.64:9200/&amp;gt;*/gn-records, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

I would follow the instructions right there:
https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<http://10.8.244.64:9200/gn-records&gt;
<http://10.8.244.64:9200/gn-records&amp;gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

The actual supported version is the *7.15.1*.
See https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[[[http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;\],][[http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&]http://10.8.244.64:9200&amp;lt;http://10.8.244.64:9200/&amp;gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;&quot;:&quot;gn\-records&quot;,&quot;index\_uuid&quot;:&quot;\_na\_&quot;,&quot;index&quot;reason&quot;:&quot;no
such index [gn-records]","resource.type":"index_or_alias","resource.id<http://resource.id/&gt;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…<mailto:bartolomeo.ventura@…1518…>>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net><mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&amp;gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net><mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://hihello.me/p/198272c7-2709-4f8c-8bb0-0b01e91cac7f&gt;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi all,
after some tests I found the combination that let GN start (at least in my case)

GN 4.2.6
ES 7.15.1
JDK 8

in this way I managed to run all without problems

I hope this could help

regards,

Bartolomeo
________________________________
From: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
Sent: Monday, October 23, 2023 10:56
To: Jose Garcia <jose.garcia@...444...>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi Jose Garcia,
yes I'm executing the commands from the GeoNetwork server.
I will try using the 4.2.6 version to understand if the problem relies in the GN version

thanks,

Bartolomeo

________________________________
From: Jose Garcia <jose.garcia@...444...>
Sent: Monday, October 23, 2023 10:49
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>; Florent Gravin <florent.gravin@...137...>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi Bartolomeo

About this: are you executing the commands from the GeoNetwork server?

If the previous question answer is yes, I'm uncertain what can be causing this, as it doesn't seem related to any communication issue.

I would give a try with GeoNetwork 4.2.6 to check if with that version works, to discard any bug in 4.4 that could be causing the issue.

Regards,
Jose García

[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2Fwp-content%2Fuploads%2F2022%2F08%2FLogo-Colour_w250.png&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819098877|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=tQ3IwWonfLeycElk%2BjJ6jtKeRKwvua1I%2F0mENrr7nDU%3D&reserved=0]<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819098877|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=WHHvl5hJS66RaL204Ob2cXtaKkXa%2BPDAiVDwV0%2F0zYI%3D&reserved=0&lt;https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png&gt;&gt;
Jose Garcia
E-mail: jose.garcia@...444...
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819098877|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=WHHvl5hJS66RaL204Ob2cXtaKkXa%2BPDAiVDwV0%2F0zYI%3D&reserved=0&lt;https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2Fwp-content%2Fuploads%2F2022%2F08%2FNRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819098877|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2BpOYdGajtTtzhlLfcd4Rtg004MjcTwfq%2BDslqJ%2BljT4%3D&reserved=0&lt;https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png&gt;\]

---- On Mon, 23 Oct 2023 10:35:49 +0200 Ventura Bartolomeo <bartolomeo.ventura@...1518...> wrote ---

Sorry Jose Garcia,
my GN version is 4.4
and my elastic search version is 7.15.1

________________________________

From: Jose Garcia <jose.garcia@...444...<mailto:jose.garcia@…444…>>
Sent: Monday, October 23, 2023 09:57
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi Bartolomeo

All looks fine. Are you executing the commands from the GeoNetwork server? To confirm that there is no communication issue between the servers.

Can you confirm also about the versions of GeoNetwork and Elasticsearch that you are using?

Regards,
Jose García

Jose Garcia
E-mail: jose.garcia@...444...<mailto:jose.garcia@…444…>
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819098877|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=WHHvl5hJS66RaL204Ob2cXtaKkXa%2BPDAiVDwV0%2F0zYI%3D&reserved=0&lt;https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

---- On Mon, 23 Oct 2023 09:41:14 +0200 Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> wrote ---

Hi Jose,

curl -X GET https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F_cat%2Findices&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819098877|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=5hAXB4cLFgdRGfCDU8RlkEwcQU44NDeAuPX8Yr4eXVw%3D&reserved=0&lt;http://10.8.244.64:9200/_cat/indices&gt;
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.7mb 40.7mb
yellow open gn-features 4z7gKEeGTyKiMS5JJs-Xow 1 1 0 0 208b 208b
yellow open gn-records -n3-vqnFRhia9AXUFQVlaw 1 1 63 0 212.1kb 212.1kb
yellow open gn-searchlogs qYWxow47QNWjWzboWsQyuA 1 1 0 0 208b 208b

please find attached the output of the cmd
curl -X GET https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=10uc%2F0%2BTN%2FCa7AK9QDbK01PTKkf6dZwngiD1KblUZxw%3D&reserved=0&lt;http://10.8.244.64:9200/gn-records&gt;

thanks,

regards,

Bartolomeo

________________________________

From: Jose Garcia <jose.garcia@...444...<mailto:jose.garcia@…444…>>
Sent: Monday, October 23, 2023 09:36
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>; Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Hi

From the error messages, it seems the index doesn't exist. It's strange as from previous mails, seems you have created it manually (what also should not be requires, as GeoNetwork should create it during the startup).

Can you try the following commands?

- Check if the index is returned and it's not in red status: curl -X GET http://localhost:9200/_cat/indices
- Retrieve the index configuration: curl -X GET https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=10uc%2F0%2BTN%2FCa7AK9QDbK01PTKkf6dZwngiD1KblUZxw%3D&reserved=0&lt;http://10.8.244.64:9200/gn-records&gt;

Regards,
Jose García

Jose Garcia
E-mail: jose.garcia@...444...<mailto:jose.garcia@…444…>
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=W%2BqJQ7T0EFWjDO0ez4g0JHbZ2Vih3jYWQZePu5cB%2Fzs%3D&reserved=0&lt;https://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

---- On Mon, 23 Oct 2023 09:08:56 +0200 Ventura Bartolomeo via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Hi all,
I continued testing my geonetwork installation and the situation is this now:
as you can see here I have 26 indexed metadata:

[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fzmdownload-accl.zoho.euhttps%2F%2Fzmdownload-accl.zoho.euhttps%3A%2F%2Fzmdownload-accl.zoho.eu%2Fzm%2FImageDisplay%3Fna%3D2824156000000002002%26nmsgId%3D1698050157516030001%26f%3D1.png%26mode%3Dinline%26cid%3Deaa3f704-9c36-4e24-9bfa-e071ec7c1f59%26&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2FIVGNKnkPgzUp7dpFQkRSx1hXBvgKqg0QNjp3%2F8NkuI%3D&reserved=0]<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fzmdownload-accl.zoho.euhttps%2F%2Fzmdownload-accl.zoho.euhttps%3A%2F%2Fzmdownload-accl.zoho.eu%2Fzm%2FImageDisplay%3Fna%3D2824156000000002002%26nmsgId%3D1698050157516030001%26f%3D1.png%26mode%3Dinline%26cid%3Deaa3f704-9c36-4e24-9bfa-e071ec7c1f59%26&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2FIVGNKnkPgzUp7dpFQkRSx1hXBvgKqg0QNjp3%2F8NkuI%3D&reserved=0&lt;https://zmdownload-accl.zoho.euhttps//zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698050157516030001&f=1.png&mode=inline&cid=eaa3f704-9c36-4e24-9bfa-e071ec7c1f59&&gt;\]>

but if I try to click on the search button

[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fzmdownload-accl.zoho.euhttps%2F%2Fzmdownload-accl.zoho.euhttps%3A%2F%2Fzmdownload-accl.zoho.eu%2Fzm%2FImageDisplay%3Fna%3D2824156000000002002%26nmsgId%3D1698050157516030001%26f%3D2.png%26mode%3Dinline%26cid%3D0f745723-f12b-40ce-8570-0de030ac5a02%26&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=oVo4ZBxEMyOmya3%2BPKTmPYVsh4fRuZKR%2FKazvpzeGbs%3D&reserved=0]<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fzmdownload-accl.zoho.euhttps%2F%2Fzmdownload-accl.zoho.euhttps%3A%2F%2Fzmdownload-accl.zoho.eu%2Fzm%2FImageDisplay%3Fna%3D2824156000000002002%26nmsgId%3D1698050157516030001%26f%3D2.png%26mode%3Dinline%26cid%3D0f745723-f12b-40ce-8570-0de030ac5a02%26&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=oVo4ZBxEMyOmya3%2BPKTmPYVsh4fRuZKR%2FKazvpzeGbs%3D&reserved=0&lt;https://zmdownload-accl.zoho.euhttps//zmdownload-accl.zoho.euhttps://zmdownload-accl.zoho.eu/zm/ImageDisplay?na=2824156000000002002&nmsgId=1698050157516030001&f=2.png&mode=inline&cid=0f745723-f12b-40ce-8570-0de030ac5a02&&gt;\]>

no metadata is visible.

If I try to reindex the metadata catalogue I return to the same situation:

2023-10-23T09:04:15,547 ERROR [geonetwork.index] - Error during querying index. method [POST], host [[[http://10.8.244.64:9200],]http://10.8.244.64:9200],]http://10.8.244.64:9200],]http://10.8.244.64:9200], URI [/gn-records/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 404 Not Found]
Warnings: [Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2F7.15%2Fsecurity-minimal-setup.html&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=KnNem0aTntQ2whXi4rovOlbo3EjWvXop18A8W3nJSAA%3D&reserved=0&lt;https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html&gt; to enable security.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

So I have to manually create again the index.

curl -X PUT https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=10uc%2F0%2BTN%2FCa7AK9QDbK01PTKkf6dZwngiD1KblUZxw%3D&reserved=0&lt;http://10.8.244.64:9200/gn-records&gt; -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

but then the circle closes and we return to the starting point.

Any further suggestions please?
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 09:31
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

So curl https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F_cat%2Findices%2Fgn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=qL2n8WffOlvRB6uzIrAgOivl1QYQ%2BC42HeM%2FbD5DMWI%3D&reserved=0&lt;http://10.8.244.64:9200/_cat/indices/gn-records&gt; works ?
Then did you trigger a new indexing from admin console/tools ?
While indexing, do you see errors in ES logs ?

On Thu, Oct 19, 2023 at 9:30 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Ok,
I run the command in the right position but the problem is that at a first sight it seems that everything is going well.

But if I search for Metadata I can't see any and there should be about 30 of then.
And, if I try to import samples, the error arises again.

Is there a way to empty the dB? Perhaps there are some leftover or errors in it?

Thanks,
Bart

Inviato da Outlook per Android<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2FAAb9ysg%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=YMB7F%2Byt01pcvxC3qYh9%2FtQfoc0xY2FPi%2Fejiu0CP78%3D&reserved=0;
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 8:59:49 AM
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

The path to ../apps/geonetwork/WEB-INF/data/config/index/records.json is relative so you need to execute the command at the correct location, and check that the records.json file exists !

On Thu, Oct 19, 2023 at 8:58 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Sorry I did not copy the entire output

curl -X PUT https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=10uc%2F0%2BTN%2FCa7AK9QDbK01PTKkf6dZwngiD1KblUZxw%3D&reserved=0&lt;http://10.8.244.64:9200/gn-records&gt; -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json
Warning: Couldn't read data from file
Warning: "../apps/geonetwork/WEB-INF/data/config/index/records.json", this
Warning: makes an empty POST.
{"acknowledged":true,"shards_acknowledged":true,"index":"gn-records"}

now it is correct

regards,

Bart
________________________________
From: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Sent: Thursday, October 19, 2023 08:54
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Cc: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>; Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

Then you don't have gn-records index =)
Also you might got some issues with the ENV IDX_PREFIX

Just put the correct name in the url directly eg.
curl -X PUT https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%26lt%3Bhttp%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-records%26gt%3Bgn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=zQXKWHqVp0HrhBTEWn5UWeNPdRePi0s1RgBlPb02T6A%3D&reserved=0&lt;http://10.8.244.64:9200/&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;gn-records&gt; -H "Content-Type:application/json" -d @../apps/geonetwork/WEB-INF/data/config/index/records.json

and check that this request succeed

On Thu, Oct 19, 2023 at 8:50 AM Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:
Hi,
this is wat I get

curl https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F_cat%2Findices&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2TDALuLyd%2B86grzBVtA7JuXTH2CnYm3Ky%2B%2B9BeiOp%2FY%3D&reserved=0&lt;http://10.8.244.64:9200/_cat/indices&gt;
green open .geoip_databases K3TvrTkGQDCJXSMSiGZgnQ 1 0 42 0 40.6mb 40.6mb
yellow open features zef2zMOOSteO7lqH0mtBpw 1 1 0 0 208b 208b
yellow open searchlogs j3SK2Y3OQw2yeWH12P8RwA 1 1 0 0 208b 208b
yellow open gn-searchlogs VvDwV60RQ1WaEg4sMhUOJQ 1 1 0 0 208b 208b

the index is not there and as a consequence

curl https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F_cat%2Findices%2Fgn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=qL2n8WffOlvRB6uzIrAgOivl1QYQ%2BC42HeM%2FbD5DMWI%3D&reserved=0&lt;http://10.8.244.64:9200/_cat/indices/gn-records&gt;
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresource.id%2F%26gt%3B%2522%3A%2522gn-records%2522%2C%2522index_uuid%2522%3A%2522_na_%2522%2C%2522index%2522%3A%2522gn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=V1YOootHUJ1kQyvhcSbByyeyFC0bTYmz8VgnwvWJ9Hg%3D&reserved=0&quot;\}],"type":"index_not_found_exception","reason":"no such index [gn-records]","resource.type":"index_or_alias","resource.id<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresource.id%2F%26gt%3B%2522%3A%2522gn-records%2522%2C%2522index_uuid%2522%3A%2522_na_%2522%2C%2522index%2522%3A%2522gn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=V1YOootHUJ1kQyvhcSbByyeyFC0bTYmz8VgnwvWJ9Hg%3D&reserved=0&quot;\},"status":404}

Thanks,
Bartolomeo

________________________________
From: Juan Luis Rodriguez Ponce <juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>>
Sent: Thursday, October 19, 2023 08:47
To: Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
Cc: Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>; Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
Subject: Re: [GeoNetwork-users] Elastic search version for the latest GN version

You can check the existing indexes with this request:

curl https://elascticsearch-host:9200/_cat/indices

If the gn-records index is there you can check the details calling

curl https://elascticsearch-host:9200/_cat/indices/gn-records

If you can try them from the GN host to check if there is any connectivity problem between ES and GN.

Best regards,
Juan Luis.

[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2Fwp-content%2Fuploads%2F2022%2F08%2FLogo-Colour_w250.png&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=iHW3oXYK8bT7gsd20bRb6U6kSc%2FmQcKSWww09oVKvWo%3D&reserved=0&lt;https://www.geocat.net/wp-content/uploads/2022/08/Logo-Colour_w250.png&gt;\]&lt;https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=tdMsXbfcMa1NiK8r8llvqdYbObP%2Ber2IKc0vM6yY%2Bw0%3D&reserved=0;
Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...<mailto:juanluisrp@…444…><mailto:juanluisrp@…444…>
[[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=W%2BqJQ7T0EFWjDO0ez4g0JHbZ2Vih3jYWQZePu5cB%2Fzs%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=W%2BqJQ7T0EFWjDO0ez4g0JHbZ2Vih3jYWQZePu5cB%2Fzs%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=W%2BqJQ7T0EFWjDO0ez4g0JHbZ2Vih3jYWQZePu5cB%2Fzs%3D&reserved=0&&lt;https://www.geocat.net/&gt;\]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=W%2BqJQ7T0EFWjDO0ez4g0JHbZ2Vih3jYWQZePu5cB%2Fzs%3D&reserved=0&amp;lt;https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2F%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=tdMsXbfcMa1NiK8r8llvqdYbObP%2Ber2IKc0vM6yY%2Bw0%3D&reserved=0;
Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664
[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geocat.net%2Fwp-content%2Fuploads%2F2022%2F08%2FNRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=zY0ZokxGBVJsjkskyxL%2BfheBwjdqMDxJRZWpFcPcHBk%3D&reserved=0&lt;https://www.geocat.net/wp-content/uploads/2022/08/NRK-logo_Vrienden_van_EN_ON_WHITE_237x150px.png&gt;\]

---- On Thu, 19 Oct 2023 08:39:35 +0200 Florent Gravin via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>> wrote ---

Then remove the parameter max_concurrent_shards from the request, does it
work ?

On Thu, Oct 19, 2023 at 8:38 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
this is what I get from the request:

{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/gn-records/_search] contains unrecognized parameter: [max_concurrent_shards]"
},
"status": 400
}

regards,

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Thursday, October 19, 2023 08:35
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[[[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1exgzBMHTjx7Ymhx1oHKCvLnuuS7j3Hr8keiq6n9BrU%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1exgzBMHTjx7Ymhx1oHKCvLnuuS7j3Hr8keiq6n9BrU%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1exgzBMHTjx7Ymhx1oHKCvLnuuS7j3Hr8keiq6n9BrU%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1exgzBMHTjx7Ymhx1oHKCvLnuuS7j3Hr8keiq6n9BrU%3D&reserved=0&amp;lt;]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819255131|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1exgzBMHTjx7Ymhx1oHKCvLnuuS7j3Hr8keiq6n9BrU%3D&reserved=0&&lt;http://10.8.244.64:9200/&gt;\]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=jQe7oewWLSfw%2B8ZxTcsfWNYa3D6iTOEUYhwAcDx4sb0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=jQe7oewWLSfw%2B8ZxTcsfWNYa3D6iTOEUYhwAcDx4sb0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=jQe7oewWLSfw%2B8ZxTcsfWNYa3D6iTOEUYhwAcDx4sb0%3D&reserved=0&amp;lt;https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=HZyFDJnvuWzpbfFFp%2BPa9fW0RWDbWgexDS5DpiZf8Mc%3D&reserved=0;], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresource.id%2F%26gt%3B%2522%3A%2522gn-records%2522%2C%2522index_uuid%2522%3A%2522_na_%2522%2C%2522index%2522reason%2522%3A%2522no&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=F0saAyQUVbn7UZtZ2AxvdVCbEXG%2FSTFbXaAt96BOZY0%3D&reserved=0
such index [gn-records]","resource.type":"index_or_alias","resource.id<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresource.id%2F%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=4RyNLypXLvNU4nSTufRdIaaP7y6Ief%2FfqFDjc3CtuZY%3D&reserved=0;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

Well, the logs indicate that

- GeoNetwork actually fetches ES on [[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=jQe7oewWLSfw%2B8ZxTcsfWNYa3D6iTOEUYhwAcDx4sb0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=jQe7oewWLSfw%2B8ZxTcsfWNYa3D6iTOEUYhwAcDx4sb0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=jQe7oewWLSfw%2B8ZxTcsfWNYa3D6iTOEUYhwAcDx4sb0%3D&reserved=0&&lt;http://10.8.244.64:9200/&gt;\]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=jQe7oewWLSfw%2B8ZxTcsfWNYa3D6iTOEUYhwAcDx4sb0%3D&reserved=0&amp;lt;https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=lv6OU3mn3YjE7MORmVFs5tUnYBfeN%2FJ3cnBUnSPZ9SA%3D&reserved=0; (which is
correct)
- The index is not found
- It seems that ES is answering something though, so would mean that
GN can talk to ES, but the gn-records index is not found (it's just a guess
from the logs).

Does this request returns something ?
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records%2F_search%3Ftyped_keys%3Dtrue%26max_concurrent_shards%3Dopen%26allow_no_indices%3Dtrue%26ignore_throttled%3Dtrue%26search_type%3Dquery_then_fetch%26batched_reduce_size%3D512&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=JhabV%2BMdarK59F1nnBBx9hmBB8WtjezvatzflXcmmXg%3D&reserved=0&lt;http://10.8.244.64:9200/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512&gt;

I don't think it's related to the DB, but to the ability of GN to reach ES
or that ES does not have a gn-records index.
I am not too much of an infra guy so maybe people in the ML who are more
comfortable with setting GeoNetwork up could give some hints.

On Thu, Oct 19, 2023 at 8:21 AM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
elasticsearch seems to be there as you can see in the following figure
where the gn-records index seems to be present too
Might it be an error related to the DB?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 17:06
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Ok, everything looks good, you can confirm the ES config from the admin
console: admin.console#/dashboard/information (at the bottom)

On Wed, Oct 18, 2023 at 4:05 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,

- you have created the index on the correct instance

these are the commands I used:

*IDX_PREFIX=gn*

*curl -X DELETE https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-searchlogs&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2F8NkvxwbL3WS8nd0C0xsUbbcDagTUiH3TXamOYKDzYU%3D&reserved=0&lt;http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-searchlogs%26amp%3Bgt%3B*&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=kZGC%2FIDf9NJGDMVtOtX4FV8l6GS3885v4YHRqPwTY9Y%3D&reserved=0
*curl -X DELETE https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=oiSt0gvk89zQd%2BtZMbSkJklPW9Z%2FQZIewpWq0stgir0%3D&reserved=0&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-records%26amp%3Bgt%3B*&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=xljcrZSXEJm40GnPtp5rRSundVDrtkQboHqwLaffMig%3D&reserved=0
*curl -X DELETE https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-features&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9221VrPx3xFedHZuuwAU29uxrFXhp4gM4InY66GLS2g%3D&reserved=0&lt;http://10.8.244.64:9200/$IDX_PREFIX-features&gt;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-features%26amp%3Bgt%3B*&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nzP0%2F4jys5r%2FFGk5%2By2SHCqUSDxUf3MfLJjicXAxcmU%3D&reserved=0

* curl -X PUT https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=oiSt0gvk89zQd%2BtZMbSkJklPW9Z%2FQZIewpWq0stgir0%3D&reserved=0&lt;http://10.8.244.64:9200/$IDX_PREFIX-records&gt;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-records%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=3rhUDYsaMxjPhKl6SUFl1qGa%2BQpsmf6s6Z3tcK7oVIQ%3D&reserved=0; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/records.json*

*curl -X PUT https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-features&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9221VrPx3xFedHZuuwAU29uxrFXhp4gM4InY66GLS2g%3D&reserved=0&lt;http://10.8.244.64:9200/$IDX_PREFIX-features&gt;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-features%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ToIlCQnYtnfQHGkKehRqTNNBh3AS4N2Zyc8lZ0C757A%3D&reserved=0; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/features.json*

*curl -X PUT https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-searchlogs&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2F8NkvxwbL3WS8nd0C0xsUbbcDagTUiH3TXamOYKDzYU%3D&reserved=0&lt;http://10.8.244.64:9200/$IDX_PREFIX-searchlogs&gt;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%24IDX_PREFIX-searchlogs%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=uo8NQA5tGRjs84LBnkXX%2BZIySlgukMdb%2Fc1a%2FIudJRk%3D&reserved=0; -H
"Content-Type:application/json" -d
@../apps/geonetwork/WEB-INF/data/config/index/searchlogs.json*

- you have set up the correct ES path in GeoNetwork

this is the section extracted from the
/opt/geonetwork/apps/geonetwork/WEB-INF/config.properties file

l*anguage.default=eng*
*language.forceDefault=true*

*# Define using CRON expression when watchlist notifier is triggered
(Default 4AM)*
*usersavedselection.watchlist.frequency=0 0 4 * * ?*

*# Define the link to the list of updated records sent by email by the
watchlist notifier*

*usersavedselection.watchlist.searchurl=catalog.search#/search?_uuid={{filter}}*

*# Define the link to each record sent by email by the watchlist notifier*
*usersavedselection.watchlist.recordurl=api/records/{{index:uuid}}*

*es.protocol=http*
*es.port=9200*
*es.host=10.8.244.64*
*es.url=${es.protocol}://${es.host}:${es.port}*
*es.username=*
*es.password=*
*es.index.features=gn-features*
*es.index.features.type=features*

Is it enough or should I check somewhere else?

- GeoNetwork web app can reach your ES in terms of network

Elasticsearch is installed on the same VM. To be sure Is there a specific
way to check it?

thanks!
------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 15:41
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

Hmm,

If you are sure that you've created the gn-records index on *10.8.244.64:9200/gn-records<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=8v5Ye%2BApNsVzbWo06lUUMknrJCryB0boEKsiEWFzuRc%3D&reserved=0;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records%26amp%3Bgt%3B*&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2FRNufgsNL93sWX%2BoO3OrsvdWOV2DCZkZ%2FwB9%2F9ycbN4%3D&reserved=0 and not on *localhost:9200*, and
that you are sure that your GeoNetwork points to the ES on *10.8.244.64:9200<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=lv6OU3mn3YjE7MORmVFs5tUnYBfeN%2FJ3cnBUnSPZ9SA%3D&reserved=0;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%26amp%3Bgt%3B*%2Fgn-records&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=hLO1GeyscyK3M5KBVrbKdu2owEPGJADRM87WPs7m5rQ%3D&reserved=0, then yes, I don't see why it
complains about not finding the gn-records index.

Could you double check that:

- you have created the index on the correct instance
- you have set up the correct ES path in GeoNetwork
- GeoNetwork web app can reach your ES in terms of network

On Wed, Oct 18, 2023 at 3:26 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi,
unfortunately it did not help.

I deleted the index and created them again. But as soon as I try to add a
metadata the same error message returns.

I tried to delete and reindex via GN but it did not help too

the error in this case is

[gn-records] ElasticsearchStatusException[Elasticsearch exception [type=index_not_found_exception, reason=no such index [gn-records]]]

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Wednesday, October 18, 2023 14:52
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

I would follow the instructions right there:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeonetwork%2Fcore-geonetwork%2Ftree%2Fmain%2Fes%23configuration&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2B8aZV1BQeLwvn7M%2FwtNsTrrNqhEBFNmFAQo3IEOgtcw%3D&reserved=0&lt;https://github.com/geonetwork/core-geonetwork/tree/main/es#configuration&gt;
You may need to *delete* your index first, and recreate it.
Let us know if it helps.

On Wed, Oct 18, 2023 at 2:49 PM Ventura Bartolomeo <
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>> wrote:

Hi all,
I installed the version 7.15.1 but even if it is up and running I'm
getting the following error

*ERROR [geonetwork.index] - Error during index creation. Error is: Could
not connect to index 'gn-records'. Error is Compressor detection can only
be called on some xcontent bytes or compressed xcontent bytes. Is the index
server up and running?*

Elasticsearch is up and running

If I create via curl the gn-index

*curl -X PUT "10.8.244.64:9200/gn-records<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=8v5Ye%2BApNsVzbWo06lUUMknrJCryB0boEKsiEWFzuRc%3D&reserved=0;
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2Fgn-records%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=5DQYzsl5DhjYa40m5ISu22C1bnID9gNGSUjzacMzk3I%3D&reserved=0;&lt;http://10.8.244.64:9200/gn-records&amp;gt&gt;&quot; -H 'Content-Type: application/json'*

it seems working but if I create a metadata and I search for it the same
error appears again

Any suggestions?

thanks

------------------------------
*From:* Florent Gravin <florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>>
*Sent:* Tuesday, October 17, 2023 15:20
*To:* Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>>
*Cc:* geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net> <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>>
*Subject:* Re: [GeoNetwork-users] Elastic search version for the latest
GN version

You don't often get email from florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>. Learn why
this is important <https://aka.ms/LearnAboutSenderIdentification&amp;gt;
Hello,

The actual supported version is the *7.15.1*.
See https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeonetwork%2Fcore-geonetwork%2Fblob%2Fmain%2Fpom.xml%23L1524&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819411394|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=OAlgVDsvn%2FO44XIwrBgykUGzEhOkAMroAOQtb%2FucpLg%3D&reserved=0&lt;https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1524&gt;

On Tue, Oct 17, 2023 at 3:09 PM Ventura Bartolomeo via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net><mailto:geonetwork-users@lists.sourceforge.net>> wrote:

Hi all,
could you please tell me which version of elasticsearch you recommend to
be used for GN v4.4.0?

I tried using the last one elasticsearch-8.10.3 but I got the following
error:

ERROR [geonetwork.index] - Error during querying index. method [POST],
host [[[[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7tCZzJdK5R9yvLwzmKqC0qEp8XmL05P28tiQt5RgOh0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7tCZzJdK5R9yvLwzmKqC0qEp8XmL05P28tiQt5RgOh0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7tCZzJdK5R9yvLwzmKqC0qEp8XmL05P28tiQt5RgOh0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7tCZzJdK5R9yvLwzmKqC0qEp8XmL05P28tiQt5RgOh0%3D&reserved=0&amp;lt;https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=D1os19nMDhZ6abuHH%2F9aeT4qjZ2NIpgeps99dkHAtcE%3D&reserved=0;],][[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7tCZzJdK5R9yvLwzmKqC0qEp8XmL05P28tiQt5RgOh0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7tCZzJdK5R9yvLwzmKqC0qEp8XmL05P28tiQt5RgOh0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7tCZzJdK5R9yvLwzmKqC0qEp8XmL05P28tiQt5RgOh0%3D&reserved=0&]https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7tCZzJdK5R9yvLwzmKqC0qEp8XmL05P28tiQt5RgOh0%3D&reserved=0&amp;lt;https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.8.244.64%3A9200%2F%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=D1os19nMDhZ6abuHH%2F9aeT4qjZ2NIpgeps99dkHAtcE%3D&reserved=0;&lt;http://10.8.244.64:9200/&gt;\], URI
[/gn-records/_search?typed_keys=true&max_concurrent_shards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512],
status line [HTTP/1.1 404 Not Found]
Warnings: [[ignore_throttled] parameter is deprecated because frozen
indices have been deprecated. Consider cold or frozen tiers in place of
frozen indices.]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
such index [gn-records]","resource.type":"index_or_alias","resource.id<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresource.id%2F%26gt%3B%2522%3A%2522gn-records%2522%2C%2522index_uuid%2522%3A%2522_na_%2522%2C%2522index%2522reason%2522%3A%2522no&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=u2flmQCeZRDxUqNLHlxq8HXihICz5T1jxU4BQU4idSQ%3D&reserved=0
such index [gn-records]","resource.type":"index_or_alias","resource.id<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresource.id%2F%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=OntpSELHSxayq0Gtokx3SWd6hc36wGoBI%2B6j6gVMIew%3D&reserved=0;
":"gn-records","index_uuid":"_na_","index":"gn-records"},"status":404}

even if I created the index as indicated in the GN guideline

regards,

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…<mailto:bartolomeo.ventura@…1518…>>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;&lt;http://www.eurac.edu/&amp;gt;

This transmission is intended only for the use of the addressee and may
contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author
immediately by mail and delete all copies of this transmission and any
attachments.
Any use or dissemination of this communication is strictly prohibited by
the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and
liability for damages.
P Think before you print

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net><mailto:GeoNetwork-users@lists.sourceforge.net>
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeonetwork-users&data=05|01%&lt;https://lists.sourceforge.net/lists/listinfo/geonetwork-users&gt;7Cbartolomeo\.ventura%40eurac\.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&amp;sdata=DxIXK7INPkB25kjfGhc5R77XUtDfo3ZR%2FzHgiQU4ReE%3D&amp;reserved=0
GeoNetwork OpenSource is maintained at
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgeonetwork&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=YWRpUp1CKmZIe%2BZym59INMTRJmexG%2FOzVzuFFBVi%2Ftc%3D&reserved=0&lt;http://sourceforge.net/projects/geonetwork&gt;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rpfloOb%2BBEvBMEU1f4hU5GerqPVwraGpSrL67w8%2FdYg%3D&reserved=0;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rpfloOb%2BBEvBMEU1f4hU5GerqPVwraGpSrL67w8%2FdYg%3D&reserved=0;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rpfloOb%2BBEvBMEU1f4hU5GerqPVwraGpSrL67w8%2FdYg%3D&reserved=0;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rpfloOb%2BBEvBMEU1f4hU5GerqPVwraGpSrL67w8%2FdYg%3D&reserved=0;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rpfloOb%2BBEvBMEU1f4hU5GerqPVwraGpSrL67w8%2FdYg%3D&reserved=0;

--
[image: This is Florent Gravin's card. Their email is
florent.gravin@...137...<mailto:florent.gravin@…137…><mailto:florent.gravin@…137…>.]
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26amp%3Bgt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=rpfloOb%2BBEvBMEU1f4hU5GerqPVwraGpSrL67w8%2FdYg%3D&reserved=0;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net><mailto:GeoNetwork-users@lists.sourceforge.net>
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeonetwork-users&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=DxIXK7INPkB25kjfGhc5R77XUtDfo3ZR%2FzHgiQU4ReE%3D&reserved=0&lt;https://lists.sourceforge.net/lists/listinfo/geonetwork-users&gt;
GeoNetwork OpenSource is maintained at https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgeonetwork&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=YWRpUp1CKmZIe%2BZym59INMTRJmexG%2FOzVzuFFBVi%2Ftc%3D&reserved=0&lt;http://sourceforge.net/projects/geonetwork&gt;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490819567749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=tbNqFkAYV%2FadmY3Nm%2Fa2%2FinJWVcIkCgL%2FEXJU6lh%2Fcc%3D&reserved=0;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490820036404|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=h5dMMhdqvCW5YHzNId08mBQ0lfzPTN5LjLnJCgysE7g%3D&reserved=0;

--
[This is Florent Gravin's card. Their email is florent.gravin@...137...<mailto:florent.gravin@…137…>.]<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhihello.me%2Fp%2F198272c7-2709-4f8c-8bb0-0b01e91cac7f%26gt&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490820036404|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=h5dMMhdqvCW5YHzNId08mBQ0lfzPTN5LjLnJCgysE7g%3D&reserved=0;
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeonetwork-users&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490820036404|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=aLIjDShYQRJh6MtAcrnLjFoeHyl5N8kU%2Fw05KPOVdRM%3D&reserved=0&lt;https://lists.sourceforge.net/lists/listinfo/geonetwork-users&gt;
GeoNetwork OpenSource is maintained at https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgeonetwork&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490820036404|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=eZuCbHlPcpOArvBnRG37%2BAjVw7NBm4nKVo%2B11kho8Gg%3D&reserved=0&lt;http://sourceforge.net/projects/geonetwork&gt;

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeonetwork-users&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490820036404|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=aLIjDShYQRJh6MtAcrnLjFoeHyl5N8kU%2Fw05KPOVdRM%3D&reserved=0&lt;https://lists.sourceforge.net/lists/listinfo/geonetwork-users&gt;
GeoNetwork OpenSource is maintained at https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgeonetwork&data=05|01|bartolomeo.ventura%40eurac.edu|31a8bc6299df418d657908dbd3a80485|9251326703e3401a80d4c58ed6674e3b|0|0|638336490820036404|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=eZuCbHlPcpOArvBnRG37%2BAjVw7NBm4nKVo%2B11kho8Gg%3D&reserved=0&lt;http://sourceforge.net/projects/geonetwork&gt;