Skip to content
All guides: Recover from an unwanted first claim

Recover from an unwanted first claim

There is no administrator-password reset. Remove the first claim only by deleting this deployment's server data.

You need#

  • The exact Compose project name for the affected deployment.
  • The same Compose files and environment file used to start it.
  • A new PEPPY_SETUP_TOKEN before you start again.

Step 1 Set the deployment commands#

Set the project name and Compose files. Add every overlay your deployment uses before running these commands.

PROJECT=<project>
COMPOSE=(docker compose -p "$PROJECT" --env-file .env -f docker-compose.yml)

Step 2 Inspect this deployment#

List the volumes, confirm they belong to this project, then stop and remove only this deployment's containers:

docker volume ls --filter label=com.docker.compose.project="$PROJECT"

"${COMPOSE[@]}" stop
"${COMPOSE[@]}" rm -sf

Step 3 Delete this deployment's data#

Remove only the listed data volumes:

docker volume rm \
  "${PROJECT}_postgres-data" \
  "${PROJECT}_seaweed-volume-data" \
  "${PROJECT}_seaweed-filer-data"

If the MCP overlay was used, also remove ${PROJECT}_mcp-state and ${PROJECT}_mcp-control, or re-enable MCP after recovery.

Step 4 Start and claim it privately#

Set PEPPY_SETUP_TOKEN in .env, then start the same deployment again:

"${COMPOSE[@]}" up -d

Claim the new server with the setup code from PEPPY_SETUP_TOKEN.

Good to know#

  • Root Compose uses peppy as its default project name.
  • The reset removes PostgreSQL data and both attachment-storage volumes.
  • A setup token requires at least 32 UTF-8 bytes.