Licence and activation
Chetty runs only while a licence bound to this installation is active, and this page explains how to activate it and what its status means.
Activate the licence
You can activate during installation, on the locked page, or in a terminal. All three bind the same key to this installation.
During installation. Run the installer and enter the key at its masked prompt, replacing
<licence-server>with the address from your provider:curl -fsSL https://<licence-server>/hooks/licensing/v1/install.sh | bashFor unattended installs, have your secret manager set
ELOWEN_LICENCE_KEYin the environment and pass the install flags throughELOWEN_INSTALL_ARGS.On the locked page. Enter the activation key and select Activate. Chetty restarts itself afterwards.
In a terminal. Run
elowen licence activate. The key comes fromELOWEN_LICENCE_KEYor from a masked prompt.
Warning: Never pass the key as a command argument or as an inline
KEY=value. Both leak into shell history and process lists.
elowen licence without arguments shows the current state: customer, expiry date, covered plugins and the grace deadline. When the licence is locked, it shows the reason and the installation ID instead.
Administrators see the same facts in Settings → System:
- Open the Licence card to read the state, expiry, covered plugin count and last server contact.
- Select Replace activation key to enter a new key.
- Select Check now to contact the licence server immediately.
What the installer checks first
The installer verifies the key before it changes anything on the machine. It reads the installation ID from an existing licence file when one is present, so a reinstall keeps its ID, and asks the licence server whether the key may be used there.
A key that is invalid, expired, revoked or already active on another server stops the install with an explanatory message while the machine is still untouched. That check never binds the key: only the activation that follows it binds the key to this machine.
Why the licence page appears
The page names the reason. Match it to the row below.
- No licence is installed. Activate with any of the ways above.
- The licence has expired. Renew it with your provider, then activate the new key.
- The licence server has been unreachable for too long. The installation ran past its 7-day grace. Restore the host's internet access: the daemon checks in on its own and unlocks within minutes when a licence is stored. Otherwise re-activate with your key.
- The licence server refused this installation. The licence was revoked or moved. Contact support.
- This licence was issued for a different server. Each licence belongs to one installation ID. Activate the key meant for this server.
- The licence on this server is not valid. A damaged licence file stops the daemon from starting, and entering a key cannot repair it. Restore the file from a backup of the same installation, or contact support for a matching record.
Warning: Never delete a damaged licence file. A fresh file carries a new installation ID, so the key bound to the old ID is refused as belonging to a different server.
Grace period and check-ins
Chetty does not need a permanent connection to the licence server. The daemon checks in roughly every 6 hours and whenever an administrator selects Check now.
Each successful check-in renews a 7-day grace period. If the server becomes unreachable, Chetty keeps running until that deadline. Restarting does not extend it, because the deadline belongs to the signed licence, not to the local clock.
- After 24 hours without contact, administrators see a Licence server unreachable warning naming the date the installation keeps running until.
- 14 days before expiry, administrators see a Licence expires soon warning.
When a check-in shows that the licence no longer covers a publisher plugin that was loaded at startup, Chetty restarts to unload it. Plugins you added yourself are not affected.
Keep the server clock accurate
The licence carries the server's signing time, which the daemon compares with the local clock. Keep the host clock in sync with NTP; differences up to 5 minutes are tolerated.
The daemon also records the latest time it has ever seen, and that record never goes back. Turning the clock back cannot revive an expired grace period. A clock that was set far ahead stays on record, so the grace period can end sooner than expected and the installation can lock even after the clock is corrected.
If an installation locks after a clock change, correct the clock and then activate or renew the licence.
Where the licence is stored
The licence file is licence.json in the instance folder: ~/.config/elowen/ by default, or the folder that ELOWEN_INSTANCE_ROOT points to. It holds the installation ID and the licence token, readable only by its owner.
Back it up and restore it together with the PostgreSQL database and the plugin-secret key plugin-secrets.key.
Warning: Each installation has its own ID. Activate a separate key on each machine instead of copying the file between them.
Problem reporting
Problem reporting is off until an administrator turns it on; the switch is the Problem reporting row under Settings → System.
While it is on, Chetty sends chosen warnings and errors to the licence-server operator. Share diagnostics with problem reporting lists what a report contains, what is removed first, and how long the operator keeps it.