How licensing works
A self-hosted JoobQUI server runs on your machines, with your data. Its licence lives somewhere else: the JoobQ portal, app.joobq.io. This section is about the link between the two: who can use the portal, how a server registers with it, and how to manage what is registered.
The two sides
Only the server talks to the portal, and only outbound. The portal never connects to your network, your Redis or your workers, and no job data leaves your side.
The words
| Word | Means |
|---|---|
| Organization | Your company's account on the portal. People are its members; it holds one licence. |
| Licence | What the organization bought: a tier, a number of seats, a number of server slots, and a date it is paid until. |
| Server (or deployment) | One self-hosted JoobQUI, named by its public address. Registering it takes one of the licence's slots. |
| Instance | One running copy of a server. Replicas that share the server's data volume are instances of one server and take one slot. |
| Check-in | Every 15 minutes the server tells the portal it is alive and gets its licence renewed. |
| JoobQ Pro key | A second, short-lived key that turns on the Pro features. A licensed server gets it with its check-in. |
There is no licence key to copy or paste anywhere. A server asks to be registered, an admin of the organization says yes on the portal, and the server fetches its licence itself.
What each side keeps
| The portal | Your server | |
|---|---|---|
| Members of the organization | Yes | No: it asks the portal when someone chooses Sign in with JoobQ |
| The licence and its payment | Yes | A signed copy, renewed at each check-in |
| The list of your servers | Yes | Only itself |
| Local accounts, API tokens, the audit log of your console | No | Yes |
| Queues, jobs, workflows, payloads | No | Yes |
What a check-in carries
The server sends its address, its version, how many active accounts it has, an id for the running instance, a worker count and a list of the Pro features in use (the last two are sent empty today), signed with a key that never leaves its data volume. Nothing else is sent. The portal answers with a renewed licence and, when the licence includes it, a JoobQ Pro key.
What happens when things go wrong
| State | The console and its API | Workers and the SDK gateway | Pro features |
|---|---|---|---|
| Connected | Work | Work | On, with a Pro key |
| Offline (the portal cannot be reached) | Work for up to 7 days after the last check-in | Work | On while the last Pro key lasts, then as the next table says |
| Lapsed (unpaid or expired) | Answer 402 paid_license_required | Keep working | On while the last Pro key lasts, then as the next table says |
| Disabled | Answer 402 paid_license_required | Keep working | Off: the server drops its Pro key at once |
So a lapsed licence never stops your jobs: it locks the console until the licence is renewed.
A server whose key is no longer renewed, because it is offline or its licence lapsed, keeps the last Pro key it received, and that key runs out by itself:
| The last Pro key | When | Pro features |
|---|---|---|
| Valid | Up to 8 days after it was issued | On |
| In its grace | A paid key, for 7 days after it expires. A trial key has no grace | On. Each start logs a warning with the date the grace ends |
| Lapsed | After the grace | Work already accepted finishes; new Pro work answers 402 pro_required |
What a lapsed key still allows is listed in When a key expires.