Troubleshooting
Common issues and solutions.
Common Issues
No Media Found
Symptom: process-new-media finds no files
Solutions:
1. Verify download paths in .env:
-
Check files exist:
-
Check file extensions are supported:
Hardlink Fails
Symptom: OSError: Invalid cross-device link
Cause: Source and destination on different filesystems
Solution: This is expected - the system falls back to copying files.
Database Locked
Symptom: DatabaseError: database is locked
Solutions: 1. Check no other instance is running:
- Kill stale processes:
Genre Validation Failures
Symptom: Files skipped due to invalid genre
Solutions: 1. Check genre quality report:
-
Add genre to exceptions:
-
Run genre backfill:
Navidrome Connection Fails
Symptom: NavidromeClientError: connection refused
Solutions: 1. Verify Navidrome is running:
-
Check credentials in
.env: -
Test connection:
Metadata Enrichment Timeout
Symptom: Online enrichment takes too long
Solution: Increase delay between API calls:
Debug Mode
Enable verbose logging:
Reset Database
To reset the organization database:
# Backup first!
cp data/organization.json data/organization.json.backup
# Reset
rm data/organization.json
./run.sh process-new-media --dry-run
Get Help
- Check logs:
tail -f logs/organizer.log - Run tests:
./run.sh test - Open issue on GitHub