Vega SillyTavern cutover: final sync and native service start #3
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#3
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
Perform the actual cutover from the legacy Docker stack to the native NixOS SillyTavern service on
vega.This issue is intended to be self-contained and executable without referring to a local project note.
Acceptance Checklist
/srv/stacks/sillytavernso the final sync runs against quiescent data./srv/stacks-archive/sillytavern-pre-native.rsync --deletesyncs fordata,extensions, andpluginsinto/var/lib/SillyTavern./srv/stacks/sillytavern/config/config.yamlinto/var/lib/SillyTavern/config-source.yamlwithsillytavern:sillytavernownership and mode0640.sillytavern.service.sillytavern.service.newt.serviceordering and requirement relationship.Procedure
Stop the legacy stack so the archive and final native sync are quiescent:
Create the rollback snapshot without changing ownership, then perform final syncs into native state.
--deleteshould make the pre-staged directories exactly match the stopped source.Copy the legacy config to the mutable source configured by
nixosConfig.sillytavern.configFile:During activation, the upstream NixOS module manages
/var/lib/SillyTavern/config.yamlas a symlink to this file. Do not replace that managed symlink directly.Remove the temporary migration mask and start SillyTavern:
The explicit start is only part of this one-time masked migration. On subsequent boots, both services should start automatically, and
sillytavern.serviceshould be ordered after and requirenewt.service.Notes
/var/lib/SillyTavern/config.yamlsymlink directly.