Troubleshooting & FAQ
This page provides diagnostic steps and solutions for issues encountered when operating brūhi Desktop and self-hosting brūhi Cloud.
1. brūhi Desktop Diagnostics
Section titled “1. brūhi Desktop Diagnostics”Microphone or Audio Interface Not Detected
Section titled “Microphone or Audio Interface Not Detected”Symptom: Your USB audio interface, microphone, or headphones do not appear in the audio device selectors.
Solutions:
- OS Microphone Permissions:
- macOS: Go to System Settings → Privacy & Security → Microphone and ensure brūhi is toggled ON.
- Windows: Go to Settings → Privacy & Security → Microphone and ensure “Let desktop apps access your microphone” is enabled.
- Device Enumeration:
- Audio devices are enumerated upon application launch. If you connected hardware after opening brūhi, go to System → Audio Monitoring and click the device selector, or restart the application.
- WASAPI Exclusive Mode Conflict (Windows):
- Ensure other audio software (DAW, Discord, OBS Studio) is not locking the audio interface in exclusive mode.
Audio Crackling, Dropouts, or Buffer Underruns
Section titled “Audio Crackling, Dropouts, or Buffer Underruns”Symptom: Stuttering audio or metallic clicks during playback or live microphone monitoring.
Solutions:
- Open System Settings → Audio Monitoring.
- Increase your hardware buffer size (e.g., from 128 frames to 256 or 512 frames).
- Ensure all active input and output devices are configured to 48,000 Hz (48 kHz) in your OS sound control panel.
- If running heavy DSP effects (multiband compressor, 5-band parametric EQ, reverb), temporarily disable individual modules to reduce CPU load.
Speaker Feedback when Microphone is Live
Section titled “Speaker Feedback when Microphone is Live”Symptom: High-pitched howling or acoustic echo when opening the microphone.
Solutions:
- Enable MON Gate: In brūhi Desktop, the master monitor output (MON) features an automated speaker gate that silences room speakers whenever a microphone fader is opened. Ensure studio monitors are connected to the MON bus rather than the raw Master bus.
- Use Headphones for PFL: Route Pre-Fade Listen (PFL) and cue monitoring exclusively to sealed headphones.
2. brūhi Cloud Diagnostics
Section titled “2. brūhi Cloud Diagnostics”Browser Microphone Access Denied
Section titled “Browser Microphone Access Denied”Symptom: Clicking Go Live or Take Control shows “Microphone access denied” or fails to start audio capture.
Solutions:
- HTTPS Context Required: Browsers strictly forbid microphone capture (
getUserMedia) on unencrypted HTTP connections. Ensure you are accessing the dashboard over valid HTTPS (https://radio.yourdomain.com). - Browser Permissions: Click the site settings icon in your browser’s address bar and verify Microphone is set to Allow.
- Audio Routing: In browser settings, confirm the intended physical microphone input is selected as the default input device.
Live HLS Stream Buffers or Fails to Play
Section titled “Live HLS Stream Buffers or Fails to Play”Symptom: Web listeners report endless buffering or 404 errors when tuning into the stream.
Solutions:
- Station On-Air State: Verify that the station is in ON AIR or AUTO DJ mode in the studio console.
- In-Memory
tmpfsVolume: Verify that the HLS volume is mounted and actively receiving audio chunks:You should observe activeTerminal window docker compose exec bruhi-cloud ls -lh /hls.m3u8playlist files and rolling audio segments. - Reverse Proxy Health: Check that Caddy is serving HLS segments:
Terminal window docker compose logs --tail=50 caddy
Database Locked (sqlite3.OperationalError: database is locked)
Section titled “Database Locked (sqlite3.OperationalError: database is locked)”Symptom: Server logs show database is locked or API requests return HTTP 500.
Solutions:
- brūhi Cloud runs SQLite in WAL (Write-Ahead Logging) mode. A hung backup process or external query can hold a transaction lock.
- Force a WAL checkpoint to flush pending transactions:
Terminal window docker compose exec bruhi-cloud sqlite3 /app/data/bruhi.db "PRAGMA busy_timeout = 5000; PRAGMA wal_checkpoint(TRUNCATE);" - If the lock persists, restart the container:
Terminal window docker compose restart bruhi-cloud
Storage Exhaustion (Disk 100% Full)
Section titled “Storage Exhaustion (Disk 100% Full)”Symptom: Broadcast recordings fail, SQLite writes fail with disk I/O error, or Docker crashes.
Solutions:
- Check host disk utilization:
Terminal window df -h /docker system df - Prune old container images:
Terminal window docker image prune -a --filter "until=72h" -f - Clean temporary recording segments:
Terminal window docker compose exec bruhi-cloud find /app/audio_files/recordings -name "*.part" -mtime +2 -delete - Connect an S3-compatible storage bucket (AWS S3, Cloudflare R2, MinIO) in Admin Dashboard → Storage & Maintenance to offload broadcast archives.
Internal Playout Engine Lockup
Section titled “Internal Playout Engine Lockup”Symptom: Studio displays “Connecting to Audio Engine” or audio output freezes.
Solutions:
- Check if the internal
bruhi-audiodaemon is alive:Terminal window docker compose exec bruhi-cloud curl -s http://localhost:7700/healthz - Restart the application container cleanly:
Terminal window docker compose restart bruhi-cloud
3. Incident Escalation: Diagnostic Information to Collect
Section titled “3. Incident Escalation: Diagnostic Information to Collect”When escalating an outage or opening an issue report, collect these command outputs:
# System status & restart countsdocker compose ps
# Application logsdocker compose logs --tail=150 bruhi-cloud
# Reverse proxy logsdocker compose logs --tail=50 caddy
# System memory & disk utilizationfree -mdf -h /
# Database integrity checkdocker compose exec bruhi-cloud sqlite3 /app/data/bruhi.db "PRAGMA integrity_check;"