The log looks like this (failed to obtain node locks):
2020.02.07 13:20:24 INFO es[o.e.e.NodeEnvironment] using [1] data paths, mounts [[(C:)]], net usable_space [417.9gb], net total_space [476.6gb], types [NTFS]
2020.02.07 13:20:24 INFO es[o.e.e.NodeEnvironment] heap size [494.9mb], compressed ordinary object pointers [true]
2020.02.07 13:20:24 INFO es[o.e.n.Node] node name [sonarqube], node ID [l3nE-5ZHQ1GxjgZ-TbV96w]
2020.02.07 13:20:24 INFO es[o.e.n.Node] version[6.8.4], pid[5288], build[unknown/unknown/bca0c8d/2019-10-16T06:19:49.319352Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot™ 64-Bit Server VM/13.0.1/13.0.1+9]
2020.02.07 13:20:24 INFO es[o.e.n.Node] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=C:\Sonar\sonarqube-8.1.0.31237\temp, -XX:ErrorFile=…/logs/es_hs_err_pid%p.log, -Xmx512m, -Xms512m, -XX:+HeapDumpOnOutOfMemoryError, -Delasticsearch, -Des.path.home=C:\Sonar\sonarqube-8.1.0.31237\elasticsearch, -Des.path.conf=C:\Sonar\sonarqube-8.1.0.31237\temp\conf\es]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] loaded module [analysis-common]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] loaded module [lang-painless]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] loaded module [mapper-extras]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] loaded module [parent-join]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] loaded module [percolator]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] loaded module [reindex]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] loaded module [repository-url]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] loaded module [transport-netty4]
2020.02.07 13:20:24 INFO es[o.e.p.PluginsService] no plugins loaded
2020.02.07 13:20:25 WARN es[o.e.d.c.s.Settings] [http.enabled] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.
2020.02.07 13:20:26 INFO es[o.e.d.DiscoveryModule] using discovery type [zen] and host providers [settings]
2020.02.07 13:20:26 INFO es[o.e.n.Node] initialized
2020.02.07 13:20:26 INFO es[o.e.n.Node] starting …
2020.02.07 13:20:27 INFO es[o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2020.02.07 13:20:30 INFO es[o.e.c.s.MasterService] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {sonarqube}{l3nE-5ZHQ1GxjgZ-TbV96w}{B1UJ_o9CTLCIYmdZlgTHtA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}
2020.02.07 13:20:30 INFO es[o.e.c.s.ClusterApplierService] new_master {sonarqube}{l3nE-5ZHQ1GxjgZ-TbV96w}{B1UJ_o9CTLCIYmdZlgTHtA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: apply cluster state (from master [master {sonarqube}{l3nE-5ZHQ1GxjgZ-TbV96w}{B1UJ_o9CTLCIYmdZlgTHtA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
2020.02.07 13:20:30 INFO es[o.e.n.Node] started
2020.02.07 13:20:30 INFO es[o.e.g.GatewayService] recovered [0] indices into cluster_state
2020.02.07 13:20:34 ERROR es[o.e.b.Bootstrap] Exception
java.lang.IllegalStateException: failed to obtain node locks, tried [[C:\Sonar\sonarqube-8.1.0.31237\data\es6]] 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.(NodeEnvironment.java:300) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.node.Node.(Node.java:296) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.node.Node.(Node.java:266) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:212) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) [elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) [elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) [elasticsearch-6.8.4.jar:6.8.4]
2020.02.07 13:20:34 WARN es[o.e.b.ElasticsearchUncaughtExceptionHandler] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to obtain node locks, tried [[C:\Sonar\sonarqube-8.1.0.31237\data\es6]] 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.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.8.4.jar:6.8.4]
Caused by: java.lang.IllegalStateException: failed to obtain node locks, tried [[C:\Sonar\sonarqube-8.1.0.31237\data\es6]] 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.(NodeEnvironment.java:300) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.node.Node.(Node.java:296) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.node.Node.(Node.java:266) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:212) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.8.4.jar:6.8.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.8.4.jar:6.8.4]
… 6 more
2020.02.07 13:20:36 INFO es[o.e.c.m.MetaDataCreateIndexService] [metadatas] creating index, cause [api], templates , shards [1]/[0], mappings
2020.02.07 13:20:37 INFO es[o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[metadatas][0]] …]).
2020.02.07 13:20:37 INFO es[o.e.c.m.MetaDataMappingService] [metadatas/OKoFb55mTqGU8brDDajBbg] create_mapping [metadata]
2020.02.07 13:20:37 INFO es[o.e.c.m.MetaDataCreateIndexService] [components] creating index, cause [api], templates , shards [5]/[0], mappings
2020.02.07 13:20:37 INFO es[o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[components][4]] …]).
2020.02.07 13:20:37 INFO es[o.e.c.m.MetaDataMappingService] [components/VjWttrZsT6Kb5uWd9YRDxg] create_mapping [auth]
2020.02.07 13:20:37 INFO es[o.e.c.m.MetaDataCreateIndexService] [projectmeasures] creating index, cause [api], templates , shards [5]/[0], mappings
2020.02.07 13:20:37 INFO es[o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[projectmeasures][4]] …]).
2020.02.07 13:20:37 INFO es[o.e.c.m.MetaDataMappingService] [projectmeasures/hIdkURYrRa2GxqgmveHuyg] create_mapping [auth]
2020.02.07 13:20:37 INFO es[o.e.c.m.MetaDataCreateIndexService] [rules] creating index, cause [api], templates , shards [2]/[0], mappings
2020.02.07 13:20:38 INFO es[o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[rules][0]] …]).
2020.02.07 13:20:38 INFO es[o.e.c.m.MetaDataMappingService] [rules/nNUruWVoQFWnAjgXfuCoBw] create_mapping [rule]
2020.02.07 13:20:38 INFO es[o.e.c.m.MetaDataCreateIndexService] [issues] creating index, cause [api], templates , shards [5]/[0], mappings
2020.02.07 13:20:38 INFO es[o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[issues][4]] …]).
2020.02.07 13:20:38 INFO es[o.e.c.m.MetaDataMappingService] [issues/LL0ijqThTyidzWhqU9L6Ww] create_mapping [auth]
2020.02.07 13:20:38 INFO es[o.e.c.m.MetaDataCreateIndexService] [users] creating index, cause [api], templates , shards [1]/[0], mappings
2020.02.07 13:20:38 INFO es[o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[users][0]] …]).
2020.02.07 13:20:38 INFO es[o.e.c.m.MetaDataMappingService] [users/UYvtcFRISq2_q-YPUSerkw] create_mapping [user]
2020.02.07 13:20:38 INFO es[o.e.c.m.MetaDataCreateIndexService] [views] creating index, cause [api], templates , shards [5]/[0], mappings
2020.02.07 13:20:38 INFO es[o.e.c.r.a.AllocationService] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[views][4]] …]).
2020.02.07 13:20:38 INFO es[o.e.c.m.MetaDataMappingService] [views/uAf6ZvERS0eQDfiuYyUJfg] create_mapping [view]
2020.02.07 13:20:53 INFO es[o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [30s] to [-1]
2020.02.07 13:20:53 INFO es[o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [30s] to [-1]
2020.02.07 13:20:53 INFO es[o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [-1] to [30s]
2020.02.07 13:20:53 INFO es[o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [-1] to [30s]
2020.02.07 13:20:53 INFO es[o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [30s] to [-1]
2020.02.07 13:20:53 INFO es[o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [30s] to [-1]
2020.02.07 13:20:53 INFO es[o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [-1] to [30s]
2020.02.07 13:20:53 INFO es[o.e.c.s.IndexScopedSettings] updating [index.refresh_interval] from [-1] to [30s]