-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Sonarqube] Issues in upgrading sonarqube from 8.9.4 to 9.9.5 LTS #1571
Comments
@gregory109 I tried updating the whole /opt folder itself, which includes Java and sonarqube, but it failed. will try with just java and sonarqube folders inside /opt. Also in my current ami I have two folders i.e. stack (at ~) and /opt/bitnami - both contain the same content i.e. sonarqube, java, apache and other components required. Why is this duplicity there? Also the logs folder inside sonraqube is empty when I restart bitnami and sonarqube fails. Any other place to get specific logs? |
@gregory109 I attempted the second approach. currently sonarqube fails to restart. These are the logs inside sonar.log:
|
You can try migrating the information and see if the new version works as expected. That may be a first step. You can later work on migrating your domain to the new site, the only downtime would be this migration of the domain. https://docs.bitnami.com/general/apps/sonarqube/administration/upgrade/ |
How about thinking a different way... instead of hosting a central sonarqube... why don't install a brand new sonarqube, scan it... and download the metric file result for checking the measure that u need to pass/fail If you need example: check out https://github.com/gitricko/sonarless .. it has a GHA for it too |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Describe your issue as much as you can
Hi team
We currently use bitnami sonarqube - setup inside a aws EC2 built using bitnami sonarqube ami. We are trying to upgrade the existing sonarqube in EC2 from 8.9.4 (current version supported by the ami itself) to 9.9.4 (the next LTS).
Currently we have two approaches:
Setup a new sonarqube using 9.9.4 AMI and then migrate the Postgres db data into the new server. However this requires downtime and also there are issues while migrating the Postgres data (using pgdump) due to change in Postgres version.
Use the existing EC2 setup. Install java 17 (currently it's using java11). Download sonarqube 9.9.4 as a zip file and replace existing sonarqube folder inside bitnami folder to use the new sonarqube (9.9.4) and restart the bitnami service. We tried this approach, but sonarqube fails to come up (exit code 1).
Journalctl logs show:
Please help in what will be the optimal way to upgrade the existing sonarqube setup with minimum downtime.
The text was updated successfully, but these errors were encountered: