Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateRemoteComposerBinary requires sudo #117

Open
mchojrin opened this issue Jul 16, 2020 · 4 comments
Open

updateRemoteComposerBinary requires sudo #117

mchojrin opened this issue Jul 16, 2020 · 4 comments

Comments

@mchojrin
Copy link

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!

@fd6130
Copy link

fd6130 commented Sep 1, 2020

Maybe you need to set a symlink for your composer.

@mchojrin
Copy link
Author

mchojrin commented Sep 2, 2020

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...

@fd6130
Copy link

fd6130 commented Sep 4, 2021

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

@mchojrin
Copy link
Author

mchojrin commented Sep 4, 2021

Ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants