name: nuke description: Kill a running agent container on the NAS by Telegram group JID. The orchestrator respawns a fresh container on the next message. Does NOT delete registration or group folder. Use when a container is stuck, stale, or needs a fresh start.
Nuke Container
Kills the running container for a group. Fresh container spawns on the next message.
Usage
./scripts/nuke-container.sh <chat-jid>
The script:
- Looks up the group folder from the database by JID
- Converts the folder name to the container naming convention (underscores → hyphens)
- Finds and kills the matching container on the NAS
What nuke does NOT do
- Does NOT delete the group registration from the database
- Does NOT delete the group folder or its contents
- Does NOT unregister the group
If no container is running, the script exits cleanly.
Finding the JID
If the user provides a group name instead of a JID, look it up:
ssh -n "$NAS_HOST" "sqlite3 $NAS_PROJECT_DIR/store/messages.db \"SELECT jid, name FROM registered_groups;\""