We recently tried to upgrade from version 10.7.0-community to version 25.3.0.104237-community, following the instructions available here.
However, even after removing and replacing the docker container version and accessing the setup page, no update was made and the system continues to display version 10.7.0 in the page footer. The setup page, when accessed, indicates that everything is up to date and that no changes are necessary. We did not identify any error messages in the console.
Could there be any step that we might have missed?
I’m not quite sure what to tell you! It seems like somehow you’re not actually pulling the latest docker image. In the state that you shared, it doesn’t seem you have a valid Docker Compose file.
There’s an extra sonarqube: here – it should just be sonarqube:10.7.0-community.
Putting that aside – I just tried it out myself and a simple docker-compose down, switching the image, docker-compose up worked as expected.
Are you absolutely sure that your SonarQube instance is being deployed by docker compose, and specifically this docker compose file? If you run docker-compose down, can you still access your SonarQube instance?
Thank you very much for your support. I went through the process step by step and I think I identified the problem, or at least something that isn’t right in our configuration. I identified that the mapping for the volume “/opt/sonarqube/data” is not mapped to the correct external volume. I will adjust these settings and try the upgrade again.
Following up after fixing the volumes, unfortunately the problem persists. Even after updating the container version and accessing the setup screen, it still shows as version 10.7.0.
sudo docker ps -f name=sonar
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
67489cc9bc9f sonarqube:25.3.0.104237-community "/opt/sonarqube/dock…" 15 minutes ago Up 15 minutes 0.0.0.0:9451->9000/tcp, [::]:9451->9000/tcp sonarqube-embrapadevops