Web log have some issue to start SonarQube server please help

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) : SonarQube
  • how is SonarQube deployed: zip, Docker, Helm : zip
  • what are you trying to achieve :starting the
    web.log (41.2 KB)
    sonar.log (2.8 KB)
    nohup.log (3.2 KB)
    es.log (15.6 KB)
    server
  • what have you tried so far to achieve this : move back to java 17, which is the previous issue now getting web.log issue

Attaching the web.log, es, and sonar logs fine for your details

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hey there.

The issue comes from there not being enough disk space available on your machine.

es.log

2024.03.19 17:13:52 WARN es[o.e.c.r.a.DiskThresholdMonitor] flood stage disk watermark [95%] exceeded on [WYF7JC-mT6uch6kXSgp3Bw][sonarqube][/Users/shrivsk/Downloads/Working-March-2024/sonarqube-18March/data/es8] free: 20.3gb[4.3%], all indices on this node will be marked read-only

You need to free up some disk space, and possibly delete the data/es8 folder before starting up again.

Yes, this can seem a bit ridiculous on large harddrives, but this is Elasticsearch’s requirements, not ours.

had not reduced to 90% but still the same error how much do i need to have space for Elasticsearch’s at the moment free space is

2024.04.04 01:49:16 WARN es[o.e.c.r.a.DiskThresholdMonitor] high disk watermark [90%] exceeded on [hVoGPtvEQwO86fqGbf2TAg][sonarqube][/Users/shrivsk/Downloads/Working-March-2024/sonarqube-18March/data/es8] free: 27.6gb[5.9%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete

`

By default Elasticsearch needs 10%, and SonarQube uses that default.