SonarQube service not starting after the upgrade

Not able to start the SonarQube service after the upgrade, however I followed the instructions

java.lang.IllegalStateException: failed to obtain node locks, tried [[D:\sonarqubeEE\sonarqube-\data\es7]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
at org.elasticsearch.env.NodeEnvironment.(
at org.elasticsearch.node.Node.(
at org.elasticsearch.node.Node.(
at org.elasticsearch.bootstrap.Bootstrap$5.(
at org.elasticsearch.bootstrap.Bootstrap.setup(
at org.elasticsearch.bootstrap.Bootstrap.init(
at org.elasticsearch.bootstrap.Elasticsearch.init(
at org.elasticsearch.bootstrap.Elasticsearch.execute(
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
at org.elasticsearch.cli.Command.main(
at org.elasticsearch.bootstrap.Elasticsearch.main(
at org.elasticsearch.bootstrap.Elasticsearch.main(

Hey there.

It looks like you could have multiple SonarQube instance started, or a corrupted Elasticsearch index.

I would suggest you make sure there’s no other SonarQube services started on this machine, and also try deleting the data/es7 of your SonarQube installation before the next restart.