New SonarQube scan for codebase A will replace the existing SonarQube project for Codebase B

Have checked the project key. The project key is different, for the different projects, so it is not replacing the existing project results in the dashboard because of that.
The environment is using docker service using sonarqube:7.9.6-community image.
The SonarQube projects doesnt persist in the dashboard will always be replaced with new scans of another project.
Have tried removing the contents in sonarqube/data/es6 and restarting the server.
But the problem persists.

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.6 → 8.9.8 → 9.4 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
HTH,
Ann