Hi all,
We had an issue where one specific user was always redirected to /portfolios after login, even though the instance has been running Developer Edition for quite a while and has been upgraded quite a few times during that period. Portfolios are not available in Developer Edition.
Versions
SonarQube Server: Developer Edition v2026.2.1 (121354)
Mode: ACTIVE MQR Mode
Scanner: Not relevant to this issue
Plugins / extensions: None
Authentication: GitLab linked user
Deployment
SonarQube is deployed as a Docker/container image running on Kubernetes.
It is not a zip installation and we are not using the SonarQube Helm chart. The Kubernetes resources are managed through Terraform.
What we were trying to achieve
We wanted the affected user to log in normally via GitLab and land on a valid SonarQube page, such as /projects.
Other users could log in normally. The issue only affected one GitLab linked user.
Issue observed
After login, the affected user was always redirected to:
text /portfolios
This then showed:
text The page you were looking for does not exist.
The affected user could manually change the URL to /projects after login and continue using SonarQube normally, so the login itself was working.
Background
This instance had Enterprise Edition over a year ago and was later downgraded to Developer Edition, although is updated every x months.
The likely cause appears to have been a stale user level homepage preference still pointing to Portfolios from when that feature was available.
What we tried
We tried:
- Incognito mode
- Disabling the new navigation beta
- Confirming other users could log in normally
- Confirming the affected user could access /projects manually after login
These did not resolve the redirect.
Workaround / fix
The issue was resolved by the user manually navigating to /projects, drilling into a project and clicking the set as homepage.
After logging out and back in, the user no longer redirected to /portfolios.
Questions
- Is this a known issue after downgrading from Enterprise Edition to Developer Edition?
- Is there an official supported way to clear or reset a stored user homepage preference server side?
- Should SonarQube ignore or safely reset homepage preferences that point to features unavailable in the current edition?
- Is this behaviour fixed or tracked in a newer SonarQube Server version?
Thanks,
Darren