From 1f1671dacbb8619156dab23392ae1aa55cf9a5d4 Mon Sep 17 00:00:00 2001 From: groales Date: Thu, 4 Dec 2025 12:59:24 +0100 Subject: [PATCH] =?UTF-8?q?Agregar=20soluci=C3=B3n=20para=20error=20'canno?= =?UTF-8?q?t=20stat=20media'=20en=20primer=20inicio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Solución-de-Problemas.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Solución-de-Problemas.md b/Solución-de-Problemas.md index 8bcbd7d..4b62a68 100644 --- a/Solución-de-Problemas.md +++ b/Solución-de-Problemas.md @@ -78,6 +78,28 @@ docker logs netbox | grep -i fatal docker restart netbox ``` +4. **Error "cannot stat /app/netbox/netbox/media"** + + **Síntomas**: En los logs aparece: + ``` + mv: cannot stat '/app/netbox/netbox/media': No such file or directory + ``` + + **Causa**: El directorio `/config/media` no existe en el primer inicio + + **Solución**: + ```bash + # Crear directorio media en volumen persistente + docker exec netbox mkdir -p /config/media + docker exec netbox chown -R abc:users /config/media + docker restart netbox + ``` + + Verificar: + ```bash + docker logs netbox --tail 30 + ``` + ### Error de Conexión a Base de Datos **Síntomas**: