Replies: 1 comment 1 reply
-
If i open the terminal and do php artisan key:generate i also get ErrorException file_get_contents(/app/.env): Failed to open stream: No such file or directory |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Any idea why laravel isn't picking up the environment variables?
I created a new App > Git:
Repository URL: https://github.com/laravel/laravel.git
Branch: 11.x
Path: /
Then input all the Laravel .env.example into the Environment variables
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=http://localhost
etc
etc
But it never picks them up.. we can see on the logs
...
[laravel:warn] Your app configuration references the DYNAMODB_ENDPOINT environment variable, but it is not set.
[laravel:warn] Your app configuration references the DB_URL environment variable, but it is not set.
[laravel:warn] Your app configuration references the DB_URL environment variable, but it is not set.
[laravel:warn] Your app configuration references the MYSQL_ATTR_SSL_CA environment variable, but it is not set.
[laravel:warn] Your app configuration references the DB_URL environment variable, but it is not set.
[laravel:warn] Your app configuration references the MYSQL_ATTR_SSL_CA environment variable, but it is not set.
[laravel:warn] Your app configuration references the DB_URL environment variable, but it is not set.
[laravel:warn] Your app configuration references the DB_URL environment variable, but it is not set.
[laravel:warn] Your app configuration references the REDIS_URL environment variable, but it is not set.
[laravel:warn] Your app configuration references the REDIS_USERNAME environment variable, but it is not set.
[laravel:warn] Your app configuration references the REDIS_URL environment variable, but it is not set.
[laravel:warn] Your app configuration references the REDIS_USERNAME environment variable, but it is not set.
[laravel:warn] Your app configuration references the AWS_ACCESS_KEY_ID environment variable, but it is not set.
[laravel:warn] Your app configuration references the AWS_SECRET_ACCESS_KEY environment variable, but it is not set.
[laravel:warn] Your app configuration references the AWS_BUCKET environment variable, but it is not set.
[laravel:warn] Your app configuration references the AWS_URL environment variable, but it is not set.
Beta Was this translation helpful? Give feedback.
All reactions