IIRC the version of Elasticsearch that’s in 7.9 gets picky about free disk space & puts its indices into read-only mode when free disk space is lower than a certain percentage. Free up disk space & restart. SonarQube starts by moving the indices out of read-only mode, so the cleanup is all you should need to do.