Commit Graph
283 Commits
Author SHA1 Message Date
PhilandClaude Opus 5.5 58cbdf39f7 Dawarich: back to latest, updated by dockcheck
The 1.7 -> 1.22 upgrade is done; the app gets the dockcheck label.
Redis and Postgres stay excluded in dockcheck.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:08:34 -07:00
PhilandClaude Opus 5.5 abb6dce244 Dawarich: last upgrade stop, 1.22.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:54:40 -07:00
PhilandClaude Opus 5.5 a79c9246df Dawarich: next upgrade stop, 1.18.1, and Redis 8
1.17.0 background jobs drained cleanly. 1.18.1 (skipping 1.18.0, which
needed the hotfix) converts Areas to Places and re-detects visits across
the whole history; the changes can't be rolled back, so a fresh dump was
taken first (~/backups/dawarich-1.17.0-20261109). Redis goes to 8 as in
upstream's compose since 1.18.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:43:58 -07:00
PhilandClaude Opus 5.5 70abb65d31 Dawarich 1.17.0: background jobs move into the app container
Follows the 1.17.0 upgrade notes and upstream compose: the separate
dawarich_sidekiq service is gone (removed on the host before deploying),
the app runs Sidekiq embedded (SIDEKIQ_EMBEDDED=true, WEB_CONCURRENCY=0,
BACKGROUND_PROCESSING_CONCURRENCY=2), gets stop_grace_period 60s, and the
limits match upstream (1 CPU, 4G).

Fresh dump before this step: ~/backups/dawarich-1.16.0-20261109.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:34:10 -07:00
PhilandClaude Opus 5.5 688ab62b06 Dawarich: next upgrade stop, 1.16.0
1.14.5 background jobs fully drained (checked queues, scheduled and retry
sets, and job logs). 1.16.0 is the last release with the separate sidekiq
container and merges duplicate legacy points.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:23:44 -07:00
PhilandClaude Opus 5.5 558b6d1a43 HeyForm: MongoDB 4.4 -> 7.0, back on the real data
4.4 is end-of-life. Moved by mongodump/mongorestore into a new volume
(heyform_database7); the 4.4 volume stays for rollback.

The restore also fixes a data mix-up. From Nov 2024 the compose file set
MONGO_URI='mongodb://mongo:27017/heyform' in list form, so the quotes
became part of the value and HeyForm used a database literally named
"heyform'". The v3 upgrade (a1a79af) dropped the quotes, which switched
HeyForm to the old "heyform" database from the first week of setup, so
the real Repairs and Volunteer forms (91 submissions) disappeared. The new
volume holds "heyform'" restored as "heyform". Tested first with v3 on a
throwaway Mongo 7.0: both forms load.

Backups: ~/backups/heyform-mongo4.4-20261109 on the server (dump of both
databases + tar of the 4.4 volume).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:18:33 -07:00
PhilandClaude Opus 5.5 7916b0d223 Gitea: 1.27.3 -> latest (28.x), runner: act_runner nightly -> gitea/runner
gitea/gitea:1 stopped moving in August when Gitea renumbered to 28.0, and
1.27 gets no more fixes (28.0 fixed ~20 CVEs). Track :latest so the next
renumber can't freeze it again. The act_runner image was renamed to
gitea/runner; the old one stopped updating in April. The .runner
registration file and config format carry over unchanged.

v28 starts deleting Actions runs older than 400 days; set
RUN_RETENTION_DAYS=0 to keep the history.

Checked for this instance: ROOT_URL/SSH_DOMAIN set, no ALLOWED_HOST_LIST,
no webhooks or custom templates, one pull mirror from a public host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:45:44 -07:00
PhilandClaude Opus 5.5 339c110280 Paperless back to latest; drop the HeyForm port workaround
Both earlier failures had one cause: the host still had old images cached
under the :latest tag (paperless-ngx from 2025-09, i.e. 2.x; heyform from
2025-02, i.e. v2), and the compose task only pulls missing images. So the
switch to :latest started year-old code. Pulled the real :latest images on
the host. Paperless 3.4.2 has no pending migrations on this database
(checked on a copy), and HeyForm v3.0.6 listens on 9157 as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:21:58 -07:00
PhilandClaude Opus 5.5 f6978f454a Dawarich: next upgrade stop, 1.14.5
1.10.3 migrated cleanly and its background jobs have drained. 1.14.5
fixes the registration bypass (GHSA-x483-3xv3-vp52) and runs the
1.11-1.14 track/visit recalculation and point backfill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:08:07 -07:00
PhilandClaude Opus 5.5 5262a9895c Fix HeyForm port after v3.0.6; hold Paperless at 3.4.1
- HeyForm v3.0.6 changed the default listen port from 9157 to 8000, so
  Caddy got 502s. Set APP_LISTEN_PORT=9157 explicitly.
- Paperless 3.4.2 fails its migration check on this database
  (InconsistentMigrationHistory, squashed 1022..1036). Rolled back to 3.4.1
  until that is investigated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:03:10 -07:00
PhilandClaude Opus 5.5 4550100dd1 Dawarich: pin the image tag for the step-by-step 1.7.11 -> 1.22.0 upgrade
First stop is 1.10.3 (drops the legacy lat/lon columns with the 1.10.2
lock fix). Next stops: 1.14.5 (security fix), 1.16.0, 1.17.0 (sidekiq
merged into the app), 1.18.1, 1.22.0, then back to latest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:56:51 -07:00
PhilandClaude Opus 5.5 e3d78065ab Track stable tags for Paperless and HeyForm, and let dockcheck update them
Pinned versions never got updates, because dockcheck only notices a new
image under the same tag.

- paperless-ngx: 3.4.1 -> latest (stable only; beta/dev have own tags)
- paperless redis: 7 -> 8-alpine (reads Redis 7 data as-is)
- gotenberg: 8.39.0 -> 8 (9 changed the API Paperless calls)
- tika: 3.3.1.0 -> 3.3.3.0 (no floating 3.x tag; Tika 4 breaks Paperless)
- heyform: v3.0.5 -> latest (only moved by v* release tags)
- add mag37.dockcheck.update to all of the above

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:56:47 -07:00
PhilandClaude Opus 5.5 6db2a2ad64 starpunk: v2.12.0 (remove metrics dashboard)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 16:08:11 -07:00
PhilandClaude Opus 5.5 671d33f3ea starpunk: v2.11.0 (maintenance: dependencies, Python 3.14, security fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:28:04 -07:00
PhilandClaude Opus 5.5 42ef4746e6 starpunk: v2.10.2 (reply context fetch fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:50:48 -07:00
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