Vega SillyTavern cutover: preflight and data staging #2
Labels
No labels
host:electra
host:fleet
host:lyra
host:vega
host:vega
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:declarative-purity-cleanup
project:external-review
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
service:auto-update
service:mem0
service:sillytavern
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#2
Loading…
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?
Goal
Reach a safe pre-cutover state for moving SillyTavern on
vegafrom the legacy Docker stack to the native NixOS service, while preserving a simple rollback path.This issue is intended to be self-contained and executable without referring to a local project note.
Preconditions
nixosConfig.sillytavern.enableandnixosConfig.newt.enablebuilds successfully.secrets/newt.yamlcontains realvega/envcredentials.SillyTavernroute.Data Preservation Notes
Keep
/srv/stacks/sillytavernintact during the first cutover. It is the rollback source of truth.The running container reports
/home/nimmo/stacks/sillytavernas its bind-mount source; on Vega these paths resolve to the same inode.Acceptance Checklist
sillytavern.servicebefore the first activation so native state directories can be created without starting against empty state.vegawith the SillyTavern and Newt configuration active./srv/stacks-archive/sillytavern-pre-nativefor rollback.data,extensions, andpluginsfrom/srv/stacks/sillytaverninto/var/lib/SillyTavernwithsillytavern:sillytavernownership./srv/stacks/sillytavernintact as the rollback source of truth.Procedure
Mask SillyTavern before the first activation so NixOS can create its dedicated account and state directories without allowing the service to start against empty state. Newt should start normally.
Create the rollback archive directory:
Pre-stage the large data directories while the legacy service is still running. NixOS activation should already have created the destination directories with
sillytavern:sillytavernownership.This copy is not the final consistent snapshot.
Notes
/var/lib/SillyTavern/config.yamlsymlink at this stage.