🐛 Common Issues
Solutions to the most common issues encountered with Monitron SaaS.
🔴 Installation Issues
Blank white page after install
# Check permissions
sudo chown -R www-data:www-data /var/www/monitron
sudo chmod -R 775 storage/ bootstrap/cache/
# Check the log
tail -50 storage/logs/laravel.log
# Clear caches
php artisan config:clear
php artisan cache:clear
php artisan view:clear
"500 Server Error" on first visit
Usually a missing .env or APP_KEY:
cp .env.example .env
php artisan key:generate
"Class not found" errors
composer install --no-dev --optimize-autoloader
php artisan optimize
Installation wizard not showing
- Verify web server points to
public/directory - Check that
storage/installed.lockdoesn't exist yet - Verify
.envfile exists
🟡 Monitoring Issues
Monitors stuck on "Pending"
Queue workers aren't running:
# Check worker status
sudo supervisorctl status
# Start workers manually (for testing)
php artisan queue:work --once
# Check for failed jobs
php artisan queue:failed