All checks were successful
CI - Build Tonehaus Docker image / tonehaus-ci-build (push) Successful in 1m57s
835 B
835 B
Troubleshooting
Cannot find template or routes
- Clear cache:
docker compose exec php php bin/console cache:clear - List routes:
docker compose exec php php bin/console debug:router
Missing vendors
- Install:
docker compose exec php composer install --no-interaction --prefer-dist
.env not read in container
- Ensure we mount
.envor set env vars in compose; we mount.envindocker-compose.yml.
Login modal shows blank
- Make sure Bootstrap JS loads before the modal script (handled in
base.html.twig).
Hitting admin routes redirects to home
- Expected when not logged in or lacking the required role.
- Ensure your user has
ROLE_MODERATORfor/admin/dashboardor/admin/users, andROLE_ADMINfor/admin/settings. - Use the console commands in
06-admin-and-settings.mdto grant roles.