-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
symfony cloud:environment:debug
results in "An error occurred while adding APP_ENV"
#408
Comments
In c4e4083, I have made the error message more explicit so that you can see what's happening. Apparently, the env var already exists. |
If the ev var already exists, the Symfony Debug Toolbar should be shown, right? It does not on the page when I execute
Is there something wrong with my platform.sh environmant or is it the Symfony CLI that causes it? |
As the error is coming from line 95, it means that the env var already exists. What's the output of And if the var exists, can you paste the output of |
|
Sorry I forgot to ask you to add the debug flag: |
|
I just read about “Debugging Production Deployments before Deploying” in “The Fast Track”: https://symfony.com/doc/6.2/the-fast-track/en/11-branch.html#debugging-production-deployments-before-deploying
When I call symfony cloud:env:debug or symfony cloud:environment:debug an error is shown:
Note: I use Symfony CLI version 5.7.8 and Symfony 7.0.2 with PHP 8.2.14 on my Laptop.
The text was updated successfully, but these errors were encountered: