easy-deploy-bundle icon indicating copy to clipboard operation
easy-deploy-bundle copied to clipboard

updateRemoteComposerBinary requires sudo

Open mchojrin opened this issue 4 years ago • 4 comments

Hi:

I'm trying to deploy my application using this bundle, it works pretty fine generally but now I found I need to do an update to my composer binary.

I set updateRemoteComposerBinary to true but I'm getting an error from trying to place the composer binary inside /usr/local/bin/

It would work if I could just run this command using sudo... Is there any way to set this?

Thanks!

mchojrin avatar Jul 16 '20 20:07 mchojrin

Maybe you need to set a symlink for your composer.

fd6130 avatar Sep 01 '20 14:09 fd6130

Yeah... I don't think that'd work. The problem I have is I'd have to replace the binary stored at /usr/local/bin/ (which I can do using sudo). Perhaps there could be a new method executeAsSudo or maybe a parameter to use sudo for the command...

mchojrin avatar Sep 02 '20 14:09 mchojrin

Well... i suggest not to update the composer unless you really want to. If the version is working, just kept it as it.

fd6130 avatar Sep 04 '21 11:09 fd6130

Ok, thanks.

mchojrin avatar Sep 04 '21 18:09 mchojrin