Authentication & Cloud
Google Drive authentication fails
Google Drive authentication fails
Symptoms: OAuth flow doesn’t complete, or you see “Failed to authenticate” errors.Solutions:
-
Check OAuth consent screen status
- Go to Google Cloud Console
- Verify your app is in “Testing” mode if not published
- Add your Google account as a test user
-
Verify redirect URI
- Production:
https://indexer-oauth-callback.vercel.app/ - Development:
http://localhost:8085/callback - Both must be added to “Authorized redirect URIs” in Google Cloud Console
- Production:
-
Re-authenticate if scope changed
- If you updated from v2.x to v3.x, the OAuth scope changed from
drive.readonlytodrive(full access) - Go to Settings → Cloud Storage → Disconnect
- Reconnect to grant the new permissions
- If you updated from v2.x to v3.x, the OAuth scope changed from
-
Check backend connectivity
- Verify
AUTH_SERVER_URLinsrc-tauri/src/gdrive.rsis correct - Default:
https://streamvault-backend-server.onrender.com - Test backend health by visiting the URL in a browser
- Verify
Google Drive delete permission denied
Google Drive delete permission denied
Symptoms: Can’t delete cloud media, get “Insufficient permissions” error.Cause: Your existing OAuth token only has read-only access.Solution:
-
Disconnect Google Drive:
- Go to Settings → Cloud Storage
- Click Disconnect
-
Reconnect with new permissions:
- Click Connect Google Drive
- Authorize the app (you’ll see delete permissions in the consent screen)
- The new token will have full Drive access including delete
Token expired errors during indexing
Token expired errors during indexing
Symptoms: Indexing fails midway with “Token expired” or “401 Unauthorized” errors.Cause: Access tokens expire after 1 hour. The refresh token should automatically renew them.Solution:
-
Check refresh token
- Tokens are stored in
%APPDATA%/StreamVault/gdrive_tokens.json - Ensure
refresh_tokenfield is present
- Tokens are stored in
-
Re-authenticate
- If refresh fails repeatedly, disconnect and reconnect Google Drive
-
Backend issues
- Verify backend
/auth/refreshendpoint is accessible - Check backend logs for token refresh errors
- Verify backend
TMDB & Metadata
TMDB token expiration
TMDB token expiration
Symptoms: Metadata stops loading, posters are missing, “401 Unauthorized” from TMDB.Cause: The default embedded TMDB token may have expired or been revoked.Solution:
-
Provide your own TMDB token:
- Create account at themoviedb.org
- Go to Settings → API
- Request an API key (free for personal use)
- Copy the “API Read Access Token” (Bearer token)
-
Add to StreamVault:
- Open Settings → General
- Paste token into TMDB API Token field
- Click Save
- Re-index library to fetch missing metadata
Wrong metadata or posters
Wrong metadata or posters
Symptoms: Media matched to incorrect TMDB entry, wrong posters/descriptions.Solution:
-
Use Fix Match feature:
- Right-click the media card
- Select Fix Match
- Search for the correct title
- Select the right entry from results
-
Improve filename parsing:
- Use standard naming:
Movie Title (Year).mp4 - TV shows:
Show Name S01E01.mkv - Avoid special characters and extra text in filenames
- Use standard naming:
-
Manual override (advanced):
- Edit database directly if Fix Match doesn’t work
- Database location:
%APPDATA%/StreamVault/media_library.db - Modify
tmdb_idin themediatable
Playback Issues
MPV not found error
MPV not found error
Symptoms: Clicking Play shows “MPV not found” or “Failed to launch MPV”.Cause: MPV is not installed or not in system PATH.Solution:Windows:macOS:
- Download MPV from mpv.io or SourceForge
- Extract to
C:\Program Files\mpv\ - Add to system PATH:
- Search “Environment Variables” in Windows
- Edit System PATH
- Add
C:\Program Files\mpv\ - Restart StreamVault
- Custom MPV path (if not in PATH):
- Go to Settings → Player
- Set MPV Executable Path to full path (e.g.,
C:\mpv\mpv.exe)
Resume playback not working
Resume playback not working
Symptoms: Media always starts from beginning, progress not saved.Cause: MPV IPC communication failure or database write issues.Solution:
-
Check MPV IPC:
- Ensure MPV is launched via StreamVault (not manually)
- Verify named pipe communication is working (Windows)
-
Database permissions:
- Ensure
%APPDATA%/StreamVault/media_library.dbis writable - Check disk space is available
- Ensure
-
Watch to completion:
- Progress is saved every 5 seconds during playback
- Exiting MPV should trigger final progress save
- If MPV crashes, progress may not save
-
Test with simple file:
- Try a local MP4 file first
- Cloud streaming has additional complexity
MKV/AVI files won't play in browser player
MKV/AVI files won't play in browser player
Symptoms: Built-in browser player fails with “Format not supported”.Cause: Browsers only support MP4, WebM, and M4V containers with H.264/VP8/VP9 codecs.Solution:
-
Use MPV instead (recommended):
- MPV supports all formats without transcoding
- Right-click media → Play with MPV
-
Enable transcoding (if FFmpeg is configured):
- StreamVault will attempt to transcode unsupported formats
- Go to Settings → Player
- Set FFmpeg Path to your FFmpeg installation
- Browser player will auto-transcode MKV/AVI to streamable format
-
Use VLC as alternative:
- Install VLC media player
- Use Open with VLC context menu option
Database & Library
Database corruption or errors
Database corruption or errors
Symptoms: App crashes on launch, “Database is locked”, “Corrupted database” errors.Solution:
-
Backup current database:
- Copy
%APPDATA%/StreamVault/media_library.dbto a safe location
- Copy
-
Try SQLite recovery:
-
Reset database (last resort):
- Close StreamVault completely
- Delete
%APPDATA%/StreamVault/media_library.db - Restart StreamVault (creates fresh database)
- Re-index your library
-
Prevent future corruption:
- Always close StreamVault properly (don’t force quit)
- Ensure antivirus isn’t locking the database file
- Check disk health (run
chkdskon Windows)
Duplicate media entries
Duplicate media entries
Symptoms: Same movie/episode appears multiple times in library.Cause: File moved or re-indexed, or multiple cloud folders with same content.Solution:
-
Delete duplicates:
- Right-click duplicate entry → Delete from Library
- This removes database entry (doesn’t delete the file)
-
Re-index library:
- Click Update Library to refresh
- StreamVault should skip already-indexed files
-
Cloud duplicates:
- Check if files exist in multiple Google Drive folders
- Remove duplicates from Drive
- Re-index library
Missing episodes or incomplete series
Missing episodes or incomplete series
Symptoms: Some episodes don’t appear, season shows fewer episodes than expected.Cause: Filename parsing failed, or files not detected as video.Solution:
-
Check filename format:
- Standard format:
Show Name S01E01.mkvorShow Name 1x01.mkv - Include season and episode numbers
- Avoid ambiguous filenames
- Standard format:
-
Supported formats:
.mkv,.mp4,.avi,.mov,.webm,.m4v,.wmv,.flv,.ts,.m2ts- Check file extensions are correct
-
Orphan cleanup:
- StreamVault automatically removes orphaned episode entries
- Re-index to detect episodes with corrected filenames
-
Check Google Drive:
- Ensure all episodes are uploaded
- Verify files aren’t in “Trash”
- Check sharing permissions
Network & Connectivity
Slow cloud indexing or streaming
Slow cloud indexing or streaming
Symptoms: Indexing takes forever, streaming buffers constantly.Cause: Network throttling, proxy issues, or Google Drive rate limits.Solution:
-
Check internet speed:
- Run speed test at fast.com
- Ensure stable connection during indexing
-
Google Drive API limits:
- Default polling is 5 seconds
- Large libraries (10,000+ files) may hit rate limits
- Indexing pauses automatically if rate limited
-
Proxy/VPN issues:
- Disable VPN temporarily to test
- Configure proxy settings in Settings → Network (if available)
-
Large files:
- Files >4GB may take time to buffer in browser player
- Use MPV for large files (streams chunks instead of loading entirely)
Firewall or antivirus blocking StreamVault
Firewall or antivirus blocking StreamVault
Symptoms: OAuth fails, backend unreachable, MPV won’t launch.Cause: Security software blocking network or process execution.Solution:
-
Add StreamVault to firewall exceptions:
- Windows Defender Firewall → Allow an app
- Add
StreamVault.exeto allowed apps
-
Antivirus exclusions:
- Add
%APPDATA%/StreamVault/to exclusions - Add StreamVault install directory to exclusions
- Add
-
Check ports:
- OAuth callback:
localhost:8085 - Ensure no other app is using this port
- OAuth callback:
-
Test connectivity:
Should return backend health status
Windows-Specific Issues
Notifications not appearing
Notifications not appearing
Symptoms: No Windows notifications when new media is indexed.Cause: Windows notification permissions or system tray issues.Solution:
-
Enable Windows notifications:
- Settings → System → Notifications
- Ensure notifications are enabled for StreamVault
-
Check Focus Assist:
- Turn off Focus Assist (prevents all notifications)
- Or add StreamVault to priority list
-
System tray:
- Ensure StreamVault icon appears in system tray
- Right-click tray icon → verify notifications are enabled
-
Restart app:
- Close StreamVault completely (including system tray)
- Restart and test notifications
App won't start or crashes immediately
App won't start or crashes immediately
Symptoms: StreamVault won’t launch, crashes on startup, white screen.Solution:
-
Check Windows version:
- Requires Windows 10 version 1809 or later
- Update Windows to latest version
-
WebView2 runtime:
- Tauri apps require Microsoft Edge WebView2
- Download from microsoft.com
- Install and restart
-
Corrupted config:
- Delete
%APPDATA%/StreamVault/media_config.json - Restart StreamVault (creates default config)
- Delete
-
Check logs:
- Logs are in
%APPDATA%/StreamVault/logs/(if logging is enabled) - Look for error messages indicating the cause
- Logs are in
-
Clean reinstall:
- Uninstall StreamVault
- Delete
%APPDATA%/StreamVault/(backup database first!) - Reinstall latest version
Performance Issues
UI is slow or laggy
UI is slow or laggy
Symptoms: App feels sluggish, animations stutter, high CPU usage.Solution:
-
Large library optimization:
- Libraries with >1,000 items may experience slowdown
- Enable chunked rendering (automatic for >500 items in cloud view)
- Use search/filters to reduce visible items
-
Close other apps:
- Free up RAM and CPU resources
- Check Task Manager for resource hogs
-
Update graphics drivers:
- Outdated drivers can cause rendering issues
- Update from manufacturer website (NVIDIA, AMD, Intel)
-
Disable animations (if available):
- Reduce visual effects in Settings → Appearance
-
Hardware acceleration:
- Ensure WebView2 has GPU acceleration enabled
- Check
chrome://gpuin any Edge browser
Still Having Issues?
If your problem isn’t covered here:- Check GitHub Issues: github.com/SlasshyOverhere/StreamVault/issues
- Create a new issue with:
- Operating system and version
- StreamVault version (check Settings → General → About)
- Steps to reproduce
- Error messages or screenshots
- Check backend logs if self-hosting
- Review configuration files:
- Frontend
.env - Backend
.env src-tauri/src/gdrive.rs(AUTH_SERVER_URL)
- Frontend