I tried to run the composer self-update method and I'm getting this error message and I'm not sure where to start to fix this issue:
rename(/usr/lib64/plesk-9.0/composer.phar): failed to open stream: Permission denied
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI tried to run the composer self-update method and I'm getting this error message and I'm not sure where to start to fix this issue:
rename(/usr/lib64/plesk-9.0/composer.phar): failed to open stream: Permission denied
You don't have permission to update the plesk version of composer manually but it also should not be necessary:
Plesk installs the updates for Composer once a week
If you need the latest version now, I recommend to install it in the project or in your home directory. For example:
composer.phar
from https://getcomposer.org ~/bin/composer
composer
(or ~/bin/composer
if ~/bin
is not in your PATH) instead of composer.phar
from PleskWith this instance, you also can use selfupdate
.