Commit Graph
268 Commits
Author SHA1 Message Date
PhilandClaude Opus 5.5 09602f82f3 starpunk: v2.10.1 (WebSub hardening), TRUSTED_PROXY=true
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 11:32:13 -07:00
PhilandClaude Opus 5.5 9cfbdf2ca7 starpunk: v2.10.0 (WebSub with a built-in hub)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:41:59 -07:00
PhilandClaude Opus 5.5 83eec48d65 starpunk: v2.9.0 (Micropub review fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:21:05 -07:00
PhilandClaude Opus 5.5 5b65a3afe9 starpunk: v2.8.1 (migration lock fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:06:59 -07:00
PhilandClaude Opus 5.5 b1d3525a02 starpunk: v2.8.0 (microformats2 review fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:46:55 -07:00
PhilandClaude Opus 5.5 55d009731b starpunk: v2.7.2 (webmention DNS pinning, re-send on response changes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:12:31 -07:00
PhilandClaude Opus 5.5 4990d3ce47 gotosocial: only Pocket ID group 'gotosocial' may log in
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:09:58 -07:00
PhilandClaude Opus 5.5 2e31e9a90a gotosocial: remote post cleanup (90 days), languages, search indexing, Mastodon version for apps, email sender name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:08:10 -07:00
PhilandClaude Opus 5.5 6bbca9b237 starpunk: v2.7.0 (W3C Webmention compliance)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:07:54 -07:00
PhilandClaude Opus 5.5 c30c8e42d0 gotosocial: drop invalid GTS_HTTP_CLIENT and empty Let's Encrypt email, set landing page user
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:01:37 -07:00
PhilandClaude Opus 5.5 41b27177bd starpunk: v2.6.9 (webmention processing fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:53:54 -07:00
PhilandClaude Opus 5.5 49409f6828 starpunk: v2.6.8 (webmention worker fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:41:57 -07:00
PhilandClaude Opus 5.5 183d105594 Stack permissions: gokapi dir readable by docker group, drop paperless leftover .env
dockcheck runs as phil (docker group) and couldn't read
/opt/stacks/gokapi (0700 root), so the labelled gokapi container could
never be auto-updated. Paperless's root-only .env (2024 leftover, unused,
same values as docker-compose.env) made docker compose fail for phil.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:41:51 -07:00
PhilandClaude Opus 5.5 bfb712703b cron: link regctl beside dockcheck.sh for runs without ~/.local/bin on PATH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:32:20 -07:00
PhilandClaude Opus 5.5 62cdf879f5 cron: dockcheck updates itself, and notifies for every container
- Install dockcheck as a git clone in ~/.local/share/dockcheck with
  AutoSelfUpdate (git pull also updates notify templates and urls.list);
  no pinned versions. regctl is refreshed weekly by run_dockcheck.sh.
- Since dockcheck ~v0.7, OnlyLabel skips unlabelled containers entirely, so
  they got no update notices. run_dockcheck.sh now runs twice: update
  labelled containers quietly, then check everything and notify once.
- Running dockcheck.sh by hand now checks everything and changes nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:30:32 -07:00
PhilandClaude Opus 5.5 a5cdfded37 cron: refresh dockcheck setup
- Pin dockcheck (v0.8.3) and regctl (v0.11.7) and re-download on version
  bumps; get_url never replaced existing files, and dockcheck never updates
  regctl itself (server had regctl v0.8.3 from June 2025)
- New options: DaysOld=3, BackupForDays=7 (rollback), MaxAsync=10,
  MonoMode for the log, PrintReleaseURL with upstream urls.list
- Drop authentik-postgresql-1 from Exclude (container is gone)
- Wrapper logged exit code 0 always ($? read after $(date)); fixed
- Rotate /var/log/dockcheck/dockcheck.log weekly
- Remove stale ~/.local/bin/notify_v2.sh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:24:43 -07:00
Phil b914460b72 starpunk: v2.6.7 (admin pages line up) 2026-11-03 07:17:58 -07:00
PhilandClaude Opus 5.5 8ab9d0888e starpunk: v2.6.6 (photo posts, failed creates, replies, embedded images crosspost)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:18:05 -07:00
PhilandClaude Opus 5.5 f5b91276d5 starpunk: v2.6.4 (tags keep entered order)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 08:59:21 -07:00
PhilandClaude Opus 5.5 7206455220 starpunk: v2.6.3 (link cards show the note's own link)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 08:12:28 -07:00
PhilandClaude Opus 5.5 71d419b97d starpunk: v2.6.2 (Threads link preview fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:38:03 -06:00
PhilandClaude Opus 5.5 fa29cf5e08 starpunk: v2.6.1 (retry Threads publish errors)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:18:21 -06:00
PhilandClaude Opus 5.5 f1736343cf starpunk: v2.6.0 (Threads crossposting)
Pass the Threads token (vault_starpunk.threads_access_token, Meta app
"starpunk") and username philskents. StarPunk refreshes the token daily
and keeps the current one in /data/threads_token.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:59:13 -06:00
PhilandClaude Opus 5.5 95020e754a starpunk: v2.5.0 (likes and reposts)
GoToSocial token rotated with read:search and write:favourites.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:18:43 -06:00
PhilandClaude Opus 5.5 654a613113 starpunk: v2.4.0 (Micropub update, delete, drafts, replies)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:53:55 -06:00
Phil f1b9604f3b starpunk: v2.3.3 (Micropub titles, q=source URL, single title display) 2026-10-31 19:39:36 -06:00
PhilandClaude Opus 5.5 750d4dacad Record the Debian 13 upgrade and turn off the VSOCK SSH generator
The server now runs Debian 13.7. systemd 257's ssh generator logs a
harmless AF_VSOCK error on netcup VMs, so the common role masks it.
The plan file now records how the upgrade went and what's left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:07:31 -06:00
PhilandClaude Opus 5.5 abf9760bfd starpunk: v2.3.2 (Log in / Admin link in header)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:57:14 -06:00
PhilandClaude Opus 5.5 e39fba3972 starpunk: v2.3.0 (public page style pass)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:43:30 -06:00
PhilandClaude Opus 5.5 2acf307ac0 Add Docker's apt repo with a signed-by key, ready for Debian 13
Debian 13 drops apt-key and software-properties-common, so the old tasks
would fail after the upgrade. The key now lives in /etc/apt/keyrings
(same fingerprint, 9DC8...CD88), the repo is a deb822 file whose release
name follows the installed Debian, and the old .list file is removed.
The apt tasks get a docker_apt tag so they can be deployed on their own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:52:02 -06:00
PhilandClaude Opus 5.5 5f1d7635e9 starpunk: v2.2.0 with Bluesky crossposting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:49:43 -06:00
PhilandClaude Opus 5.5 d1770a87e5 Let Caddy's HSTS header replace the one HeyForm sends
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:49:15 -06:00
PhilandClaude Opus 5.5 9b4df20080 Draft the Debian 13 upgrade plan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:47:22 -06:00
PhilandClaude Opus 5.5 cab61b78e7 Send HSTS on every Caddy site
Browsers will use HTTPS for each site for a year. includeSubDomains is
left off so hosts not served by this Caddy are unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:47:21 -06:00
PhilandClaude Opus 5.5 a1a79af7d5 Upgrade HeyForm from v0.1.0 to v3.0.5
v0.1.0 (Feb 2025) has dozens of published security advisories fixed in
v3. Tested against a copy of the database first; forms load unchanged.

v3 listens on 9157, keeps uploads under packages/server, and uses Redis 8
commands, so KeyDB is replaced by redis:8-alpine. The homepage URL is now
https (v3's CORS allowlist is built from it), Caddy is the trusted proxy,
public sign-up is off, and integration credentials get their own key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:50:57 -06:00
PhilandClaude Opus 5.5 394f111162 Turn on StarPunk crossposting to GoToSocial (v2.1.0)
StarPunk 2.1.0 copies new notes to GoToSocial and keeps edits and
deletes in step. Token for the app "StarPunk crossposting" (scopes
write:statuses write:media) is in vault_starpunk.gotosocial_token; the
container reaches social. through Caddy (hairpin).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:46:56 -06:00
PhilandClaude Opus 5.5 0f66326555 Pin Tika to the version Paperless 3.4.1 ships with
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:40:04 -06:00
PhilandClaude Opus 5.5 e68a329eeb Update Paperless-ngx to 3.4.1
2.20.15 has run its migrations, so this is the supported jump to v3.
Search moves to Tantivy and is rebuilt on first start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:37:37 -06:00
PhilandClaude Opus 5.5 fba5520cda Pin Paperless-ngx to 2.20.15 on the way to v3
v3 can only be reached from 2.20.15, so stop tracking :latest. Also set
the two settings v3 needs from us: trust Caddy as the proxy (v3's login
rate limiting), and keep rejecting duplicate documents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:34:52 -06:00
PhilandClaude Opus 5.5 68a1622665 Deploy StarPunk from its CI-built image
StarPunk's Gitea Actions workflow now builds and pushes the image on
vX.Y.Z tags. Pin the tag in starpunk_version (v2.0.2, the first CI build)
and always pull it, so an image built by hand on the server with the
same name can't be deployed instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:24:08 -06:00
PhilandClaude Opus 5.5 85bd6abc22 Update Karakeep's browser and search, and Gotenberg
Karakeep's Chrome was alpine-chrome 123 (April 2024) and it opens every
bookmarked URL; it now uses Karakeep's own Chrome image like upstream.
Meilisearch goes from 1.13.3 to 1.41.0 with a dumpless in-place upgrade.
Gotenberg for Paperless goes from 8.7 to 8.39.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:23:52 -06:00
PhilandClaude Opus 5.5 2d5abde71b Update StarPunk to v2.0.1
Fixes http:// feed and permalink URLs behind Caddy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:18:39 -06:00
PhilandClaude Opus 5.5 dff614b481 Turn off SSH password and root login
sshd accepted passwords from the internet (about 12,000 failed logins a
day) and root logins with a key. Keys only now, no root, no X11 forwarding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:17:45 -06:00
PhilandClaude Opus 5.5 f8197418d3 Remove the last Gondulf references
The gondulf DNS record is deleted (checked against public DNS), so its
removed_records entry is no longer needed. vault_gondulf was also removed
from the vault.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:06:35 -06:00
PhilandClaude Opus 5.5 a6592d3ad0 Take the Docker socket away from the Gitea runner
Jobs run inside the runner container (label docker:host), and with the
host's Docker socket mounted every workflow had root on the server. The
socket was only there for StarPunk's image build, which has never worked
(it logged in to gitea:3000, which the host daemon can't resolve).

Image builds now go to a rootless BuildKit container that shares only a
unix socket with the runner. Site builds keep their /sites mount.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 12:01:06 -06:00
PhilandClaude Opus 5.5 6dfb58d3f1 Retire Gondulf and move StarPunk to v2.0.0 with Pocket ID login
StarPunk 2.0.0 logs in with Pocket ID and issues its own Micropub tokens
(ADR-064 in the StarPunk repo), so the Gondulf IndieAuth server is no
longer used. Removes its task, templates, Caddy route, subdomain and
service entry, and moves its DNS record to removed_records.

The StarPunk template was still on v1.6.0-rc.2 with Gondulf hairpin
hosts; deploying it would have broken login. It now matches production:
v2.0.0, Pocket ID hairpin, OIDC client from vault_starpunk.pocketid and
the admin sub in starpunk_admin_sub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 11:52:07 -06:00
PhilandClaude Opus 5.5 a08402f0ac Close Karakeep signups and turn on unattended security updates
Karakeep had DISABLE_SIGNUPS unset, so anyone could make an account on
bookmarks. and use the OpenAI key behind it. The server also had no
automatic updates and three security updates waiting; the common role now
installs unattended-upgrades with Debian's default security-only origins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 11:47:45 -06:00
PhilandClaude Opus 5.5 0c14ee5b1d Bring the docs up to date with the running stack
The READMEs, CLAUDE.md and todo.md still described Authentik, services
removed long ago (Ghost, MMDL, Postiz, Pinchflat...) and two servers. Now
they list the 24 services actually deployed (checked against docker ps),
explain that netcup and docker-01 are one machine, document Gondulf,
StarPunk, Listmonk, Gokapi and dockcheck, and use bin/deploy throughout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 11:30:50 -06:00
PhilandClaude Opus 5.5 0282debf07 Run Gokapi's first-run password step as a blocking command
--deployment-password sets the password and exits, so the detached run
plus health wait never saw a healthy container.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 10:13:22 -06:00
PhilandClaude Opus 5.5 7a68fdf96f Wait for Gokapi's healthcheck on first run
The 'Gokapi started' log line is not always flushed to log.txt, so the
first-run wait timed out even though the super admin had been created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 10:09:14 -06:00