Projects not showing up in UI after restore the database in New SERVER

SonarQube version : Community Edition -Version 10.0 build 68432
SonarQube Deployed : zip, windows server

Sonarqube running in a windows server with version 10.0. I want to move the sonarqube in a new server and upgrade to 10.7.

I dumped the database and restored in new server then setup the sonarqube. everything works fine but old projects are showing up in UI.

In database schema I can see I have all the data but in UI all the old projects are missing.

  1. Stop SonarQube
  2. Delete the data/es8 directory
  3. Restart SonarQube