Run deploy.sh: production is missing the 2.5.0 compose and env changes (Report a problem, backups) #148
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
v2.5.0 is live on ponente.app (deployed by the timer from
:latest). Two things in that batch cannot reach the server through a tag, because the auto-update timer recreates the app container from the compose file and env file the server already holds — onlydeploy/deploy.shre-syncs those (deploy/autoupdate/update.shreads$STATE_DIR/docker-compose.ymland$STATE_DIR/.env;deploy.shis what puts them there).Both need one run of
./deploy/deploy.shfrom a workstation with SSH to the host. The release job container has no route to the server, so this could not be done as part of the release.1. "Report a problem" is inert in production. It is a bullet in the 2.5.0 release notes that members will read, and the menu row hides itself when unconfigured — so members are told about a feature that is not there. It needs, in
deploy/.env:plus the
Feedback__Repository/Feedback__Tokenpassthrough thatdeploy/docker-compose.prod.ymlgained in this batch. Both settings must be present or the row stays hidden (FeedbackServicesetsConfigurationProblemon a half-configuration).2. Nothing is being backed up. The whole backup subsystem —
deploy/backup/backup.sh,restore.sh,ponente-backup@.service,ponente-backup@.timer— is new in 2.5.0 and is installed bydeploy.sh, not by the timer. Until it runs,BACKUP_ENABLED=truein.env.exampledescribes a timer that does not exist on the host. It also wantsBACKUP_PASSPHRASE, anddeploy/rclone.confifBACKUP_REMOTEis set;deploy.shrefuses to deploy on a half-configured backup, so the check is cheap.deploy/backups.mdis the runbook, and it suggests rehearsing on the dev stack first.ATPROTO_PROFILE_SCOPEneeds nothing — unset meansgranular, which is the default in code, and prod's/client-metadata.jsonalready servesatproto repo:app.bsky.actor.profile blob:image/*.Filed by Claude while working on #146 (run).