Upgrade
Update Pathfinder on Sepolia Testnet while preserving its database.
Sepolia Testnet · Pathfinder / Docker Compose
Use the project directory from Pathfinder Node. Review release notes for migration requirements.
Open the project
Use the correct network’s configuration.
cd "$HOME/pathfinder-sepolia"Record the current image
Keep the image reference for diagnosis.
sudo docker compose imagesSelect the reviewed release
Update only the image line; preserve all network, port and volume settings.
sed -i 's|image: swmansion/pathfinder:.*|image: swmansion/pathfinder:v0.24.2|' compose.yamlPull before downtime
Fetch the selected image.
sudo docker compose pull pathfinderStop cleanly
Wait for the database to close.
Back up the stopped database
Use a new backup path and ensure there is enough free space.
Recreate the container
Compose uses the new image with the existing data directory.
Watch migration and startup
Wait for migration to finish; avoid interrupting it.
Verify sync
Confirm the node returns to the network tip.
Keep the backup until the upgrade is healthy. A database migration may make downgrading the image alone unsafe.
Attestation service
If installed, upgrade the attestation container separately. Stop it, pull the selected release, and recreate it with the same operational account and network settings from Validator & Attestation. Check confirmed attestations after restart.