mirror of
https://github.com/pacnpal/simpleguardhome.git
synced 2025-12-20 04:21:13 -05:00
feat(docker): add debugging outputs to entrypoint script for improved diagnostics
This commit is contained in:
@@ -24,9 +24,27 @@ check_package() {
|
|||||||
log "Python version:"
|
log "Python version:"
|
||||||
python3 --version
|
python3 --version
|
||||||
|
|
||||||
|
# Debug: Show current directory and its contents
|
||||||
|
log "Current directory: $(pwd)"
|
||||||
|
log "Directory contents:"
|
||||||
|
ls -la
|
||||||
|
|
||||||
|
# Debug: Show /app directory contents
|
||||||
|
log "Contents of /app directory:"
|
||||||
|
ls -la /app
|
||||||
|
|
||||||
|
# Debug: Show /app/src directory contents
|
||||||
|
log "Contents of /app/src directory:"
|
||||||
|
ls -la /app/src || echo "src directory not found"
|
||||||
|
|
||||||
log "Verifying package files..."
|
log "Verifying package files..."
|
||||||
if [ ! -d "/app/src/simpleguardhome" ]; then
|
if [ ! -d "/app/src/simpleguardhome" ]; then
|
||||||
log "ERROR: Package directory not found!"
|
log "ERROR: Package directory not found!"
|
||||||
|
log "Contents of parent directories:"
|
||||||
|
ls -la /
|
||||||
|
ls -la /app || echo "/app not found"
|
||||||
|
log "Full path check:"
|
||||||
|
find / -name "simpleguardhome" 2>/dev/null || echo "No simpleguardhome directory found"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user