The licence
APIGit Enterprise Server is licensed per user, for a period. The licence is one text file, signed by APIGit. The server checks the signature itself; it never contacts APIGit.
What a licence holds
| Field | Meaning |
|---|---|
| Company | The licensee |
| Seats | How many users may be able to sign in at the same time |
| Expiry | The last day the licence is valid |
| Licence id | The reference to quote to APIGit |
Every licence gives the whole server the same feature set; only the seat count and the date limit it.
Installing and renewing
A site administrator opens Licence in the account menu, pastes the file’s contents (or chooses the file) and saves. A renewal is installed the same way and takes effect at once; nothing is restarted. A file that does not verify is refused and the installed licence stays.
A licence can also be put in place before the first start, as the file apigit/license.key in the backend’s data
volume (/data/gitea/apigit/license.key inside the backend container).
Seats
A seat is held by every user account that can sign in: active and not barred from signing in. Organizations hold no seat.
- When every seat is taken, creating or activating another user is refused with a message that names the seat count. Existing users are not affected.
- Deactivating a user, or barring them from sign-in, frees the seat at once.
- If a renewal has fewer seats than there are users, nobody is locked out; the administrators see a notice, and no user can be added until the count is back under the limit.
Expiry
| When | What happens |
|---|---|
| From 30 days before the expiry date | Administrators see a notice with the date |
| For 14 days after the expiry date | Everything keeps working; every user sees the date the server becomes read-only |
| After those 14 days | The server is read-only: signing in, browsing, reading published documents, cloning and fetching work; saving, publishing and pushing are refused with a message that says why |
Nothing is deleted or hidden when a licence expires, and installing a new licence ends the read-only state immediately.
Without a licence
A server with no licence, or with a file that cannot be verified, runs with the limits of the Free plan. The Licence page says which of the two it is, and why a file was not accepted.