Skip to content

Updating

  1. Back up your data: snippbot reset --list-backups — or manually copy ~/.snippbot/
  2. Check the changelog for breaking changes
  3. Stop the daemon before upgrading
Terminal window
# Stop the daemon
snippbot stop
# Upgrade
pip install --upgrade snippbot
# Restart
snippbot start
Terminal window
snippbot --version
snippbot status
curl http://localhost:18781/health
snippbot doctor

Snippbot applies database migrations automatically on startup. If a migration fails:

Terminal window
# Check logs for migration errors
tail -50 ~/.snippbot/logs/daemon.log | grep -i migrat
# Restore from pre-upgrade backup if needed
snippbot reset --list-backups
snippbot reset --restore <backup-name>

If the new version has a critical bug, roll back:

Terminal window
# pip — install specific version
pip install snippbot==0.4.1
# From source — check out previous tag
git checkout v0.4.1
pip install -e packages/core packages/local packages/cli

Always restore from a pre-upgrade backup when rolling back to avoid schema mismatches:

Terminal window
snippbot stop
snippbot reset --restore pre-upgrade-<timestamp>
snippbot start