Setting up a homelab can be challenging, especially for beginners. This guide provides solutions to common issues and troubleshooting tips for using Proxmox, LXC, Docker, Gluetun, Servarr containers, and handling Linux permission issues.
Web Interface Not Accessible
systemctl status pveproxy
to check the status. Restart if necessary with systemctl restart pveproxy
. Also, check firewall settings to ensure port 8006 is open.VMs Not Starting
df -h
to check disk space and free -m
for memory. Additionally, verify that the VM configuration is correct and that the VM is not paused or in a locked state.Backup Failures
pct backup <vmid>
to manually trigger a backup and diagnose issues.Container Not Starting
lxc-start -n <container_name> -F
. Look for error messages and resolve accordingly. Ensure that the container configuration file is correct and that there are no conflicting resource allocations.Network Issues
/etc/network/interfaces
for correct bridge settings. Verify that the container has a valid IP address and that the host’s firewall rules are not blocking traffic.Resource Limits
lxc-cgroup -n <container_name> <resource> <value>
to set specific resource limits.Docker Daemon Not Running
systemctl start docker
. Check status with systemctl status docker
. If the daemon fails to start, check the Docker logs in /var/log/docker.log
for error messages.Container Not Accessible
docker ps
to check if the container is running and ports are correctly mapped. Ensure that the host firewall is not blocking the mapped ports.Image Pull Failures
docker pull <image>
to manually pull the image and diagnose issues. Ensure that you are authenticated if pulling from a private repository.VPN Connection Issues
DNS Issues
nslookup
to test DNS resolution. Ensure that the DNS servers specified in the configuration are correct and reachable.Slow Connection Speeds
Service Not Starting
docker logs <container_id>
. Look for specific error messages and resolve them. Ensure that the container has the necessary permissions to access its configuration and data directories.Connectivity Issues
Metadata Fetching Failures
Permission Denied Errors
chmod
to change file permissions and chown
to change file ownership. Example: chmod 755 <file>
and chown user:group <file>
. Verify that the user has the necessary permissions to access the file or directory.Sudo Command Not Working
/etc/sudoers
using visudo
and add the user if necessary. Check for syntax errors in the sudoers file that might prevent it from being parsed correctly.File System Read-Only
mount -o remount,rw /
. Check for hardware issues or file system corruption that might cause the file system to be mounted as read-only.rsync
, tar
, or dedicated backup software to automate the process.By following these tips and solutions, you can effectively troubleshoot and manage your homelab setup.