cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.0 install error : [ERROR] exception 'Exception' with message 'Warning: mkdir(): File exist

Magento 2.0 install error : [ERROR] exception 'Exception' with message 'Warning: mkdir(): File exist

Hi all, hope someone can help. New to magento, but having trouble installing 2.0 on a local test server. Have got all the dependencies installed, and the database created etc, it's the last phase of the install. Have been given this error message, but can't make sense of it really. Hoping someone more experienced with this can help. Installing onto CentOS.

 

Thanks!

 

[ERROR] exception 'Exception' with message 'Warning: mkdir(): File exists in /var/www/mydomain.com/vendor/magento/framework/Filesystem/Driver/File.php on line 219' in /var/www/mydomain.com/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'mkdir(): File e...', '/var/www/mydoma...', 219, Array)
#1 /var/www/mydomain.com/vendor/magento/framework/Filesystem/Driver/File.php(219): mkdir('/var/www/mydoma...', 504)
#2 /var/www/mydomain.com/vendor/magento/framework/Filesystem/Driver/File.php(198): Magento\Framework\Filesystem\Driver\File->mkdirRecursive('/var/www/mydoma...', 504)
#3 /var/www/mydomain.com/vendor/magento/framework/Filesystem/Directory/Write.php(88): Magento\Framework\Filesystem\Driver\File->createDirectory('/var/www/mydoma...', 504)
#4 /var/www/mydomain.com/vendor/magento/framework/Filesystem/Directory/Write.php(247): Magento\Framework\Filesystem\Directory\Write->create('.')
#5 /var/www/mydomain.com/vendor/magento/framework/Filesystem/Directory/Write.php(264): Magento\Framework\Filesystem\Directory\Write->openFile('install.log', 'a+')
#6 /var/www/mydomain.com/setup/src/Magento/Setup/Model/WebLogger.php(114): Magento\Framework\Filesystem\Directory\Write->writeFile('install.log', '<span ')<br="" style='box-sizing: inherit;orphans: auto;text-align: start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px'>#8 /var/www/mydomain.com/setup/src/Magento/Setup/Model/Installer.php(327): Magento\Setup\Model\WebLogger->log('Starting Magent...')
#9 /var/www/mydomain.com/setup/src/Magento/Setup/Controller/Install.php(97): Magento\Setup\Model\Installer->install(Array)
#10 /var/www/mydomain.com/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Magento\Setup\Controller\Install->startAction()
#11 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#12 /var/www/mydomain.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#13 /var/www/mydomain.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#14 /var/www/mydomain.com/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 /var/www/mydomain.com/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#16 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#17 /var/www/mydomain.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#18 /var/www/mydomain.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#19 /var/www/mydomain.com/vendor/zendframework/zend-mvc/src/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#20 /var/www/mydomain.com/setup/index.php(31): Zend\Mvc\Application->run()
#21 {main}

2 REPLIES 2

Re: Magento 2.0 install error : [ERROR] exception 'Exception' with message 'Warning: mkdir(): File e

Re: Magento 2.0 install error : [ERROR] exception 'Exception' with message 'Warning: mkdir(): File e