Skip to content

Repository files, collaboration, releases and project activity.

ARCHFORGE HISTORY

Blame · DEBIAN-13-INSTALL.md

Branch main · the Commit author is not necessarily a verified ArchForge account.

e59b7f7cc6archadmin2026-10-111 # Debian 13 installation — quick reference
e59b7f7cc6archadmin2026-10-112 
2109dd33b8archadmin2026-10-123 1. Create a ArchForge repository on ArchForge and push this ZIP's extracted source. Keep `.env` **out of ArchForge**.
e59b7f7cc6archadmin2026-10-114 2. Set the DNS `A` record for `status.archforge.nl` to the **second** VPS public IP; open inbound TCP 80 and 443.
e59b7f7cc6archadmin2026-10-115 3. Connect to Debian 13 VPS 2 via SSH:
e59b7f7cc6archadmin2026-10-116 
e59b7f7cc6archadmin2026-10-117 ```bash
e59b7f7cc6archadmin2026-10-118 sudo apt-get update && sudo apt-get install -y git
e59b7f7cc6archadmin2026-10-119 git clone <CLONE_URL_FROM_YOUR_ARCHFORGE_REPO> archforge-external-status
e59b7f7cc6archadmin2026-10-1110 cd archforge-external-status
e59b7f7cc6archadmin2026-10-1111 chmod +x install.sh
e59b7f7cc6archadmin2026-10-1112 sudo ./install.sh
e59b7f7cc6archadmin2026-10-1113 ```
e59b7f7cc6archadmin2026-10-1114 
e59b7f7cc6archadmin2026-10-1115 4. Follow the wizard. Specify targets, optionally add Discord and SMTP and **pair your admin authenticator** (6-digit TOTP). Real secrets are generated in `/etc/archforge-status/status.env` and not committed.
e59b7f7cc6archadmin2026-10-1116 5. Test `https://status.archforge.nl`, `https://status.archforge.nl/admin/login`, and `sudo systemctl status archforge-status`.
e59b7f7cc6archadmin2026-10-1117 6. Make controlled test requests and verify you receive independent outage and recovery notifications before relying on the service.
2109dd33b8archadmin2026-10-1218 7. Future releases: run `./update.sh` **as the ArchForge checkout owner**. `./backup.sh`, `./rollback.sh` and `./restore.sh` are provided.
e59b7f7cc6archadmin2026-10-1119 
e59b7f7cc6archadmin2026-10-1120 **Troubleshooting:** `sudo journalctl -u archforge-status -n 80 --no-pager`; `sudo journalctl -u caddy -n 80 --no-pager`; `curl -fsS http://127.0.0.1:3000/healthz`.
e59b7f7cc6archadmin2026-10-1121 
e59b7f7cc6archadmin2026-10-1122 **Offline main website?** The already-installed status server still works. `git pull` cannot fetch from the down main website until it returns, but monitoring is not interrupted.
e59b7f7cc6archadmin2026-10-1123 
e59b7f7cc6archadmin2026-10-1124 Full documentation: `README.md`.
f1897d33c0archadmin2026-10-1125 
f1897d33c0archadmin2026-10-1126 
f1897d33c0archadmin2026-10-1127 ## If the admin installer stops after entering your username (v1.0.0)
f1897d33c0archadmin2026-10-1128 
2109dd33b8archadmin2026-10-1229 Update your ArchForge checkout with version 1.0.1, then run from the checkout on Debian 13:
f1897d33c0archadmin2026-10-1130 
f1897d33c0archadmin2026-10-1131 ```bash
f1897d33c0archadmin2026-10-1132 # As root
f1897d33c0archadmin2026-10-1133 bash ./recover-admin.sh
f1897d33c0archadmin2026-10-1134 # Or use sudo bash ./recover-admin.sh from an ordinary user.
f1897d33c0archadmin2026-10-1135 ```
f1897d33c0archadmin2026-10-1136 
f1897d33c0archadmin2026-10-1137 The repair script updates the installed `src/cli.js` and resumes only the admin wizard. It does not delete or modify the existing configuration, SQLite database, or active statusserver. Password text is deliberately not shown while typing, then press Enter; use an authenticator app for the TOTP secret and enter the current six-digit code. See `HOTFIX-ADMIN-1.0.1.md`.
b8619f148earchadmin2026-10-1138 
b8619f148earchadmin2026-10-1139 ## Bestaande installatie: domein/SSL opnieuw instellen (v1.0.2)
b8619f148earchadmin2026-10-1140 
2109dd33b8archadmin2026-10-1241 Na het pushen naar ArchForge: `git pull --ff-only`, daarna `sudo bash ./configure-domain.sh` op Debian VPS 2. Hiervoor hoef je niets te verwijderen of opnieuw te installeren. De wizard vraagt de hostnaam, het publieke VPS 2 IP en optioneel een ACME e-mailadres. Hij controleert DNS, valideert Caddy en rapporteert of de HTTPS-certificaatcontrole echt is geslaagd. Zie `DOMAIN-SSL-DEBIAN-13.md`.