Skip to main content

Server expiry

Give servers an end date — for trial accounts, test servers, courses or short projects. Expiry is opt-in: only customers or servers you configure are affected; everyone else works exactly as before.

Expired server and expiry dates in the admin list

Where you set it​

ForWhereOptions
A customerCustomers → Limits → ExpiryAfter a number of days (each new server gets its own date, e.g. 14 days after creation) or On a date (all their servers end then, also the ones you assigned)
A single serverServers → clock buttonset a date, +7 / +30 days, or No expiry

Changing a customer's rule: a fixed date applies to all their servers right away (except dates you set by hand on a server); Never removes rule-based dates; After a number of days applies to servers created from then on. Reassigning a server to another customer resets its expiry to the new customer's rule.

Tick Customer may extend each server once to let customers extend by themselves (by the self-extension days in Settings).

What happens​

StageWhen (default)What happens
Activeuntil the expiry dateCustomers see Expires in N days in the list and a banner on the server page
Reminders7 and 1 days beforeEmail to the customer (a reminder is skipped if the server didn't exist that long before, e.g. no "7 days" mail for a 3-day server)
Expiredat the expiry dateThe server is stopped; the customer can't start, resize or reinstall it. Email with the deletion date
Grace period14 daysData is kept. You (or the customer, if allowed) can extend with one click — the server becomes usable again
Last notice1 day before deletionEmail to the customer
Deletedafter the grace periodServer, disks and snapshots are deleted; final email

Safety rules​

  • Only servers the customer created are deleted automatically. Servers you assigned are only stopped at expiry; they stay until you decide (Expired · your decision in the list).
  • No deletion without a warning: if the customer couldn't be emailed (email not set up), the server stays stopped and is listed in the summary instead.
  • Pause deletions (Settings → Server expiry): expired servers are only stopped until you switch it off — e.g. during maintenance.
  • Every step is stored per server, so a panel restart never repeats an email or skips a step.
  • Everything appears in the Activity log.

Settings​

Settings → Server expiry:

SettingDefault
Reminders (days before)7, 1
Grace period14 days (0 = delete right at expiry)
Self-extension14 days
Pause deletionsoff
Daily summary to administratorson — only on days when something happened or expires within a week

Check now runs the check immediately and shows what it did. It also runs by itself every 5 minutes; EXPIRY_CHECK_SECONDS in .env changes that, and 0 switches automatic runs off (then only Check now acts).

Reminders and notices need email to be set up.