AWS ECS (Fargate) SonarQube Upgrade 8.9.9 enterprise to 9.9.4 enterprise

Make sure to tell us:

  • What version are you upgrading from? 8.9.9 enterprise
  • System information (Operating system, Java version, Database provider/version)
    Linux, Java 11, PostgreSQL
  • What’s the issue you’re facing?
    We would like to take backup of the projects in 8.9.9 and import to 9.9.4 enterprise, if we face any issues. How can we do that as we are using ECS Fargate?
    And I noticed you updated file in this video In ECS fargate how can we update it?
    We don’t want to loose any of the data or the projects during the upgrade. Can you make a video or a post for ECS Fargate sonarqube docker image version based upgrade?
    What else need to be done before and after the upgrade?
    I do see some errors here AWS ECS SonarQube Upgrade 8.9 to 9.9
    We are just thinking if it best to upgrade or need to wait until next release.


Welcome to the community!

All you need to do is make a DB backup, as the Upgrade Guide tells you to do.

If you have problems, you only need to restore the backup and start your old instance back up.


Do we need to stop existing container by task definition desired count to 0 and deploy new version and update taskdefinition desired count back to 1?
We are using ECS Fargate. Do we need to update conf/
No need to take projects backup?


The projects are stored in the DB. Backing up your DB backs up your projects.

For the rest, I urge you to consult the upgrade guide I linked earlier.