Troubleshooting¶
Common issues and solutions for Peek Stash Browser.
Installation & Setup¶
Container Won't Start¶
Check logs first:
Common causes:
- Missing required environment variables (
STASH_URL,STASH_API_KEY) - Invalid
STASH_URL(not accessible from container) - Port conflicts (6969 already in use)
- Missing volume mappings
Solution:
# Stop container
docker stop peek-stash-browser
# Remove container
docker rm peek-stash-browser
# Recreate with correct configuration
# (use your template or docker-compose)
Can't Connect to Stash¶
Test connectivity from container:
docker exec peek-stash-browser curl -X POST http://your-stash-ip:9999/graphql \
-H "Content-Type: application/json" \
-H "ApiKey: your-api-key-12345" \
-d '{
"query": "query FindTags { findTags(filter: { per_page: 1 }) { count tags { id name } } }"
}'
Solutions:
- Verify
STASH_URLis correct and accessible - Check Stash API key is valid (Settings → Security → API Key)
- Ensure Stash GraphQL endpoint is enabled
- Check firewall rules between containers
Video Playback¶
Videos Won't Play¶
- Check FFmpeg:
docker exec peek-stash-browser ffmpeg -version - Check file permissions:
docker exec peek-stash-browser ls -la /app/media - Verify path mapping: Go to Settings → Path Mappings and use "Test Path" button
- Check media is mounted:
docker exec peek-stash-browser ls /app/media - Check backend logs:
docker logs peek-stash-browser
Slow Transcoding¶
Check I/O performance:
Expected: 50+ MB/s for good performance
Solutions:
- Move media to local storage (not network share)
- Use SSD for media and temp files
- Reduce quality preset
- Allocate more CPU to container
Authentication¶
Can't Login¶
- Verify username/password
- Check if cookies are enabled in browser
- Clear browser cache and cookies
- Try incognito/private browsing mode
Session Expires Immediately¶
- Check
JWT_SECRETis set - Verify
SECURE_COOKIESmatches your setup (false for HTTP) - Clear browser cookies
- Check system clock is correct
Network & Performance¶
Slow Page Loading¶
- Check server CPU/memory usage
- Clear browser cache
- Verify network speed
- Check for console errors (F12 → Console)
Images Not Loading¶
- Check Stash is accessible
- Verify
STASH_URLis correct - Check browser console for CORS errors
- Try clearing cache
Database¶
Database Locked Error¶
# Stop container
docker stop peek-stash-browser
# Remove lock file
docker run --rm -v peek-data:/app/data busybox rm /app/data/peek-db.db-wal
# Restart container
docker start peek-stash-browser
Reset Database¶
This Deletes All Data
This will delete all users, preferences, and playlists.
docker stop peek-stash-browser
docker run --rm -v peek-data:/app/data busybox rm /app/data/peek-db.db
docker start peek-stash-browser
Logs & Debugging¶
Viewing Logs¶
# All logs
docker logs peek-stash-browser
# Follow logs (live)
docker logs -f peek-stash-browser
# Last 100 lines
docker logs --tail 100 peek-stash-browser
Enable Debug Logging¶
Add to environment variables:
Browser Console¶
Check browser console for frontend errors:
- Press F12 to open DevTools
- Click Console tab
- Look for red errors
- Copy error messages when reporting issues
Common Error Messages¶
"FFmpeg not found"¶
Solution: FFmpeg should be included in the official image. If you see this error: - Pull the latest image: docker pull carrotwaxr/peek-stash-browser:latest - Rebuild your container with the latest image
"Path not found" or path-related errors¶
Solution: Check your path mappings: 1. Go to Settings → Path Mappings in Peek 2. Click Test Path for each mapping 3. Verify paths are accessible 4. Make sure media volumes are mounted to your container
"Session not found"¶
Solution: Session expired (30 min timeout). Refresh page and try again.
"Unauthorized"¶
Solution: Token expired. Logout and login again.
Getting Help¶
Before Asking for Help¶
- Check this troubleshooting guide
- Search existing GitHub Issues
- Check browser console for errors
- Gather logs and error messages
Creating a Bug Report¶
Include:
- Peek version: Check Settings → About
- Platform: unRAID / Docker / Development
- Browser: Chrome 120 / Firefox 121 / etc.
- Stash version: Your Stash server version
- Error logs: Backend and browser console
- Steps to reproduce: Detailed steps
- Screenshots: If applicable
Where to Get Help¶
- GitHub Issues: https://github.com/carrotwaxr/peek-stash-browser/issues
- Stash Discord: #third-party-integrations channel
- Documentation: https://carrotwaxr.github.io/peek-stash-browser
Next Steps¶
- FAQ - Frequently asked questions