IndexNotFoundException[no such index [500] 'ERROR' - Sonatype Nexus Repository - Sonatype Community
IndexNotFoundException[no such index [500] ‘ERROR’]
post by asmii on Jan 24, 2024
mohamed ayoub smii
Hello,
We are encountering issues while downloading .jar files from Nexus.
- The command used is:
curl --cacert Cert.crt --location "https://nexus.example.com/service/rest/v1/search/assets/download?/*****" --output data-pln.jar
- In the nexus.log, we find the following error message:
2024-01-24 10:36:23,844+0100 WARN [qtp1450981182-19724843] *UNKNOWN org.sonatype.nexus.siesta.internal.UnexpectedExceptionMapper - (ID 51421365-3dd0-48c6-a0e6-531ea0c419f7) Response: **[500] 'ERROR:** (ID 51421365-3dd0-48c6-a0e6-531ea0c419f7) [f532a0084d6f9e9836eb353adf82d5cdc193f3c2] IndexNotFoundException[no such index]'; mapped from: [f532a0084d6f9e9836eb353adf82d5cdc193f3c2] **IndexNotFoundException[no such index]** 2024-01-24 10:36:28,578+0100 WARN [qtp1450981182-19724843] *UNKNOWN org.sonatype.nexus.siesta.internal.UnexpectedExceptionMapper - (ID c648e4f4-76ad-4e44-b643-44820cf16cc6) Unexpected exception: [f532a0084d6f9e9836eb353adf82d5cdc193f3c2] IndexNotFoundException[no such index] org.elasticsearch.index.IndexNotFoundException: no such index ...
On the graphical interface, the error message is “no such index.”
Some app and system informations:
OS Version: RedHat 7.8
Nexus Version: OSS 3.34.1-01
Uptime: 978 days
post by mpiggott on Jan 25, 2024
Matthew Piggott
Likely this means your elastic search index is missing. You could try using the task to rebuild the search index for the affected repositories.