Do the login require for SonarQube?

Hi Team,
I am trying to use SonarQube in my local mac machine. I have followed the steps and successfully executed the command but on http://localhost:9000/projects?sort=-analysis_date page display This project is empty

Kindly help.

Also do SonarQube require login using GITHUB / BITBUCKET account?


Could you be more explicit about what steps you’ve followed and what command you’ve executed? It’s not really clear right now what’s going on.


Hi Ann,

Do sonar require login using GITHUB / BITBUCKET account to show projects error on http://localhost:9000/projects?sort=-analysis_date ?

I am trying to integrate continuous inspection, I have generated sonarlint.json and it’s showing more than 1k error of different type but when I am visiting on http://localhost:9000/projects?sort=-analysis_date ? than above page saying The Projects is empty

A much needed help is important with quick response.

Hi @ShivankA.

No, it isn’t required.

Are you analyzing your code using a SonarQube Scanner? SonarLint doesn’t send your code to the server, that’s why you don’t see the project in the SonarQube UI.

1 Like

Hi @felipebz
Yes I am analyzing the code using SonarQube but I don’t see the project on server.

Could you share the command that you’re running to analyze the code?

Please give me some time as days back I tried.

Hi @felipebz,

Can you help me on this error

sh -nounittests


-n .

-n Extracting Xcode project information


ERROR - Command ‘xcodebuild clean build -workspace FMS.xcworkspace -scheme FMS -destination platform=iOS Simulator,name=iPhone 7,OS=12.2 -destination-timeout 360 COMPILER_INDEX_STORE_ENABLE=NO’ failed with error code: 65

It would be helpful if you provide quick solutions to save time

Sonar-Properties file
sonar.swift.simulator=platform=iOS Simulator,name=iPhone 7,OS=12.2

Hi @felipebz,

I have succesfully compile the project using below command
sh -nounittests

I am getting This project is empty. on localhost:9000.

A much NEEDFUL help is needed ASAP.


Without the content of, knowing that you ran it isn’t very helpful. However, I’m guessing from your earlier error message that your script simply compiles your project. You must also run a scanner. The docs should help with that.

You’ve provided the contents of your file. I’m wondering where you got most of those properties. I don’t recognize any of these:


Fortunately, they won’t interfere with analysis; they’ll simply be ignored. Here’s the list of common parameters, which you might find helpful. However, this should be enough to get you started:



You’ll also need to provide, altho whether that happens in the global scanner configuration (see first link), your or on the command line ( is up to you.


Hi ,
After run a scanner I am having certain errors using command sonar-scanner

java.lang.IllegalStateException: Failed to create lock in /**Project-Directory**/.scannerwork/.sonar_lock
at org.sonar.scanner.scan.DirectoryLock.tryLock(
at org.sonar.scanner.scan.ProjectLock.tryLock(
at org.sonar.scanner.scan.ProjectScanContainer.doBeforeStart(
at org.sonar.core.platform.ComponentContainer.startComponents(
at org.sonar.core.platform.ComponentContainer.execute(
at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(
at org.sonar.core.platform.ComponentContainer.startComponents(
at org.sonar.core.platform.ComponentContainer.execute(
at org.sonar.batch.bootstrapper.Batch.doExecute(
at org.sonar.batch.bootstrapper.Batch.execute(
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
at java.base/java.lang.reflect.Method.invoke(
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(
at com.sun.proxy.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(
at org.sonarsource.scanner.api.EmbeddedScanner.execute(
at org.sonarsource.scanner.cli.Main.execute(
at org.sonarsource.scanner.cli.Main.execute(
at org.sonarsource.scanner.cli.Main.main(
Caused by: /**Project-Directory**/.scannerwork/.sonar_lock (Permission denied)
at java.base/ Method)
at java.base/
at java.base/<init>(
at java.base/<init>(
at org.sonar.scanner.scan.DirectoryLock.tryLock(
... 21 more

AND my file is

#Configure here general information about the environment, such as SonarQube server connection details for example
#No information about specific project should appear here
#----- Default SonarQube server
#----- Default source code encoding


Here’s your problem:

Does the user running the analysis property have full rights on the .scannerwork directory? Do you have background tasks running (e.g. a virus scanner) which could be preventing access?


Unfortunately I am having same problem.

System Preferences

  • Admin permission on login user
  • JAVA 8 is installed.

A much NEEDFUL help is IMP.


Until you sort out the permission issue, there’s not much anyone can do to help you.


BTW, it seems you’re using this plugin instead of the commercial plugin from SonarSource. Could you confirm it?

I think yes as I have followed the instructions from SonarQube open source.

Do it require paid plugin?

Any other problem or it’s a permission denied issue (As system is having admin permission) ?



I am waiting for valuable help

I am running this command

sudo sonar-scanner -X