-
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] bitnami.service restart failing #1520
Comments
It seems Apache can't be started because there is another process using that port. Did you install Apache using apt? You can take a look at this other post to know how to disable that other service and start the Bitnami one. |
sudo service apache2 disable currently after stopping apache, the port 80 is occupied with Is there a way to completely stop all components of bitnami.service (apache, Postgres, sonarqube) and restart them without getting these errors like port occupied...etc? |
That's Apache. Try stopping and disabling it this way
This error is caused due to some changes you made in the instance. The default Bitnami installation doesn't come with extra services that use those ports. We install Apache, PostgreSQL and Sonarqube and ensure that there is no other process that prevents them from starting. |
Hi @jotamartos I was able to get sonarqube to start by removing apache using https://github.com/bitnami/vms/issues/1005#issuecomment-1607937270 and using systemctl restart bitnami.service. Currently, we are using sonarqube Community EditionVersion 8.9.3. I am trying to upgrade it to 9.9.5. For this, I am following Upgrade Only SonarQube In The Bitnami Package For SonarQube™ section of the bitnami documentation. Currently I stop the bitnami.service before starting the above changes for the upgrade. Update the contents of the /opt/bitnami/sonarqube/conf/sonar.properties and /opt/bitnami/sonarqube/conf/wrapper.conf files with the settings of the related files in the /opt/bitnami/sonarqube-backup/conf backup directory. To do so, use an editor to modify them with the old settings (web server URL, database, LDAP settings, etc.). For the above, I copy the contents of sonar.properties and wrapper.conf from the sonarqube backend and update these files. I don't make any change to these files. When I restart the bitnami.service using sudo systemctl restart bitnami.service, the sonarqube fails to restart. The logs are : Journalctl logs:
|
There is no clear information about the error there, please try to get the information from the log of the application. You will need to look for that inside the /opt/bitnami/sonarqube folder. |
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. |
@jotamartos
it fails with exit code 143 |
It seems there is a problem with the app. Please take a look at the Sonarqube's official documentation and enable the debug mode to obtain more information. The error is not clear when checking that information in the log file. |
Describe your issue as much as you can
Hi guys,
I am trying to upgrade my sonarqube version to 9.9.5 following the document: https://docs.bitnami.com/aws/apps/sonarqube/administration/upgrade/
on restarting bitnami.service using cmd : sudo /opt/bitnami/ctlscript.sh restart sonarqube, the service stops running. The logs which I get from journalctl -u bitnami.service are:
What is the right way to restart sonarqube? Why do we get this error and how to avoid this?
The text was updated successfully, but these errors were encountered: