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:
- stop sonarqube server
- remove contents of $sq_home/data/es directory
- start server
sonarqube recreate indices on startup.
Comments
Post a Comment