3

I installed a plugin for Magento 2.1.3 from GitHub ( to be more specific, its the PayPal Plus from iways ) after successfully installing and activating it my websetup wizard stops working when i want to update / install extensions from the Magento Marketplace.

After a while of loading i get a 500 ( Internal Server Error )


Error shown in Chrome

GET http://host.domain/setup/index.php/componentGrid/components 500 (Internal Server Error)

After previeing the XHR element i see the following:

Message:
Command "show" failed: Failed to clone the git@github.com:i-ways/magento2-paypal-plus.git repository, try running in interactive mode so that you can enter your GitHub credentials



  [RuntimeException]                                                                                                                                                                                    
  Failed to execute git clone --mirror 'git@github.com:i-ways/magento2-paypal-plus.git' '/usr/www/users/nullnp/de_nullbar/var/composer_home/cache/vcs/git-github.com-i-ways-magento2-paypal-plus.git/'  



show [--all] [-i|--installed] [-p|--platform] [-a|--available] [-s|--self] [-N|--name-only] [-P|--path] [-t|--tree] [package] [version]


Stack trace:
#0 /usr/www/users/nullnp/de_nullbar/setup/src/Magento/Setup/Controller/ComponentGrid.php(98): Magento\Setup\Model\PackagesData->syncPackagesData()
#1 /usr/www/users/nullnp/de_nullbar/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Magento\Setup\Controller\ComponentGrid->componentsAction()
#2 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#3 /usr/www/users/nullnp/de_nullbar/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#4 /usr/www/users/nullnp/de_nullbar/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#5 /usr/www/users/nullnp/de_nullbar/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#6 /usr/www/users/nullnp/de_nullbar/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#7 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#8 /usr/www/users/nullnp/de_nullbar/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#9 /usr/www/users/nullnp/de_nullbar/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /usr/www/users/nullnp/de_nullbar/vendor/zendframework/zend-mvc/src/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#11 /usr/www/users/nullnp/de_nullbar/setup/index.php(31): Zend\Mvc\Application->run()
#12 {main}

I hope someone can help me with that :)

Update: I tried adding a accesstoken to the auth.json, no errors anymore but infinite loading and not showing the components.

  • Have you checked for auth.json in your root Magento installation and var/composer_home/auth.json? – Jonathan Ribas Feb 12 '17 at 17:40
  • Yup, theres no auth.json inside the root directory, but one in var/composer_home/. After adding a github access token there it just loads and loads and loads, nothing happens anymore, not even the error. – Marcel H. Feb 12 '17 at 19:12
  • Try composer clear-cache and check logs inside var/log/ – Jonathan Ribas Feb 12 '17 at 19:22
  • Cleared the var/log directory and went to the websetup wizard - components again. Just some system.log and debug.log but nothing related to my problem – Marcel H. Feb 12 '17 at 19:36
  • Is there an article about "adding GitHub to auth.json" or something similar ? Maybe i got something on that wrong. – Marcel H. Feb 12 '17 at 19:36
2

Problem solved:

I contacted i-ways and let them install the module, everything works fine now. No clue what went wrong as i did it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.