php artisan optimize:clear php artisan config:cache # only if in production php artisan queue:restart 90% of “broken after deploy” is cached config pointing to the wrong env. Don’t tail -200 and panic. Do this:
Add this temporarily to AppServiceProvider@boot : the laravel survival guide
Now go fix that avatar upload. And next time? Deploy at 11 AM on Tuesday. php artisan optimize:clear php artisan config:cache # only
After any .env change, run: