mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-11-30 17:07:49 +00:00
Three things stood between a member and `git push` over SSH to git.profullstack.com, all in setup.sh §9d: - app.ini is written once and never set BUILTIN_SSH_SERVER_USER, so the built-in server only accepted user "forgejo" and refused git@ with "Invalid SSH username git". The template now sets it, and every run converges the SSH keys of [server] in the EXISTING app.ini (with a numbered app.bak-NNN.ini backup the first time), so the live box gets it. - The Forgejo upgrade curl'd straight onto /usr/local/bin/forgejo while it ran, which fails with ETXTBSY. Every deploy logged "forgejo download failed" and prod stayed on 11.0.1 against an 11.0.15 pin. Download to forgejo.new, check --version, then rename (same as deploy/git-chovy). - `ufw allow 2222/tcp ... || true` hid any failure. It now warns, and the run logs whether :2222 is listening (ss) and the ufw rule, because the box has no shell and the deploy log is the only place to see it. The deploy workflow gains a report-only step that probes 2222, 563 and 6697 from the runner. A DigitalOcean Cloud Firewall drops what it does not list even when ufw allows it (docs/irc.md already notes this for 6697), and only an outside probe can see that layer. The closing reminder in setup.sh now lists every public port the cloud firewall needs. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| deploy.yml | ||
| mailu-update.yml | ||
| test.yml | ||
| threatcrush-scan.yml | ||