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

Installation Error: [ERROR] exception 'Zend\Stdlib\Exception\RuntimeException' with message 'glob('/home/mage2/domains/magento2.uldev.co/public_html/magento2/app/code/Magento/Store/data/*', 8192) failed' in /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-stdlib/Zend/Stdlib/Glob.php:85 #827

Closed
idawgik opened this issue Dec 18, 2014 · 13 comments

Comments

@idawgik
Copy link

idawgik commented Dec 18, 2014

When attempting to install Magento2, it errors out at the beginning of the install process.

This is the output from the console log during install:

Starting Magento installation:
File permissions check...

Enabling Maintenance Mode...

Installing deployment configuration...

Installing database schema:
Schema creation/updates:
Module 'Magento_Core':

Module 'Magento_Store':
[ERROR] exception 'Zend\Stdlib\Exception\RuntimeException' with message 'glob('/home/mage2/domains/magento2.uldev.co/public_html/magento2/app/code/Magento/Store/data/*', 8192) failed' in /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-stdlib/Zend/Stdlib/Glob.php:85 
Stack trace: 
#0 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-stdlib/Zend/Stdlib/Glob.php(46): Zend\Stdlib\Glob::systemGlob('/home/mage2/dom...', 32) 
#1 /home/mage2/domains/magento2.uldev.co/public_html/magento2/setup/module/Magento/Setup/src/Module/Setup/FileResolver.php(68): Zend\Stdlib\Glob::glob('/home/mage2/dom...', 32) 
#2 /home/mage2/domains/magento2.uldev.co/public_html/magento2/setup/module/Magento/Setup/src/Module/SetupModule.php(76): Magento\Setup\Module\Setup\FileResolver->getResourceCode('Magento_Store') 
#3 /home/mage2/domains/magento2.uldev.co/public_html/magento2/setup/module/Magento/Setup/src/Module/SetupFactory.php(62): Magento\Setup\Module\SetupModule->__construct(Object(Magento\Setup\Model\WebLogger), Object(Magento\Framework\Module\ModuleList), Object(Magento\Setup\Module\Setup\FileResolver), 'Magento_Store', Object(Magento\Framework\App\Resource)) 
#4 /home/mage2/domains/magento2.uldev.co/public_html/magento2/setup/module/Magento/Setup/src/Model/Installer.php(558): Magento\Setup\Module\SetupFactory->createSetupModule(Object(Magento\Setup\Model\WebLogger), 'Magento_Store') 
#5 [internal function]: Magento\Setup\Model\Installer->installSchema() 
#6 /home/mage2/domains/magento2.uldev.co/public_html/magento2/setup/module/Magento/Setup/src/Model/Installer.php(296): call_user_func_array(Array, Array) 
#7 /home/mage2/domains/magento2.uldev.co/public_html/magento2/setup/module/Magento/Setup/src/Controller/Install.php(79): Magento\Setup\Model\Installer->install(Array) 
#8 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-mvc/Zend/Mvc/Controller/AbstractActionController.php(83): Magento\Setup\Controller\Install->startAction() 
#9 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) 
#10 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-eventmanager/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) 
#11 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-eventmanager/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) 
#12 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-mvc/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) 
#13 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-mvc/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response)) 
#14 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) 
#15 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-eventmanager/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) 
#16 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-eventmanager/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) 
#17 /home/mage2/domains/magento2.uldev.co/public_html/magento2/vendor/zendframework/zend-mvc/Zend/Mvc/Application.php(313): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) 
#18 /home/mage2/domains/magento2.uldev.co/public_html/magento2/setup/index.php(24): Zend\Mvc\Application->run() 
#19 {main}

It appears to be looking for the app/code/Magento/Store/data/ directory which doesn't exist from the repo.

I have run the composer install in the webroot.

Am I missing something in the process?

@muasir muasir added the PS label Dec 18, 2014
@mazhalai
Copy link
Contributor

What OS and server are you running?

@idawgik
Copy link
Author

idawgik commented Dec 18, 2014

That is on a CentOS 6.6 server with Apache 2.4.6 and MySql 5.6.14

@mazhalai
Copy link
Contributor

Looks like it is attempting to use the system glob. According to php documentation http://docs.php.net/glob

Note: On some systems it is impossible to distinguish between empty match and an error.

Can you please confirm glob is working fine with a sample php as shown here #587 (comment)

@idawgik
Copy link
Author

idawgik commented Dec 18, 2014

I made an empty directory and ran that test file pointing to it.

Here is the output:

array(1) { [0]=> string(55) "/home/mage2/domains/magento2.uldev.co/public_html/test/" }

@mazhalai
Copy link
Contributor

What about for a non existing directory?

@idawgik
Copy link
Author

idawgik commented Dec 18, 2014

Running it on a non-existing directory returns this:

bool(false)

@mazhalai
Copy link
Contributor

What version of php?
Also, have you tried using the Command Line Installer mentioned here?

@idawgik
Copy link
Author

idawgik commented Dec 19, 2014

PHP 5.4.21

I just tried the command line install and that worked fine. So there's something with the web install that was causing problems.

@mazhalai
Copy link
Contributor

Glad to hear that CLI worked fine.

Web installed was successful on Ubuntu 14.04, Apache 2.4.7, PHP 5.5.9 and mySQL 5.6.19. Will try to recreate this issue on CentOS 6.6.

@idawgik
Copy link
Author

idawgik commented Dec 19, 2014

Ok cool. Yeah looks like something environmental.

Let me know if I can assist in any way.

@mazhalai
Copy link
Contributor

Verified that Web Setup is successful on CentOS release 6.6, Apache/2.2.15, PHP 5.5.18, MySQL 5.6.22

@maksek
Copy link
Contributor

maksek commented Dec 26, 2014

Hi @idawgik, let us know if you still facing the problem.

@maksek
Copy link
Contributor

maksek commented Jan 8, 2015

Closed due long inactivity by creator. If you still have issue - feel free to reopen.

@maksek maksek closed this as completed Jan 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants