Manage gets a Backup section (between World and Logs) listing the server's automatic and manual
backups. Rolling back is only allowed while the server is stopped and nothing else, such as an
automatic backup, is running on it; the server claims the busy flag atomically so the two can't race.
A run players were on is backed up first. The new world is extracted to a staging folder and checked
before the old one is deleted.
The backup that holds the world as it is now is marked Current (its button is disabled, and the
Backups page tags it). It's tracked in backups/<game>/<container>.current: set by automatic backups
and rollbacks, none while players have been on, newest automatic backup when there's no record.
Rolling back to an automatic backup can keep the Current backup as a manual one (or make one if
nothing is current), warning when that pushes out the oldest of 5 manual backups.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server kept streaming (and holding the one-test lock) after the browser stopped reading, so the
next test got a 409. The server now ends the stream at the chosen duration, the browser reads to the
end, and a new test ends any earlier stream instead of being refused. Errors show in the cell.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The test downloads random bytes from the VPS for 5 s and shows the fastest half second. It's refused
while players are connected, since it saturates the uplink.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Cards show the VPS's public IP (PUBLIC_IP, else the default route's source address) instead of the
page's hostname; clicking the address copies it. VPS resources gets stacked download/upload graphs
of the last 5 minutes, kept server side.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
FastAPI + vanilla JS app run as a Docker container behind Caddy (HTTPS by
IP). install.sh installs or updates it on a server in one command, with
preflight checks and Docker setup; deploy.sh pushes a local checkout to a
server over SSH and runs install.sh there.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>