IMPORTANT, please fill the questions
We assume you are using Bitnami to deploy your application.
-
Which version of the application are you using?:
sonarqube-developer-8.5.1.38104
-
Please choose how you got the application: Installer (Windows, Linux, macOS), cloud image (AWS, GCE, Azure, ...) or VM (VMDK, VBOX):
Azure market place, and the new edition is from the sonarqube website
-
Have you installed any plugin or modified any configuration file?:
Modified config files as stated here:
https://docs.bitnami.com/azure/apps/sonarqube/administration/upgrade/#upgrade-sonarqube-and-all-stack-components-recommended
-
Describe here your question/suggestion/issue (expected and actual results):
After following this guide https://docs.bitnami.com/azure/apps/sonarqube/administration/upgrade/#upgrade-sonarqube-and-all-stack-components-recommended, the server does not start:
bitnami@tst:~$ sudo /opt/bitnami/ctlscript.sh start sonarqube
tail: cannot open '/opt/bitnami/apps/sonarqube/sonarqube/logs/sonar.log' for reading: No such file or directory
tail: cannot open '/opt/bitnami/apps/sonarqube/sonarqube/logs/sonar.log' for reading: No such file or directory
If I then touch the file with touch /opt/bitnami/apps/sonarqube/sonarqube/logs/sonar.log
no data is logged. Nor is any data put into /opt/bitnami/apps/sonarqube/sonarqube/logs/sonar.log
.
I believe I have the permissions set correctly by doing:
sudo chown -R root:sonarqube /opt/bitnami/apps/sonarqube/sonarqube
sudo chown -R sonarqube:sonarqube /opt/bitnami/apps/sonarqube/sonarqube/logs/*
bitnami@tst:~$ ls -lah /opt/bitnami/apps/sonarqube/sonarqube/
total 56K
drwxr-xr-x 12 root sonarqube 4.0K Nov 18 03:38 .
drwxr-xr-x 6 root sonarqube 4.0K Nov 18 04:09 ..
drwxr-xr-x 6 root sonarqube 4.0K Oct 22 18:23 bin
drwxr-xr-x 2 root sonarqube 4.0K Nov 18 04:34 conf
-rw-r--r-- 1 root sonarqube 7.5K Oct 22 18:23 COPYING
drwxr-xr-x 4 root sonarqube 4.0K Nov 18 04:14 data
drwxr-xr-x 7 root sonarqube 4.0K Oct 22 18:23 elasticsearch
drwxr-xr-x 5 root sonarqube 4.0K Nov 18 04:15 extensions
drwxr-xr-x 8 root sonarqube 4.0K Oct 22 18:33 lib
drwxr-xr-x 2 root sonarqube 4.0K Nov 18 04:44 logs
drwxr-xr-x 2 root sonarqube 4.0K Nov 18 02:49 pids
drwxr-xr-x 8 root sonarqube 4.0K Nov 18 04:16 temp
drwxr-xr-x 6 root sonarqube 4.0K Oct 22 18:33 web
bitnami@tst:~$ ls -lah /opt/bitnami/apps/sonarqube/sonarqube/logs/
total 8.0K
drwxr-xr-x 2 root sonarqube 4.0K Nov 18 04:48 .
drwxr-xr-x 12 root sonarqube 4.0K Nov 18 03:38 ..
-rw-r--r-- 1 sonarqube sonarqube 0 Nov 18 04:48 sonar.log
In /opt/bitnami/apps/sonarqube/sonarqube/conf/sonar.properties
I have also set sonar.log.level=DEBUG
and still no data is logged.
-
Steps to reproduce the issue (if relevant):
Upgrade to sonarqube-developer-8.5.1.38104 be replacing binaries and editing config files