warden composer install issue with cache dir #827
Unanswered
rahil28288
asked this question in
Help & Support
Replies: 1 comment
-
@rahil28288 How are you accessing the Warden shell? It looks like somehow you're dropping into a root session instead of the normal user session. You should be able to just run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am facing issue with composer install / update command in waden shell. I am trying to setup Magento2 with warden and whenever I run composer install or update command it throws below error.
_[RuntimeException]
Failed to execute git clone --mirror -- 'git@bitbucket.org:cycloness/vendor-module-backoffice.git' '/root/.cache/composer/vcs/git-vendor-module-backoffice.git/'
Cloning into bare repository /root/.cache/composer/vcs/git-vendor-module-backoffice.git/'...
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists._
Here my composer cache dir actual path is
/home/www-data/.cache/composer
. But somehow whenever run composer command in shell it try to create cache on wrong location/root/.cache/composer
Any help is much appreciated ?
Thanks
Rahil
Beta Was this translation helpful? Give feedback.
All reactions