Developer Edition API show_license returns isExpired: true after applying new license

Hello all,

We are currently experiencing an issue where a newly applied license is not being picked up by our SonarQube instance. Even after applying the new license and performing resets, the system still registers as expired.

Environment Details:

  • SonarQube Version: v2025.4.2 (112048)

  • Edition: Developer Edition

  • Deployment: Kubernetes / Pod-based

Symptoms: When querying the api/editions/show_license endpoint, the response still reflects the old expiration state:

  • isExpired: true

  • Expiration date: "2026-05-11"

Troubleshooting Steps Taken: Our team has already exhausted the following internal steps to try and force the system to recognize the new license:

  1. Attempted to reset the license manually.

  2. Redeployed the Sonar instance completely.

  3. Performed a clean restart of the Sonar pod.

Despite these steps, the API still returns the expired status.

In the UI it shows “ACTIVE”.

Has anyone encountered a similar issue where the license state gets stuck, or are there specific cache-clearing steps or logs we should investigate to see why the new license isn’t taking effect?

Thank you in advance for your help!

Hi,

Welcome to the community and thanks for this report!

To verify: you recently received this license from your sales contact? And how have you applied it? Via the UI?

 
Thx,
Ann

Hi @Matheus_Barone, is your license formatted like XXXX-XXXX-XXXX-XXXX or does it look more like a base-64-blob type of thing? The reason I’m asking is that there are 2 types of licenses, and the type of issue you’re having could depend on this.

Regarding logs, a starting point would be to check if there are errors in the server logs right after applying the license, particularly in web.log. access.log is useful if you are doubting whether the request (POST /api/editions/set_license) actually made it to the server.