Upgrading Peek¶
Most upgrades are automatic - just pull the latest image and restart. This page covers backup procedures and version-specific notes.
Standard Update Procedure¶
See Installation - Update Procedure for step-by-step instructions on updating your container.
Backup Procedure¶
Before major upgrades, back up your database. Your Peek database is a single SQLite file.
- Navigate to your Peek appdata folder (typically
/mnt/user/appdata/peek-stash-browser/) - Copy
peek-stash-browser.dbto a safe location - Also copy
peek-stash-browser.db-walandpeek-stash-browser.db-shmif they exist
Hot Backup (While Running)
If you can't stop the container:
Restore from Backup¶
# Stop Peek
docker stop peek-stash-browser
# Replace database with backup
# (adjust paths for your setup)
cp ./peek-stash-browser.db.backup /path/to/data/peek-stash-browser.db
# Restart
docker start peek-stash-browser
Version Notes¶
Version 3.1.0¶
Migration: Automatic. No user action required.
- New
UserExcludedEntitytable for pre-computed exclusions - New indexes on image junction tables
- A full sync is triggered automatically to populate inherited tags on scenes
Version 3.0.0¶
Migration: Automatic. No user action required.
Major architectural change: Stash entity data is now stored in SQLite instead of memory.
- Scalability: Support for 100k+ scenes
- Performance: Sub-100ms query times
- Persistence: Library data survives restarts
The initial sync after upgrading may take several minutes depending on library size.
Upgrading from 3.0.0 Beta
If upgrading from any v3.0.0-beta.x, run a Full Sync (Settings → Server Settings → Sync from Stash) to ensure all fields are populated.
Version 2.0.0¶
Migration: Automatic. No user action required.
- Removed local FFmpeg transcoding - videos now stream directly through Stash
- Removed path mapping configuration
- STASH_URL and STASH_API_KEY environment variables auto-migrate to database
Version 1.x to 2.x¶
Migration: Automatic. Schema updates are applied automatically on first start.
Troubleshooting Upgrades¶
Library empty after upgrade¶
The sync should start automatically. If empty after several minutes: 1. Check logs: docker logs peek-stash-browser 2. Manually trigger sync: Settings → Server Settings → Sync from Stash
Migration failed¶
Check logs for the specific error:
Common causes: - Disk full: Free up space and restart - Permission denied: Check volume mount permissions
Sync is slow¶
The first sync after a major upgrade fetches all data from Stash. Subsequent syncs are incremental and much faster.
Reporting Issues¶
Found an upgrade bug? Report it:
Include: Peek version, Stash version, library size, and relevant logs.