Hey there,
I am developing the website of my own company as a “hobby”, because I love this craft, and I’m just getting into sage + bedrock + trellis. It has been an awesome experience so far.
My devlopment environment was working perfectly on my macbook pro, but today I migrated to a new iMac, and when I wanted to check if everything is working, the first error came from virtualbox, stating that it was now a different user - and only the original user had the rights. I fixed that by changing the user ID.
So I got vagrant to run, and also yarn, but now after yarn start, when BrowserSync loads the localhost:3000, I receive following errors:
Warning: file(/srv/www/manalyse.de/current/.env): failed to open stream: Permission denied in /srv/www/manalyse.de/current/vendor/vlucas/phpdotenv/src/Loader.php on line 135
Warning: Invalid argument supplied for foreach() in /srv/www/manalyse.de/current/vendor/vlucas/phpdotenv/src/Loader.php on line 56
Fatal error: Uncaught Dotenv\Exception\ValidationException: One or more environment variables failed assertions: DB_NAME is missing, DB_USER is missing, DB_PASSWORD is missing, WP_HOME is missing, WP_SITEURL is missing. in /srv/www/manalyse.de/current/vendor/vlucas/phpdotenv/src/Validator.php on line 122
( ! ) Dotenv\Exception\ValidationException: One or more environment variables failed assertions: DB_NAME is missing, DB_USER is missing, DB_PASSWORD is missing, WP_HOME is missing, WP_SITEURL is missing. in /srv/www/manalyse.de/current/vendor/vlucas/phpdotenv/src/Validator.php on line 122
It still works on my old macbook. I tried pushing any changes to git master and pull again, but it does not seem to be related to that.
If anybody can lead me to the right direction, it would be a great help.