Troubleshooting
This guide provides solutions for common issues you may encounter when using Cinephage.
Goal
Diagnose and resolve common problems with Cinephage.
Quick Diagnostics
Before diving into specific issues, perform these checks:
Check Application Status
-
Is Cinephage running?
docker ps | grep cinephage -
Check logs for errors:
docker compose logs -f cinephage -
Verify web interface loads:
- Open browser to
http://localhost:3000 - Check for error messages
- Open browser to
Check System Resources
- Disk Space: Ensure adequate space for database and media
- Memory: Cinephage uses 512MB-2GB RAM typically
- CPU: Normal usage is low, spikes during scans/searches
Common Issues
Cannot Access Web Interface
Symptoms: Browser shows "This site cannot be reached" or connection refused
Solutions:
-
Check if container is running:
docker compose psIf not running, start it:
docker compose up -d -
Check port mapping:
- Verify
docker-compose.yamlhas3000:3000 - Ensure port 3000 is not in use by another app
- Try changing to
3001:3000if needed
- Verify
-
Check firewall:
sudo ufw allow 3000/tcp # For UFW
sudo firewall-cmd --add-port=3000/tcp # For firewalld -
Check logs for startup errors:
docker compose logs cinephage | tail -50
Authentication Issues
Symptoms: Cannot log in, "Invalid credentials", session expired
Solutions:
-
Reset admin password:
- Access container shell:
docker exec -it cinephage sh - Reset password via database or use recovery procedure
- See logs for specific error
- Access container shell:
-
Check BETTER_AUTH_URL:
- Must match your access URL exactly
- If using reverse proxy, set to public URL
- Example:
BETTER_AUTH_URL=https://cinephage.yourdomain.com
-
Clear browser cookies:
- Try incognito/private window
- Clear cookies for your Cinephage domain
- Try different browser
-
Check ORIGIN environment variable:
- Must match your access URL
- Required for CSRF protection
Downloads Not Starting
Symptoms: Searches find releases but nothing downloads
Solutions:
-
Check download client connection:
- Go to Settings > Integrations > Download Clients
- Verify status shows "Healthy"
- Click Test to verify connection
-
Check indexer status:
- Go to Settings > Integrations > Indexers
- Verify indexers show "Healthy"
- Test failing indexers
-
Check quality profile:
- Ensure item has quality profile assigned
- Verify profile allows the found releases
- Check custom formats are not blocking
-
Check blocklist:
- Go to Activity > Blocklist
- See if releases are being blocked
- Remove from blocklist if needed
-
Check monitoring:
- Verify item is monitored (blue bookmark icon)
- Unmonitored items are not downloaded automatically
Downloads Not Importing
Symptoms: Download completes but file not in library
Solutions:
-
Check path mappings:
- Go to download client settings
- Verify path mappings are correct
- Ensure Cinephage can access download folder
-
Check file permissions:
- Verify PUID/PGID in docker-compose.yaml
- Ensure Cinephage can read download folder
- Check file ownership in downloads directory
-
Check volume mounts:
# Verify these paths exist and are correct
volumes:
- ./config:/config
- /path/to/media:/media
- /path/to/downloads:/downloads -
Check logs:
docker compose logs cinephage | grep -i import -
Manual import test:
- Go to Library > Import
- Try importing the file manually
- Check for specific error messages
TMDB API Errors
Symptoms: "TMDB API error", no search results, metadata missing
Solutions:
-
Verify API key:
- Go to Settings > General
- Check TMDB API key is entered
- Click Test to verify
-
Check API key validity:
- Visit themoviedb.org/settings/api
- Verify key is active
- Regenerate if needed
-
Check network connectivity:
docker exec -it cinephage sh
ping api.themoviedb.org -
Check rate limits:
- Free API has rate limits
- Wait a few minutes if rate limited
- Consider TMDB VIP for higher limits
Database Errors
Symptoms: "Database error", "SQLite error", data not saving
Solutions:
-
Check disk space:
df -hEnsure config volume has space
-
Check database permissions:
ls -la /path/to/config/*.dbShould be owned by PUID/PGID
-
Database corruption check:
docker exec -it cinephage sh
sqlite3 /config/cinephage.db "PRAGMA integrity_check;" -
Restore from backup:
- If database is corrupt, restore from backup
- Stop Cinephage first:
docker compose down - Restore database file
- Start Cinephage:
docker compose up -d
Slow Performance
Symptoms: Slow page loads, searches take long time
Solutions:
-
Check system resources:
- CPU usage during operations
- Available memory
- Disk I/O wait
-
Optimize database:
docker exec -it cinephage sh
sqlite3 /config/cinephage.db "VACUUM;" -
Reduce indexer count:
- Too many indexers slow searches
- Use 3-5 quality indexers
- Disable slow/broken indexers
-
Adjust worker limits:
- Edit environment variables:
environment:
- WORKER_MAX_SEARCH=2
- WORKER_MAX_SCANS=1
- Edit environment variables:
-
Check logs for slow queries:
docker compose logs cinephage | grep -i "slow"
Subtitle Download Failures
Symptoms: Subtitles not downloading or syncing
Solutions:
-
Check subtitle providers:
- Go to Settings > Integrations > Subtitle Providers
- Verify providers are enabled
- Test connections
-
Check language profile:
- Ensure media has language profile assigned
- Verify languages are configured correctly
-
Check API limits:
- Some providers have daily limits
- Wait for limit reset
- Enable more providers
-
Manual sync:
- If auto-sync fails, try manual sync
- Go to media detail > Subtitles
- Click Sync on subtitle file
Advanced Troubleshooting
Enable Debug Logging
Get more detailed logs:
-
Set environment variable:
environment:
- LOG_LEVEL=debug -
Restart Cinephage:
docker compose restart -
Check detailed logs:
docker compose logs -f cinephage
Database Inspection
Investigate database issues:
# Access database
docker exec -it cinephage sqlite3 /config/cinephage.db
# List tables
.tables
# Check table counts
SELECT COUNT(*) FROM movies;
SELECT COUNT(*) FROM series;
# Check for errors
SELECT * FROM settings WHERE key LIKE '%error%';
# Exit
.quit
Reset Specific Components
Reset tasks:
- Stop Cinephage
- Delete or rename task history in database
- Restart Cinephage
Clear cache:
- Stop Cinephage
- Clear cache directory:
rm -rf /path/to/config/cache/* - Restart Cinephage
Getting Help
If you cannot resolve the issue:
Gather Information
Before asking for help, collect:
-
Cinephage version:
- Check Settings > System
-
Docker version:
docker --version
docker compose version -
Relevant logs:
docker compose logs cinephage --tail 100 > cinephage-logs.txt -
Configuration (remove sensitive data):
cat docker-compose.yaml -
System info:
uname -a
free -h
df -h
Where to Ask
-
Discord - Join community
- Real-time chat support
- Searchable history
-
GitHub Issues - Report bugs
- Bug reports
- Feature requests
- Include logs and reproduction steps
Bug Report Template
**Description:**
Clear description of the issue
**Steps to Reproduce:**
1. Go to '...'
2. Click on '...'
3. See error
**Expected Behavior:**
What should happen
**Actual Behavior:**
What actually happens
**Logs:**
Paste relevant logs here
**Environment:**
- Cinephage version:
- Docker version:
- Host OS:
- Browser:
**Additional Context:**
Any other relevant information
Prevention
Regular Maintenance
- Check logs weekly for errors
- Monitor disk space
- Keep Cinephage updated
- Backup database regularly
Monitoring
- Watch Activity > History for patterns
- Review Settings > Logs periodically
- Monitor system resources
Best Practices
- Use stable Docker tags (not
devin production) - Keep configuration in version control
- Document custom settings
- Test changes in non-production first