Hi,
I just upgraded from Community 10.1 version to Developer 10.2, following the upgrade procedure.
This is a Zip install on Linux 64.
Database migration might have succeeded (after checking the /setup URL) but the web server isn’t available.
Elastic Search continuously restart, making the app unavailable.
I tried to remove the es8
data folder with no success. And exploring the rest API, it seems that there is a problem with an index naming, but I don’t know how to fix that. The last log might contain the important information.
es.log sample
2023.09.12 15:58:28 INFO es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{9OETZqmZRG6bsXYpl7PyQg}] is selected as the current health node.
2023.09.12 15:58:28 INFO es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]]])." previous.health="RED" reason="shards started [[metadatas][0]]"
2023.09.12 15:58:34 INFO es[][o.e.n.Node] stopping ...
2023.09.12 15:58:34 INFO es[][o.e.r.s.FileSettingsService] shutting down watcher thread
2023.09.12 15:58:34 INFO es[][o.e.r.s.FileSettingsService] watcher service stopped
2023.09.12 15:58:34 INFO es[][o.e.n.Node] stopped
2023.09.12 15:58:34 INFO es[][o.e.n.Node] closing ...
2023.09.12 15:58:34 INFO es[][o.e.n.Node] closed
This sequence loop every 10-15 seconds
API health response
{
"name" : "sonarqube",
"cluster_name" : "sonarqube",
"cluster_uuid" : "8jCGvifOQHuV4zeCDGvI_A",
"version" : {
"number" : "8.7.0",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "09520b59b6bc1057340b55750186466ea715e30e",
"build_date" : "2023-03-27T16:31:09.816451435Z",
"build_snapshot" : false,
"lucene_version" : "9.5.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
API _info response
{
"error": {
"root_cause": [
{
"type": "invalid_index_name_exception",
"reason": "Invalid index name [_info], must not start with '_'.",
"index_uuid": "_na_",
"index": "_info"
}
],
"type": "invalid_index_name_exception",
"reason": "Invalid index name [_info], must not start with '_'.",
"index_uuid": "_na_",
"index": "_info"
},
"status": 400
}
Thanks for your help!