files: nextcloud-admin + nextcloud-db clan-vars generators exist (drive-arc T3) #360
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#360
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?
Slice T3 of the Nextcloud-provision drive arc —
docs/superpowers/specs/2026-08-09-nextcloud-provision-e2e-design.md(commitc72bff1)files.nixpoints at/run/secrets/nextcloud-admin//run/secrets/nextcloud-dbbut no clan-vars generator renders them anywhere —nextcloud-setup.servicefails atadminpassFileon any real deploy.Build
clan.core.vars.generatorsfornextcloud-adminandnextcloud-dbin the files render (thekanidm-tls/kanidm-adminspattern invmguest.go:116-146is the model).pkgs.nextcloud30still exists against the community flake's pinned nixpkgs (clan-core pin,seedcommunity.go— NOT this repo's lock); if not, bumpdefaultNextcloudPackage.Accept
nextcloud-setupcompletes.Done in
ccc94f6(onorigin/main).Generators. The files render now declares
clan.core.vars.generators.nextcloud-admin+nextcloud-dbbeside their consumer (thekanidm-tls/kanidm-adminspattern,vmguest.go) — each anopenssl rand -base64secret owned by thenextclouduser (nextcloud-setup reads it as that user; sops-age keeps the value out of the store). The daemonsadminpassFile/dbpassFilenow read those generatorsrendered.pathdirectly (unquoted Nix paths) instead of the/run/secrets/nextcloud-*literals nothing rendered — so the secret nextcloud-setup reads is exactly the one this module renders and can never drift (single home, ADR 0062). The vestigial literal-path plumbing (FilesConfig/FilesLiveSetAdminPassFile/DBPassFile, theNextcloudAdminPassPath/NextcloudDBPassPathconstants, the deploy wiring) is retired.T3 sanity check — real bump.
nix evalagainst the community flakes pinned nixpkgs (clan-cores 26.11pre lock, rev173d0ad7) showspkgs.nextcloud30is GONE andnextcloud31is an EOL throw; onlynextcloud32(32.0.11) survives.defaultNextcloudPackagebumped 30 → nextcloud32. Fresh provision (T3), so no cross-major upgrade path to honour.Seam tests.
files_test.goasserts both generators render (owner=nextcloud, openssl) and the daemon reads their.path;files_attach_test/deploy_testupdated for the retired fields.go build ./... && go vet && go test ./internal/clan ./internal/provisionall green; full pre-pushgo-cigate green. Live proof rides the arc`s drive (T6).2026.09.3016), not the 40-character commit hash — Settings and every Updates screen, short hash beside it #1982ben referenced this issue2026-09-29 00:51:36 +00:00
2026.09.3016, the short hash beside it (Ben, #1982, DDR 0290) #19832026.09.3016, the short hash beside it (Ben, #1982, DDR 0290) #19832026.09.3016), not the 40-character commit hash — Settings and every Updates screen, short hash beside it #1982