Troubleshooting
”500 Server Error” on first load
- Check
storage/logs/laravel.logfor the specific error. - Verify
.envfile exists and is readable. - Ensure
storage/andbootstrap/cache/are writable bywww-data.
”SQLSTATE[HY000] [1045] Access denied”
- Double-check database credentials entered in the install wizard.
- Verify the MySQL user exists and has permissions:
SHOW GRANTS FOR 'ai_edu_user'@'localhost';
”The public/storage directory does not exist”
- Run
php artisan storage:link. - If it says “link already exists”, delete
public/storagefirst, then re-run.
”Queue worker not processing jobs”
- Check Supervisor status:
supervisorctl status - Check worker logs:
tail -f /var/www/ai-education-studio/storage/logs/worker.log - Ensure
QUEUE_CONNECTIONin.envis set todatabase.
”npm run build fails”
- Ensure Node.js 22.x is installed:
node -v - Delete
node_modulesand reinstall:rm -rf node_modules && npm install && npm run build
”Install wizard shows 500 error”
- Check
storage/logs/laravel.logfor the exact error. - Ensure
.envfile is writable by the web server (www-data).
”License shows Pending after installation”
- Go to Super Admin → License and click Re-verify Now.
- Check that the license server is reachable from your server.
- Verify the license key is correct.
”License shows Invalid”
- Go to Super Admin → License and enter a new valid license key.
- Ensure the license has not expired.
- Check that the domain matches the one the license was activated for.
Last updated on