-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Web Setup Wizard can't handle git repositories #11034
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
Comments
Hi @spiegl is the command line user the same as the web user? I think this problem could be due to the web user also requiring access to git hub via keys also. You could try adding the github key to the webuser or updating the repository to work over https rather than ssh. |
Hi @dmanners, what do you mean with web user? The command line user is the same as the apache user (checked via |
Sorry yup that is what I was meaning. As long as both the command line user and apache user have access to the same key then it should be able to access git via ssh. |
I believe composer/composer#3542 (comment) should do the trick. |
@spiegl we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue. |
I have the same problem... Did anyone find a fix for that? |
@allumanatu did you try my suggestion? |
I'm facing this exact issue too and tried @orlangur 's suggestion, however it did not work for me. Really frustrating as it is the first time I've used github via composer and it has caused all of this. |
Preconditions
composer.json
(FireGento_FastSimpleImport2 and magento2-disable-customer-registration in my case)Steps to reproduce
Expected result
Actual result
Discussion
The first error message obviously refers to
composer show
. If I execute the command via cli everything works properly, probably because the GitHub OAuth Token is stored in~/.config/composer/auth.json
. The<Magento root>/var/composer_home/auth.json
file does only contain the credentials for the magento repo, which is created by the "Save Config" action.I've also tried to manually add the GitHub Token in
<Magento root>/var/composer_home/auth.json
. This does not solve the issue, but the result is slightly different.If all packages, which refer to git, are deleted from
composer.json
andcomposer.lock
the Web Setup Wizard works properly (expecting the needed packages). The Web Setup Wizard also works properly when no keys were stored in the System Config of the Web Setup Wizard.The text was updated successfully, but these errors were encountered: