Install a license and move to Business
You bought a plan and received a license. This page is what to do with it: where the file goes, how to apply it to a running engine, how to read what is installed, and — if you bought a Business plan — how to swap the Community binary for the commercial one without reinstalling anything.
What you received
Section titled “What you received”| You bought | What arrives | What you do with it |
|---|---|---|
| Community | nothing to install | already running — nothing on this page applies |
| Business / Business Max, self-hosted | a license file and a download token | install the license, then swap to the enterprise binary |
| Cloud | credentials for a hosted tenant | nothing to install on a host of yours |
The license is a single signed blob. Save it as a file — customer.license, any name — and
keep the download token from the same email: they are used at different steps and only the
license is installed.
1 · Install the license
Section titled “1 · Install the license”olivares license install ./customer.license --data-dir /var/lib/olivaresThe command verifies the blob before it writes anything, against the Ed25519 public key
embedded in your build, so a truncated copy-paste fails here rather than at the next boot.
On success it writes <data-dir>/license.key with mode 0600 — the canonical at-rest
license the engine reads by default.
Pass - instead of a path to read the blob from standard input:
pbpaste | olivares license install - --data-dir /var/lib/olivaresInstalling over an existing license replaces it, atomically, and prints which one it replaced.
Apply it to a running engine — no restart
Section titled “Apply it to a running engine — no restart”A running engine picks the new license up in place. Any one of these does it:
kill -HUP "$(pidof olivares)" # signal the running processcurl -X POST .../v1/console/runtime/reload # the API half…or the console’s own reload control. Restarting also works; it is just not necessary.
Where the engine looks, in order
Section titled “Where the engine looks, in order”If you already inject the license some other way, know that the data-dir file is the lowest of four sources. The engine resolves, highest first:
--license <path>(orLicenseFilein the config file)OLIVARES_LICENSE_PATH=<path>OLIVARES_LICENSE=<blob>— the license inline in the environment<data-dir>/license.key— whatlicense installwrites
license install refuses when it can see that an override outranks the file it is about
to write: installing under one would leave a file the engine never reads, and you would see
exit 0 and no change. It says which override it found, and --force stages the file anyway —
the legitimate case being an override you are about to remove.
2 · Check what is installed
Section titled “2 · Check what is installed”olivares license status --data-dir /var/lib/olivaresstatus is offline and resolves the license by the same precedence the engine uses, so it
answers the question that matters — which license is actually in effect — rather than
“is there a file”. It reports the source it resolved, the holder, the plan and the
expiry.
Run it after every install, and after removing an override.
3 · Community → Business, in place
Section titled “3 · Community → Business, in place”With a license installed, the commercial binary is a download away. Nothing is reinstalled and no data moves:
olivares upgrade --enterprise --token <TOKEN>It fetches the signed commercial build for your platform, verifies the signature
offline — a tampered artifact aborts the upgrade with the running binary untouched — and
swaps it in atomically, keeping a backup of the previous one. --check first if you want to
see the plan without taking it:
olivares upgrade --enterprise --token <TOKEN> --checkRestart the service, and then turn the add-ons on:
olivares enterprise enable <preset> # starter | regulated | fullActivation is governed and audited: it shows you a diff first, and stages any add-on that
needs a secret or a review rather than half-enabling it. olivares enterprise status reports
what is active. These commands exist only in the commercial binary — if
olivares enterprise is not a command, you are still running the Community build and the
swap above has not happened yet.
Removing a license
Section titled “Removing a license”olivares license uninstall --data-dir /var/lib/olivares --yesIt deletes <data-dir>/license.key and reports what it removed. Like install, it refuses
while it can see an OLIVARES_LICENSE* override — the file is not what is in effect, so
removing it would change nothing — and with the same blind spot: a flag passed to a
separately running engine is invisible to it. This is the offline half of the console’s own
DELETE /v1/console/license.
Removing the license does not disable anything you were running. It withdraws the attestation; the commercial binary keeps behaving as the commercial binary until you swap it back.
What is not on this page
Section titled “What is not on this page”- Issuing licenses (
license keygen/sign) is the vendor side of the same command. You do not need it as a customer. - What each plan contains lives in the pricing pages, not here.
- How the model works — why a subscription is access to artifacts rather than a switch — is Open core and licensing.