Package Details: sonarqube-bin 10.5.1.90531-1

Git Clone URL: https://aur.archlinux.org/sonarqube-bin.git (read-only, click to copy)
Package Base: sonarqube-bin
Description: An open source platform for continuous inspection of code quality
Upstream URL: http://www.sonarqube.org/
Licenses: LGPL3
Conflicts: sonarqube-lts
Provides: sonarqube
Submitter: ParaSait
Maintainer: ksj
Last Packager: ksj
Votes: 23
Popularity: 0.012822
First Submitted: 2023-01-03 21:13 (UTC)
Last Updated: 2024-05-02 10:17 (UTC)

Dependencies (2)

Required by (0)

Sources (5)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

hashworks commented on 2020-11-05 10:14 (UTC)

/usr/lib/systemd/system/sonarqube.service:{11,12}: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.

quebin31 commented on 2019-10-23 19:26 (UTC) (edited on 2019-10-23 19:26 (UTC) by quebin31)

@dNhax please fix java-runtime dependency, as stated here, Sonarqube only supports java 11, not above that.

dNhax commented on 2018-10-09 07:48 (UTC)

@sigman: Thanks for pointing that out! I will update the package after work.

sigman commented on 2018-10-09 06:26 (UTC)

Since https://sonarsource.bintray.com/Distribution/.. now requires credentials, I managed to install it after changing base url to: https://binaries.sonarsource.com/Distribution/..

MoroS commented on 2018-07-10 18:36 (UTC)

@attila123: Just to supplement dNhax's answer, you got the "Permission denied", because SonerQube operates on a system service level and assumes, that it has that very level of file system access. That being said, you can easily run it like you mentioned as root (although you should use "systemctl start sonarqube" to be on the safe side and let SystemD manage it as a service).

dNhax commented on 2018-07-10 17:25 (UTC)

@attila123: After package installation, start or enable sonarqube.service with systemd.

attila123 commented on 2018-07-10 15:08 (UTC)

What is the easiest way to get it running (locally, kind of just to try out)? According to https://docs.sonarqube.org/display/SONAR/Get+Started+in+Two+Minutes I tried to run it as normal user (/usr/share/sonarqube/bin/linux-x86-64/sonar.sh console), and got some permission problems (not sure what it was, maybe some log file). I tried it running as root, but then got jvm 1 | 2018.07.10 16:50:11 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 1 and /var/log/sonarqube/es.log contains the problem: java.lang.RuntimeException: can not run elasticsearch as root

I run it again as normal user to note down the permission problems:

$ /usr/share/sonarqube/bin/linux-x86-64/sonar.sh console
Running SonarQube...
wrapper  | ERROR: Could not write pid file /usr/share/sonarqube/bin/linux-x86-64/./SonarQube.pid: Permission denied
Unable to open logfile ../../logs/sonar.log: Permission denied

I ended up brute force fixing the permission problems:

sudo chown -R $USER:mygroup /usr/share/sonarqube
sudo chown -R $USER:mygroup /var/log/sonarqube

Not it works, but I am not sure how is it supposed to work.

dNhax commented on 2018-07-03 16:17 (UTC)

Those warnings are harmless and can be ignored.

MoroS commented on 2018-07-02 17:39 (UTC)

@dNhax: upgraded. Works like a charm. :)

Just one question about this:

warning: could not get file information for usr/share/sonarqube/extensions/plugins/sonar-python-plugin-1.10.0.2131.jar
warning: could not get file information for usr/share/sonarqube/temp/README.txt

It doesn't do anything harmful (in my case at least). I was just wondering if this is related to the "Non-default plugins have been deleted." message seen a bit later? As in part of the cleaning up process?

dNhax commented on 2018-06-28 06:00 (UTC)

@MoroS: Yes, this is the same issue I stumbled upon.

I will upgrade the package after work and streamline the package upgrade process to follow the SonarQube upgrade instructions more closely (https://docs.sonarqube.org/display/SONAR/Upgrading).