How to resolve "Cannot find the object "org_qprofiles.qprofiles_org_uuid" on update SonarQube"

I’m upgrading SonarQube from version 8.5 to 8.9. The database is Azure SQL. I’m getting the error “Cannot find the object “org_qprofiles.qprofiles_org_uuid” because it does not exist or you do not have permissions.” during the update. But the object exists in the database.


dkcSa

Hi,

Welcome to the community!

If you’ve checked the first half of the message (i.e. it exists) then it’s probably the 2nd half. Specifically, you need to make sure the account SonarQube accesses the DB with has full permissions on the SonarQube schema.

 
HTH,
Ann