The December 5 Outage, the Restore, and What Changes Now
On Friday, December 5, a planned tidy-up of the servers went wrong and wiped the stored information of most services running on one of the two servers. Everything is back. This post explains what happened, what was affected, how it was recovered, and what is changing so it cannot happen the same way again.
What happened
The servers keep each service's files in a folder. The tidy-up moved every service from the old set of folders to a new set. The move itself worked, but a cleanup step that was supposed to delete the old copies deleted the live information instead — the files the services were actively using, emptied at about 3:42 PM.
This was a mistake in how the cleanup was carried out, not a hack, not a hardware failure, and not the hosting company's fault.
What was affected
On the second server (the one that hosts most services): the code hosting site, the password vault, the email server, the cloud file storage, the photo and media apps, the documentation wiki, the Minecraft game server, and about a dozen smaller tools. The first server and everything on it was not touched.
How it was recovered
Two things saved the day:
- A full backup from that morning. The servers copy themselves to an off-site backup every night. The most recent copy was from 8:45 AM on December 5, a few hours before the mistake. It had to be repaired before it could be read — the repair finished at about 5:49 PM — and then everything was restored from it, piece by piece, and checked against the backup's own records so nothing was taken on faith.
- Information the running programs were still holding. A few services had never stopped running, and the information they had open survived inside them even though the files were deleted. That surviving information was carefully copied out and used to bring those services back with nothing lost.
The code hosting site was back online at about 8:03 PM, and by about 9:36 PM every service was restored and verified working.
What came back, and what did not
Almost everything came back completely, including the password vault, the email, the cloud files, and the code hosting with every project intact.
Three honest exceptions:
- Minecraft. The game world itself was never part of the nightly backup. It was rebuilt on December 6 from an older saved copy of the world (September 30) combined with the parts of the world the running game was still holding from December. The most-used area is current to December 5; building done outside that area after September 30 is lost, and the game's add-on settings went back to their defaults.
- The documentation wiki. Its database turned out to have been damaged in a way nobody could see — the site kept loading from its own short-term memory while the database behind it was already gone. It was rebuilt on December 6 from the automatic database copy taken at 2:30 AM on December 5. The documentation had not changed in weeks, so effectively nothing was lost.
- One small website (the game-stylesheet site) had files that only existed in the wiped folder. They were regenerated from the project's source files on December 6 and the site is live again.
What the follow-up check found
On December 6 every service on both servers was checked against a simple question: if this folder vanished tomorrow, could we rebuild it — from the project files, or from the backup? For most services the answer was yes. For some it was no, including two problems that were already quietly broken:
- The nightly automatic database copies had been failing since the tidy-up, because they were still aimed at the old, deleted folder. Nothing was being copied. This is fixed and proven: every database was copied by hand on December 6 and the copies landed where they belong.
- Some photo and file collections, and a few databases, were never in the nightly backup at all. They are being added.
What changes now
- Copies in three places, with two different companies. A fast local copy, the main off-site copy moved to a storage service from a different company than the servers themselves, and a small third copy of the most critical settings kept separately. One company's problem should never be able to take the servers and their backups at the same time.
- Nothing gets deleted until its copy is proven good. The December 5 mistake chained a deletion to a copy that had not been checked. That order of operations is banned now: copy, prove the copy, then — and only then — delete.
- Everything a service needs lives in the project files or in the backup — no exceptions. The December 6 check becomes the standing rule, and the remaining gaps it found are being closed.
- The control room moves to its own small server. The sign-in service, the monitoring, and the front door that routes traffic to everything else are moving to a separate small server with a different hosting company, so they stay up and reachable even if a main server is down.
- A proper maintenance mode. During future work, affected sites will show a clear maintenance page with a link to this updates site, and only the services being worked on will be silenced in the monitoring — not everything at once.
Timeline (all times Eastern)
- Dec 5, 8:45 AM — The morning backup completes. It becomes the restore source.
- Dec 5, ~3:42 PM — The cleanup mistake empties the live folders on the second server.
- Dec 5, ~5:49 PM — The morning backup is repaired and readable.
- Dec 5, ~8:03 PM — Code hosting back online, verified.
- Dec 5, ~9:36 PM — All services restored and verified.
- Dec 6, ~3:09 PM — Minecraft world rebuilt; game server back up.
- Dec 6, ~3:16 PM — Stylesheet site regenerated and live.
- Dec 6, ~3:37 PM — Documentation wiki database rebuilt and verified.
- Dec 6, ~3:47 PM — Nightly database copies fixed and proven with a full manual run.