configuration - "Fail to execute ES search request" popup alert in SonarQube web UI after upgrading from 4.5.1 to 5.1 -


when click on issue in sonarqube web ui see details, red popup:

fail execute es search request '{"size":1000,"query":{"bool":{"must":[{"term":{"fileuuid":"9c1ae181-f5c3-47da-8fad-3716aca54b6d"}},{"range":{"line":{"from":1,"to":1000,"include_lower":true,"include_upper":true}}}]}},"sort":[{"line":{"order":"asc"}}]}' on indices '[sourcelines]' on types '[sourceline]'

and source code or issue details not shown. started getting after upgrading sonar 4.5.1 5.1

i stopped sonar server, deleted sonar_qube/data/es folder, restarted process , see these messages in log:

es[o.e.c.r.a.decider] [sonar-1431655214631] low disk watermark [15%] exceeded on [1rprlr2pts2zotdyv71gkq][sonar-1431655214631] free: 534.3mb[13.2%], replicas not assigned node

i suppose may related, not sure if these "replicas" have "indices"...

i solved rebuilding elastic search indices:

  1. stop sonarqube server
  2. remove contents of $sq_home/data/es directory
  3. start server

sonarqube recreate indices on startup.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -