php - Dotenv not loaded when deploying Bedrock-Capistrano -


i'm doing first bedrock multisite install using bedrock-capistrano.

everything works locally, once deployed, get

warning: mysql_connect(): access denied user 'nobody'@'localhost' (using password: no) in <snip>/releases/<snip>/public/wp/wp-includes/wp-db.php on line 1474

obviously did set info in .env file, , nobody no password isn't information set ;) . have checked env file located; , is. have no other logs or error shown. somehow feels it's not accessing info properly.

any ideas why dotenv not work?

bedrock-capistrano, supposed run composer install part of deployment, did not expected.

connecting server on ssh , running composer install manually did trick dotenv work.

(now issue "why did composer not work", that's else entirely)


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -