License management and recovery
The License page, installing a renewed license, what happens around expiry, license problem screens, licenses issued for another installation, and installation error messages.
This guide explains how organization administrators check the AI Gateway license, install a renewed license, and recover when a license problem stops the gateway.
Issuing, renewing, and reissuing a license require the Installation ID from the License page below. For details, contact QueryPie support (ab@querypie.com).
License page
Section titled “License page”Open Organization → License in the admin console. Only organization administrators can see this page and install licenses. An organization administrator can use it even without a seat.
| Area | Contents |
|---|---|
| Installed license | A status sentence, then License ID, Licensee, Type (Commercial, Proof of concept, Community), Plan, Add-ons (only when there are any), Purchased seats, Included features, Term, Validity period and Issued |
| Installation ID | The value that identifies this installation. When you request or re-request a license, copy it with the copy button to its right and send it to QueryPie support. It is not a secret, so it is safe to share |
| Installation history | Every license installed so far, newest first. The license in force is marked In effect and the others Replaced |
| Install a license | Verify and install a license that renews or replaces the current one |
Install a renewed license
Section titled “Install a renewed license”- Click Load file at the upper right of the Install a license box and choose the
.pemfile you received. You can also paste the certificate instead: paste the whole PEM, including the-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----lines. - Click Verify. Nothing is installed at this step.
- Check the contents of the license to install, and what changes from the installed license, in the verification result. A warning appears when the licensee differs; make sure it is the right file.
- Click Install this license, or Cancel to stop.
The license takes effect immediately. There is no need to sign out or reload. With several servers, other servers can take up to 30 seconds to pick it up.
Within the same term you cannot install a license that reduces seats or features or moves the expiry date earlier. The comparison is made against every license installed for that term so far. For such a change, ask for a license issued under a new term.
Before and after expiry
Section titled “Before and after expiry”| When | On screen | Gateway |
|---|---|---|
| From 90 days before expiry | Administrators who can open the License page see the expiry date and days left. The notice appears at 90, 60 and 30 days, and Dismiss hides it until the next stage. At 30 days or fewer it becomes a warning | Works normally |
| Grace period after expiry | Every user sees the expiry date and the date use will stop | Works normally |
| After the grace period | A full page titled The license has expired replaces every page and the menus | Model Gateway and MCP Gateway calls and most management functions are refused |
The grace period depends on the license type:
- Commercial and Community licenses: 30 days from the expiry date
- Proof of concept licenses: no grace period. Use stops as soon as the license expires.
Organization administrators can still sign in after the grace period ends. On that page they can install a renewed license and review or release each member’s seat. New seats can be granted after the license is renewed. Auth provider settings also stay available, so sign-in problems can still be fixed. Other users only see a message asking them to request a renewal from an organization administrator.
After you install a license, you return to the usual page right away. Other users get the usual page back when they return to that browser tab or reload the page.
Setting the server clock back does not postpone expiry. If the server clock was set in the future by mistake and the license seems to have expired early after the clock was fixed, contact support.
License problem screens
Section titled “License problem screens”A full page replaces every console page and hides the menus, whichever page was opened. The address stays the same, and the account menu at the top still offers the manual and sign-out. Every user can click Check again or Sign out on the page. When the problem is solved, the page that was opened returns without a reload.
| Title on screen | Meaning | What to do |
|---|---|---|
| License restoration required (notice) | The installed license could not be found or verified. The gateway keeps running with the features, seats and original expiry date of the last license that was in force | Install a valid license again. Putting off recovery does not extend the expiry date |
| License restoration required (full page) | A license was registered for this installation before, but no trusted license is left. Everything except sign-in and license installation is refused | An organization administrator installs a valid license. Administrators see the License page below this message |
| License registration required (full page) | No license was ever registered for this installation | An organization administrator installs a valid license. Administrators see the License page below this message |
| The license validity period has not started (full page) | The validity period of the installed license has not started, and no earlier license is in force | Wait for the start date, or install a license whose validity period has started |
| This license is for another installation (full page) | The installed license was issued for another installation | Follow License issued for another installation |
| The installation identity cannot be confirmed (full page) | The server could not read the installation ID of this installation | Contact support |
| The license has expired (full page) | The license expired and its grace period ended | An organization administrator installs a renewed license |
| License status is temporarily unavailable | The server could not read the license status for a moment. The menus stay and only the page content is replaced | Click Check again after a while. If it keeps happening, contact support |
| Not included in the license | The current license does not include the feature. Its menus are hidden | Ask for a license that includes the feature |
License issued for another installation
Section titled “License issued for another installation”When the installed license was issued for another installation, Model Gateway and MCP Gateway calls are refused and new seats cannot be granted, even while the license is within its validity period. The console shows This license is for another installation. Organization administrators also see the License page below it with “This license belongs to another installation. Request a new license using this installation ID.” Other users only see a message to contact an administrator, without the installation ID.
Copy the Installation ID from the License page, send it to QueryPie support, and install the license they reissue for that installation ID. Installing a license issued for another installation is refused with the same message.
A fresh installation of the gateway without a database backup gets a new installation ID, and you need a license issued for the new ID. Restarting servers, upgrading, replacing servers that use the same database, and replacing the license do not change the installation ID. If The installation identity cannot be confirmed appears after restoring the database from a backup and the License page shows no installation ID, contact support.
Installation errors
Section titled “Installation errors”| Error message | What to do |
|---|---|
| This is not a license certificate | Load the .pem file you received again with Load file, or make sure you pasted the whole PEM, including the BEGIN and END lines |
| Could not read the license file | The text in the box is kept. Choose the file again, or open it in a text editor and paste its contents |
| This license is already installed | The same license is already in the installation history. Check that you have the newly issued file |
| This license was not signed by a key this version trusts / The signature of this license does not verify | The license is not for AI Gateway, or the file was altered. Ask QueryPie support again. If it keeps happening, contact support |
| This license uses a format this version does not support | The gateway needs an upgrade. Contact support |
| The contents of this license are not valid | Ask QueryPie support to reissue it |
| The validity period of this license has not started, so it cannot be installed yet | Install it on or after the start date |
| This license has already expired | Ask for a renewed license |
| A license already installed for the same term has more seats or features, or a later expiry | Ask for a license issued under a new term |
| This license belongs to another installation | Follow License issued for another installation above |
| The installed license changed while you were reviewing | Another administrator installed a license first. Check the current license shown on the page and verify again |
When you contact support, do not paste the full license certificate into an email or ticket. The license ID, the installation ID and the message on screen are enough.