-
-
Notifications
You must be signed in to change notification settings - Fork 4
Troubleshooting
This guide helps you diagnose and resolve common issues with the Home Assistant Unraid integration.
Problem: Unable to find the Unraid integration in HACS. Solutions:
- Ensure HACS is properly installed
- Try refreshing HACS by going to HACS → ⋮ → Clear cache
- Add custom repository:
- HACS → ⋮ → Custom repositories
- Add URL:
https://github.com/domalab/ha-unraid
- Category: Integration
Problem: Integration fails to install through HACS. Solutions:
- Clear Home Assistant browser cache
- Remove integration if previously installed:
rm -rf /config/custom_components/unraid
- Restart Home Assistant
- Try installation again
Problem: Integration fails to connect during setup. Solutions:
- Verify SSH credentials:
ssh username@unraid-ip
- Check SSH port (default 22)
- Ensure Unraid server is reachable:
ping unraid-ip
- Verify no firewall rules blocking access
Problem: Integration loses connection to Unraid server. Solutions:
- Check network stability
- Adjust update interval in configuration
- Verify SSH service is running on Unraid:
# On Unraid server ps aux | grep sshd
- Check Home Assistant logs for timeout errors
Problem: Sensors display as unavailable in Home Assistant. Solutions:
- Verify entity permissions
- Check sensor update interval
- Validate sensor paths on Unraid system
- Restart Home Assistant
Problem: Sensors show wrong or unexpected values. Solutions:
- Compare with Unraid dashboard
- Check sensor attributes in Developer Tools
- Verify command outputs directly on Unraid
- Clear sensor cache if available
Problem: Unable to start/stop Docker containers. Solutions:
- Verify Docker service is running:
# On Unraid server docker ps
- Check user permissions for Docker commands
- Ensure container names match exactly
- Test Docker commands directly on Unraid
Problem: Container states don't refresh properly. Solutions:
- Force update through service call:
service: unraid.force_update data: entry_id: YOUR_UNRAID_IP
- Adjust update interval
- Check for Docker service issues
Problem: Unable to start/stop virtual machines. Solutions:
- Verify libvirt is running:
# On Unraid server ps aux | grep libvirt
- Check VM names match exactly
- Test VM controls directly on Unraid
- Verify user permissions for VM operations
Problem: Service commands don't work. Solutions:
- Test command directly on Unraid
- Check command syntax
- Verify user permissions
- Look for command output in Home Assistant logs
Problem: User scripts won't run. Solutions:
- Check script permissions:
ls -l /boot/config/plugins/user.scripts/scripts
- Verify script exists in correct location
- Test script manually on Unraid
- Check script syntax
# Look for errors
grep -i "unraid" /config/home-assistant.log
- Go to Settings → Devices & Services
- Find Unraid integration
- Check for error messages
- Try removing and readding if needed
# From Home Assistant
ping UNRAID_IP
# Test SSH
ssh USERNAME@UNRAID_IP
# Test Docker
docker ps
- Check SSH user permissions
- Verify Docker group membership
- Test file access permissions
- Validate script execution rights
Enable debug logging by adding to configuration.yaml:
logger:
default: info
logs:
custom_components.unraid: debug
Test service commands using Developer Tools:
service: unraid.execute_command
data:
entry_id: "UNRAID_IP"
command: "echo 'test'"
- Check for network issues:
traceroute UNRAID_IP
- Verify no firewall blocks
- Test alternate ports if needed
- Check for VPN interference
If you cannot resolve an issue:
-
Collect Information:
- Home Assistant logs
- Integration configuration
- Error messages
- Steps to reproduce
-
Check Existing Issues:
- Search GitHub Issues
- Look for similar problems
-
Create New Issue:
- Use the issue template
- Include all collected information
- Describe your setup
- List steps tried
- Remove integration
- Clear cache:
rm -rf /config/custom_components/unraid
- Restart Home Assistant
- Reinstall integration
Always backup before major changes:
- Backup Home Assistant configuration
- Note down integration settings
- Document custom automations
- Save any modified scripts
-
Community Support:
- Home Assistant Community Forums
- GitHub Discussions
-
Documentation:
- Read the Integration Documentation
- Check the CHANGELOG
- Review Configuration Options
Remember to always test commands and scripts directly on your Unraid server before implementing them in Home Assistant automations.