Trygin to install Magento but the setup wizard only shows this:
Failed to load resource: /shop/setup/index.php/landing-installer the server responded with a status of 500 (Internal Server Error)
How I fix this ?
Solved! Go to Solution.
i sloved this problem with add "disable-tls": true in composer.json file like this:
"config": { "use-include-path": true, "disable-tls": true },
Hi @knittdolln,
Can you check on your webserver error log? The error 500 is a general error and you'll find some clue on that log probably.
Additional information:
Exception
File:
/home/admin/domains/....My Domain...../private_html/shop/vendor/magento/framework/App/ErrorHandler.php:61
Message:
Warning: is_dir(): open_basedir restriction in effect. File(/etc/pki/tls/certs) is not within the allowed path(s): (/home/admin/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php70/lib/php/:/usr/local/php56/lib/php/) in /home/admin/domains/....My Domain...../private_html/shop/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php on line 914
Stack trace:
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'is_dir(): open_...', '/home/admin/dom...', 914, Array)
#1 /home/admin/domains/....My Domain...../private_html/shop/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php(914): is_dir('/etc/pki/tls/ce...')
#2 /home/admin/domains/....My Domain...../private_html/shop/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php(801): Composer\Util\RemoteFilesystem->getSystemCaRootBundlePath()
#3 /home/admin/domains/....My Domain...../private_html/shop/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php(61): Composer\Util\RemoteFilesystem->getTlsDefaults(Array)
#4 /home/admin/domains/....My Domain...../private_html/shop/vendor/composer/composer/src/Composer/Factory.php(566): Composer\Util\RemoteFilesystem->__construct(Object(Composer\IO\BufferIO), Object(Composer\Config), Array, false)
#5 /home/admin/domains/....My Domain...../private_html/shop/vendor/composer/composer/src/Composer/Factory.php(306): Composer\Factory::createRemoteFilesystem(Object(Composer\IO\BufferIO), Object(Composer\Config))
#6 /home/admin/domains/....My Domain...../private_html/shop/vendor/composer/composer/src/Composer/Factory.php(532): Composer\Factory->createComposer(Object(Composer\IO\BufferIO), Array, false)
#7 /home/admin/domains/....My Domain...../private_html/shop/vendor/magento/framework/Composer/ComposerFactory.php(47): Composer\Factory::create(Object(Composer\IO\BufferIO), '/home/admin/dom...')
#8 /home/admin/domains/....My Domain...../private_html/shop/vendor/magento/framework/Composer/ComposerInformation.php(362): Magento\Framework\Composer\ComposerFactory->create()
#9 /home/admin/domains/....My Domain...../private_html/shop/vendor/magento/framework/Composer/ComposerInformation.php(375): Magento\Framework\Composer\ComposerInformation->getComposer()
#10 /home/admin/domains/....My Domain...../private_html/shop/vendor/magento/framework/Composer/ComposerInformation.php(242): Magento\Framework\Composer\ComposerInformation->getLocker()
#11 /home/admin/domains/....My Domain...../private_html/shop/vendor/magento/framework/App/ProductMetadata.php(104): Magento\Framework\Composer\ComposerInformation->getSystemPackages()
#12 /home/admin/domains/....My Domain...../private_html/shop/vendor/magento/framework/App/ProductMetadata.php(65): Magento\Framework\App\ProductMetadata->getSystemPackageVersion()
#13 /home/admin/domains/....My Domain...../private_html/shop/setup/src/Magento/Setup/Controller/LandingInstaller.php(41): Magento\Framework\App\ProductMetadata->getVersion()
#14 /home/admin/domains/....My Domain...../private_html/shop/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Magento\Setup\Controller\LandingInstaller->indexAction()
#15 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#16 /home/admin/domains/....My Domain...../private_html/shop/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#17 /home/admin/domains/....My Domain...../private_html/shop/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#18 /home/admin/domains/....My Domain...../private_html/shop/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#19 /home/admin/domains/....My Domain...../private_html/shop/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#20 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#21 /home/admin/domains/....My Domain...../private_html/shop/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#22 /home/admin/domains/....My Domain...../private_html/shop/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#23 /home/admin/domains/....My Domain...../private_html/shop/vendor/zendframework/zend-mvc/src/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#24 /home/admin/domains/....My Domain...../private_html/shop/setup/index.php(31): Zend\Mvc\Application->run()
#25 {main}
Hi @knittdolln,
Did you set an https environment? Is it possible for you to remove the open_basedir just to be sure?
Are you trying to install a fresh Magento copy or is it an ongoing project? I'm not sure why the installer is trying to access to /etc/pki/tls/certs.
Thanks a lot! It solved problem where below error was shown:
[root-directory]/setup/index.php/landing-installer 500 (Internal Server Error)
angular.js:7715
Since, I am working on local environment so disabling SSL/TLS is not an issue...