Troubleshooting Guide
Common issues and solutions for Homix installation and operation.
Installation Issues
Docker not found
Error: command not found: docker
Solution:
- Install Docker Desktop: docs.docker.com/get-docker
- On Linux:
sudo apt install docker.io
(Ubuntu/Debian) - Ensure Docker is running:
docker version
Permission denied
Error: permission denied while trying to connect to the Docker daemon
Solution:
Port already in use
Error: port 8080 already in use
Solution:
- Stop the conflicting service:
sudo lsof -i :8080
- Or edit
~/.homix/docker-compose.yml
to use different ports - Change
8080:8080
to8081:8080
- Restart:
docker compose up -d
Container failed to start
Error: container homix-edge exited with code 1
Solution:
Connectivity Issues
Cannot connect to cloud dashboard
Symptoms: Cloud dashboard shows "connecting..." forever
Solutions:
- Check Synadia credentials are in
~/.synadia/
- Verify credentials file format (should contain JWT and seed)
- Check edge server logs:
docker compose logs
- Test NATS connectivity:
nats server check
(if nats CLI installed)
Local dashboard not accessible
Symptoms: http://localhost:8080
times out
Solutions:
- Check if container is running:
docker ps | grep homix
- Verify port mapping: should show
0.0.0.0:8080->8080/tcp
- Check firewall settings (Windows/macOS)
- Try
http://127.0.0.1:8080
instead
Edge server not announcing
Symptoms: No homes appear in cloud dashboard
Solutions:
- Check edge server logs for NATS connection errors
- Verify internet connectivity from edge server
- Check system time is synchronized (important for JWT)
- Restart edge server:
docker compose restart
Device Issues
Devices not discovered
Symptoms: No devices appear in device list
Solutions:
- Ensure devices are on same network as edge server
- Check device-specific setup requirements
- Verify mDNS/Bonjour is working:
avahi-browse -a
(Linux) - Manual device addition if auto-discovery fails
Device commands not working
Symptoms: Clicking device controls has no effect
Solutions:
- Check device state in edge server logs
- Verify device protocol configuration
- Test device with manufacturer app first
- Check network connectivity to device
Device states not updating
Symptoms: Dashboard shows stale device states
Solutions:
- Check NATS subscription in browser console
- Verify edge server is publishing state updates
- Check for WebSocket connectivity issues
- Refresh browser or reconnect to cloud
Performance Issues
High CPU usage
Symptoms: Edge server consuming excessive CPU
Solutions:
- Check for automation loops in logs
- Reduce device polling frequency
- Review automation trigger conditions
- Consider hardware upgrade if managing many devices
High memory usage
Symptoms: Edge server using lots of RAM
Solutions:
- Check for memory leaks in logs
- Reduce device state cache TTL
- Restart edge server periodically
- Monitor with:
docker stats homix-edge
Slow response times
Symptoms: Commands take several seconds to execute
Solutions:
- Check network latency to devices
- Verify NATS connection health
- Use local automation for time-critical operations
- Consider edge server hardware upgrade
Debugging Commands
Container Status
Network Debugging
Configuration Check
Log Analysis
Common Log Messages
✅ Normal Operation
Edge server started successfully
Device discovered: living-room-light
⚠️ Warnings
NATS connection lost, reconnecting...
Device state cache expired
❌ Errors
Device protocol error: timeout
Failed to parse automation config
Getting Help
If you're still having issues after trying these solutions:
💬 Community Support
Community Discord coming soon
Discord server setup in progressWhen Reporting Issues
Please include the following information:
- Operating System: Linux distribution, macOS version, etc.
- Container Platform: Docker version or Podman version
- Homix Version: From
docker images | grep homix
- Error Messages: Exact error text from logs
- Steps to Reproduce: What actions led to the issue
- Configuration: Sanitized version of your setup
Log Collection Script
Use this command to collect system information for bug reports:
Related Documentation
- Installation Guide - Complete setup instructions
- Architecture - Understanding how components work
- Synadia Setup Guide - Cloud connectivity configuration (coming soon)