This is the end-to-end timeline of what happens to a bucket when a service is cancelled. Page-by-page details are in the Bucket Cleanup Plugin article.
Force-deleting a bucket with millions of objects can run for hours — far too long for the web request that processes a cancellation. So cancellation never deletes anything directly: it queues the bucket, and an hourly cron walks it through expiration and deletion with two approval gates and a full audit trail.
T+0 — cancellation. The service is cancelled in Blesta; the bucket is queued (Needs Lifecycle Approval). Data is untouched. If the cleanup plugin isn't installed, cancellation is refused.
Gate 1 — lifecycle approval. In Admin approval mode a staff member approves; in Automatic mode the next cron pass approves by itself.
T+~1h — lifecycle applied. The cron attaches a 1-day expiration rule to the bucket and locks it against new uploads (the cancelled client's keys still exist, so writes are explicitly denied). Objects start expiring roughly 24 hours later.
T+~26h — deletion approval. After a 25-hour wait (24h expiry + 1h buffer) the record moves to Needs Deletion Approval. Gate 2: staff approval or automatic, same as gate 1.
T+~27h — deleted. The cron force-removes the now-mostly-empty bucket and marks the record Deleted. The audit record stays forever (prunable from the UI). Impatient? Delete Now on an approved record runs the removal immediately.
In fully automatic mode the whole flow takes roughly 26–27 hours with zero clicks; in admin-approval mode it pauses indefinitely at each gate.
Reactivating the service at any point stops the machine:
Neither the cron nor Delete Now will ever remove a bucket whose service is active again.
Every failed step is recorded on the record's notes with a failure counter; after 5 failures the cron leaves the record alone until staff press Retry. A bucket that already vanished from the server counts as successfully deleted. The Orphaned Buckets page catches anything that ever falls between Blesta and the storage server, in both directions.