Enable Discovery debug logging for production troubleshooting

- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
2025-08-11 20:13:26 +02:00
parent 59fd3dd3b1
commit 55a330b223
3683 changed files with 2956207 additions and 16948 deletions

View File

@@ -1,4 +1,20 @@
#!/bin/bash
chown -R www-data:www-data /var/www/html/cache
chmod -R 775 /var/www/html/cache
# Ensure storage directories exist and have correct permissions
mkdir -p /var/www/html/storage/analytics \
/var/www/html/storage/logs \
/var/www/html/storage/cache \
/var/www/html/var/cache \
/var/www/html/var/logs \
/var/www/html/cache
# Set correct ownership and permissions for appuser
chown -R appuser:appuser /var/www/html/storage \
/var/www/html/var \
/var/www/html/cache
chmod -R 775 /var/www/html/storage \
/var/www/html/var \
/var/www/html/cache
exec "$@"