Troubleshooting
Common Issues
Addon doesn’t appear in Local
Symptoms: After installation, the addon doesn’t show in Local’s Add-ons list.
Solutions:
- Restart Local completely (quit and reopen)
- Check that the addon is in the correct directory:
- macOS:
~/Library/Application Support/Local/addons/ - Linux:
~/.config/Local/addons/ - Windows:
%APPDATA%\Local\addons\
- macOS:
- Verify the addon was built: check for
lib/directory withmain.jsandrenderer.js - Check Local’s logs for loading errors
Addon fails to load
Symptoms: Addon appears but shows an error or doesn’t function.
Solutions:
- Check Local’s logs for errors:
- macOS:
~/Library/Logs/Local/local-lightning.log - Linux:
~/.config/Local/logs/local-lightning.log - Windows:
%APPDATA%\Local\logs\local-lightning.log
- macOS:
- Rebuild the addon:
npm run build - Reinstall:
npm run uninstall-addon && npm run install-addon
Site won’t start
Symptoms: Laravel site fails to start or shows errors.
Solutions:
- Check that PHP 8.2+ is selected for the site in Local’s settings
- Verify MySQL service is running (check Local’s site status)
- Check Laravel logs:
~/Local Sites/your-site/app/storage/logs/laravel.log - Verify
.envhas correct database credentials
Database connection errors
Symptoms: Laravel shows database connection errors.
Solutions:
- Verify
.envcontains correctDB_*values:DB_CONNECTION=mysql DB_HOST=localhost DB_DATABASE=local DB_USERNAME=root DB_PASSWORD=root - Run
php artisan config:clearvia the Laravel panel - Check that MySQL socket path is correct in
.env - Wait for MySQL to fully start before running commands
Composer errors during site creation
Symptoms: Site creation fails with Composer errors.
Solutions:
- Check PHP memory limit in Local’s PHP settings (increase if needed)
- Verify internet connectivity for downloading packages
- Try creating the site again - transient network issues can cause failures
- Check available disk space
Artisan commands fail
Symptoms: Running Artisan commands from the panel fails or shows errors.
Solutions:
- Ensure the site is running (started) in Local
- Check that you’re running commands on a Laravel site, not a WordPress site
- View the full error output in the panel
- Try running the command via SSH: Local > Site > Open Site Shell, then
php artisan {command}
“Laravel Project” option doesn’t appear
Symptoms: When creating a new site, the Laravel Project option isn’t shown.
Solutions:
- Verify the addon is enabled in Local’s Add-ons settings
- Restart Local completely
- Check that the addon loaded without errors in Local’s logs
Starter kit installation fails
Symptoms: Breeze or other starter kit fails to install.
Solutions:
- Ensure Node.js is available (check with
node --versionin site shell) - Verify npm packages can be downloaded (network connectivity)
- Check available disk space
- Try installing the starter kit manually via SSH
Nginx configuration errors
Symptoms: Site shows 502 Bad Gateway or Nginx errors.
Solutions:
- Restart the site in Local
- Check Nginx error logs:
~/Local Sites/your-site/logs/nginx/error.log - Verify the Laravel
public/directory exists and containsindex.php - Ensure file permissions allow Nginx to read the public directory
PHP-FPM errors
Symptoms: Site shows blank page or PHP errors.
Solutions:
- Check PHP error logs:
~/Local Sites/your-site/logs/php/error.log - Verify PHP version meets Laravel requirements (8.2+ for Laravel 11)
- Ensure required PHP extensions are enabled in Local
- Check Laravel’s
storage/directory has write permissions
Log Locations
Local Logs
- macOS:
~/Library/Logs/Local/local-lightning.log - Linux:
~/.config/Local/logs/local-lightning.log - Windows:
%APPDATA%\Local\logs\local-lightning.log
Site Logs
~/Local Sites/{site-name}/logs/
├── php/error.log
├── nginx/error.log
└── mysql/error.log
Laravel Logs
~/Local Sites/{site-name}/app/storage/logs/laravel.log
Getting Help
If your issue isn’t listed here:
- Search existing issues
- Open a new issue with:
- Local version
- OS and version
- PHP version configured in Local
- Steps to reproduce
- Error messages/logs
- Screenshots if applicable