Troubleshooting Laravel
When a Laravel application is not working correctly on TurboStack, the cause is almost always visible in a log. This page shows where the logs live, the most common problems and their fixes, and a repeatable workflow to follow. Because Laravel is a configuration-only application, most fixes are Artisan commands or .env changes you run against your own deployed code.
Where to find the logs
Replace <user> with the host's system user and <app> with the application name (omit the _<app> suffix if the app has no name set).
Also use the host's Health tab for service status and resource graphs, and check recent deploys in History - a broken page often coincides with the last publish.
Tip
The Laravel log only fills up if logging works. If storage/logs/laravel.log is empty during a 500, the error happened before Laravel booted - look in the PHP-FPM log instead.
Common issues
Warning
Never set APP_DEBUG=true to read errors on a live site - it exposes stack traces and secrets. Read the logs instead and keep APP_DEBUG=false in production.
A troubleshooting workflow
- Check Health - confirm the host is up and PHP, MySQL and Redis services are running before digging into code.
- Read the relevant log - start with
storage/logs/laravel.log; if it is silent, read the PHP-FPM log (/var/log/php/<user>_<app>.log) and the Nginx error log. - Check the last deploy - review recent changes in History. If a publish broke the site, revert or re-publish a known-good revision via Publishing.
- Verify services and caches - confirm queue workers are alive in supervisor, then clear and rebuild Laravel caches (
php artisan optimize:clearfollowed byphp artisan optimize) once the fix is in place.
Getting help
If you have worked through the steps above and the problem persists, see the platform-wide Troubleshooting guide. Then reach out through Support with the relevant log excerpts and the time the issue occurred.