Troubleshooting
Common issues and solutions for Riven TS.
VFS / Mount Issues
Mount point not visible on host
Symptom: Files appear inside the container but /mnt/riven is empty on the host.
Fix: Ensure mount propagation is set up correctly:
- Check the systemd service is running:
sudo systemctl status riven-mount.service- Verify propagation:
findmnt -o TARGET,PROPAGATION /mnt/riven
# Must show "shared"- Ensure the Docker volume mount uses
rshared:
volumes:
- /mnt/riven:/mnt/riven:rshared,z"Transport endpoint is not connected"
Symptom: Accessing /mnt/riven gives a "Transport endpoint is not connected" error.
Fix: The FUSE mount was interrupted. Restart the container:
docker compose restart rivenIf that doesn't work, manually unmount and restart:
sudo fusermount -uz /mnt/riven
docker compose restart rivenPermission denied on /dev/fuse
Ensure the container has the required capabilities:
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined
devices:
- /dev/fuseDatabase Issues
Connection refused to PostgreSQL
Check that PostgreSQL is healthy before Riven starts:
depends_on:
postgres:
condition: service_healthyVerify the connection URL matches your PostgreSQL credentials:
RIVEN_SETTING__databaseUrl="postgres+psycopg2://user:password@postgres:5432/riven"Migration errors
Riven runs migrations automatically on startup. If a migration fails:
- Check the logs:
docker compose logs riven - Ensure you're running the latest version:
docker compose pull - If the database is corrupted, you may need to reset it (data loss):
docker compose down -v # Removes volumes!
docker compose up -dPlugin Issues
Plugin not starting
Check the logs for validation errors:
docker compose logs riven | grep -i pluginCommon causes:
- Missing API key environment variable
- Invalid API key (expired or wrong permissions)
- Target service is unreachable from the container
"API token is not set"
The plugin's environment variable is not set or empty. Check your .env file:
# Correct format
RIVEN_PLUGIN_SETTING__REPO_PLUGIN_TMDB__apiKey="your-key"
# Common mistakes:
# Missing quotes around values with special characters
# Extra spaces around the = sign
# Wrong plugin name (case-sensitive)Redis Issues
Redis connection refused
Ensure Redis is running and healthy:
docker compose ps redis
docker compose logs redisCheck the Redis URL:
RIVEN_SETTING__redisUrl="redis://redis:6379"Media Server Issues
Plex/Jellyfin doesn't see new files
- Verify VFS is mounted:
ls /mnt/rivenshould show files - Check the media server volume mount uses
rslave:
volumes:
- /mnt/riven:/mnt/riven:rslave,z- Trigger a library scan in your media server
- If using Plex plugin, ensure the
plexLibraryPathsetting matches
Docker Issues
Container keeps restarting
Check the logs:
docker compose logs --tail=50 rivenCommon causes:
- Missing required environment variables
- Database not reachable
- Redis not reachable
- Invalid VFS mount path
Out of memory
Riven's memory usage depends on library size. If you're running out of memory:
- Increase Docker's memory limit
- Reduce the number of concurrent workers
- Ensure Redis has enough memory for the job queue
Getting Help
- Check the GitHub Issues
- Join the Discord Server
- Email contact@riven.tv