You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I tried to install shopware via composer with shopware/production 6.3.4.1 and created an .env.local file with required information to run bin/console system:setup
Installation failed due to missing _ENV variables.
In EnvVarProcessor.php line 171:
Environment variable not found: "APP_URL".
I renamed the file to .env and it worked.
Possible Solution
Verify the presence of .env.{APP_ENV} and .env.local before running the installation.
The text was updated successfully, but these errors were encountered:
and the same goes for the corresponding console file, they use (new Dotenv(true))->load($envFile); intead of the new (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); or (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env'); (this one defintily exists in 4.4, the other one migh be new in 5.x)
If you have to use it, you could change the corresponding methods yourself in those files.
However, the issue is that the newer Symfony.env loading standard will not work correctly with their storefront and admin build scripts and probably also not with the install command and install web page which is probably why it is not used yet.
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.
Description
I tried to install shopware via composer with shopware/production 6.3.4.1 and created an .env.local file with required information to run bin/console system:setup
Installation failed due to missing _ENV variables.
I renamed the file to .env and it worked.
Possible Solution
Verify the presence of .env.{APP_ENV} and .env.local before running the installation.
The text was updated successfully, but these errors were encountered: