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:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user