GitLab and GitHub login button icons 404 since 26.9 (SONAR-31253 moved images/alm icons)

Must-share information:

  • Versions: SonarQube Community Build 26.9.0.129388. No scanner or plugin involved, built-in GitLab authentication.
  • Deployment: zip (sonarqube-26.9.0.129388.zip from binaries.sonarsource.com) on a Linux host with systemd, behind a load balancer, no sonar.web.context. The official Same with docker image 26.9.0.129388.
  • What I’m trying to achieve: log in with GitLab. The login itself works, but the icon on the “Log in with GitLab” button is a broken image.
  • What I’ve tried:
    • GET /api/users/identity_providers returns “iconPath”:“/images/alm/gitlab.svg”, and GET /images/alm/gitlab.svg returns 404 from SonarQube itself. /images/alm/github-white.svg returns 200, so this is not a proxy or context-path issue.
    • The 26.9 zip has web/images/alm/light/gitlab.svg and web/images/alm/dark/gitlab.svg but no web/images/alm/gitlab.svg. The 25.12, 26.6 and 26.8 zips all have web/images/alm/gitlab.svg.
    • The icons were moved in sonarqube-webapp commit SONAR-31253 Fix dark mode incompatibilities (#6777) · SonarSource/sonarqube-webapp@34bdad8 · GitHub (“SONAR-31253 Fix dark mode incompatibilities”). GitLabIdentityProvider still calls .setIconPath(“/images/alm/gitlab.svg”) on the 26.10.0.132816 tag and on master. GitHubIdentityProvider calls .setIconPath(“/images/alm/github.svg”), which is missing too.
    • https://next.sonarqube.com/sonarqube/images/alm/gitlab.svg also returns 404.

Expected: the GitLab (and GitHub) logo shows on the login button, either by pointing the identity providers to /images/alm/light/.svg or by restoring the old files.