Skip to content

Troubleshooting

Alexey Averikhin edited this page Dec 4, 2026 · 1 revision

First run php artisan app:doctor (in Docker: docker compose exec laravel-env php artisan app:doctor). It names what is missing and how to fix it.

Problem Fix
"No application encryption key has been specified" make up, or php artisan key:generate without Docker
A port is already in use Set APP_PORT, FORWARD_DB_PORT, VITE_PORT, FORWARD_MAIL_PORT, FORWARD_MAILPIT_PORT or FORWARD_PMA_PORT in .env. With APP_PORT, add the port to APP_URL too
Database connection refused The host is mysql inside Docker (set for you) and 127.0.0.1 outside
"Vite manifest not found" npm run build, or keep npm run dev running
Files owned by the wrong user (Linux) Rebuild with make up
No email arrives In Docker, open Mailpit at http://localhost:8025. Without Docker, MAIL_MAILER=log writes mails to storage/logs
Passkeys don't work They need HTTPS or localhost, on the host of APP_URL
You want a clean database make clean, then make setup. This deletes all data
You need step debugging XDEBUG_MODE=debug make up, with your IDE listening on port 9003
A NetLicensing error php artisan app:doctor --licensing, then NetLicensing connection error

Still stuck? Open an issue with the output of app:doctor.

Clone this wiki locally