I've just tried setting up a project locally which we have deployed on a Laravel Forge server.

After I ran composer install, craft setup, and then craft project-config/apply

And try visiting my https://site.test/admin URL, setup through Valet.

I just get Template not found: admin

This doesn't really make sense because admin isn't a template right?

Any idea what might be going on here?

  • Is it possible that you're using a different cpTrigger? Can you take a screenshot of the error?
    – Lindsey D
    Mar 2 at 3:19
  • Yes it was an incorrect url on CP_PANEL
    – lopu
    Mar 2 at 4:42

1 Answer 1


CP_PANEL environment variable needs to be set to the same as your current Valet URL

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.