Got the following error while trying to cap deploy:setup
. It's like it failed to upload the database.yml file via sftp. I googled everywhere but had no solution. Not even a bit.
* upload via sftp failed on xxx.xxx.xxx.xxx: Net::SFTP::StatusException (Net::SFTP::StatusException open /var/www/domain.com/username/shared/config/database.yml (3, "permission denied")) upload via sftp failed on xxx.xxx.xxx.xxx: Net::SFTP::StatusException (Net::SFTP::StatusException open /var/www/domain.com/username/shared/config/database.yml (3, "permission denied"))