Regain admin access to project after misconfigured permissions

ALM used: GitHub
CI system used: GitHub Actions
Languages of the repository: .NET/C#

Hi Sonarqube community!

I’m having trouble accessing one specific project on Sonarqube Cloud, which I’ve analyzed (and bound) before. The project is bound to a Github repo via the general integration (Sonarqube app installed in Github). Other Sonarqube projects bound to other repos on the same Github (company) instance work fine.

It seems, I or my colleague have inadvertendly removed our own (admin) access. Now, when I want to re-analyze this project, the “Analyze projects” page lists the repo as “already imported”, but the link gives me a404 (no access or project deleted) error page.

I have tried the steps to “regain administrative access” but that did not work, as the 404 page doesn’t have the sidebar with admin settings.

Furthermore, I cannot “unbind” the Github repo and create a new Sonarqube project for the same repo, not even manually. Whenever I come to the bindings settings, the repo cannot be selected as it’s already bound.

How can I remove the binding? Or, if that fails, how can I regain access to my misconfigured Sonarqube project?

I have the “team” price model, not the nterprise.

Thanks a lot!
Greg

Edit: I have found that it must be a permissions issue on the Sonarqube project. I have deleted another Sonarqube project, the Github repo then becomes “unbound” and I can run a new analysis. So, in this case, a Sonarqube project with botched permissions is blocking the repository. Hence, the question is, how to regain admistrative access to a SQ project.

Hey @gregor-stute-fp

Take a look at this thread:

Hi Colin,
thanks a lot. That solved my problem. I was missing only the “browse” (aka “user” permission).
Kind regards,
Greg

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.