# VM Migration - Troubleshooting

## Container migration fails

```bash
# Verificar logs
docker logs CONTAINER_ID

# Verificar volumes
ls -lah /var/lib/easypanel/projects/PROJECT/

# Testar manual
docker-compose up -d

# Rollback e investigar
```

## CWP site nao carrega apos migration

```bash
# Verificar Apache
systemctl status httpd

# Verificar vhost
cat /usr/local/apache/conf.d/vhosts/DOMAIN.conf

# Verificar database
mysql -u USER -p DATABASE

# Verificar DNS propagation
dig +short DOMAIN @8.8.8.8
```

## Email nao funciona

```bash
# Verificar Postfix
systemctl status postfix

# Testar SMTP
telnet localhost 25

# Verificar DNS MX
dig +short MX DOMAIN

# Verificar logs
tail -f /var/log/maillog
```
