Input/Output Error

Permalink
Hi Guys,

I'm getting the following error when trying to do a fresh installed - this seems to always happen after the "adding admin user" step.

mkdir(): Input/output error.

Trace:
#0 [internal function]: Whoops\Run->handleError(2, 'mkdir(): Input/...', '/home/hp3-linc1...', 51, Array) #1 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Session/Storage/Handler/NativeFileSessionHandler.php(51): mkdir('10.10.111.52:11...', 511, true) #2 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Session/SessionFactory.php(100): Concrete\Core\Session\Storage\Handler\NativeFileSessionHandler->__construct(NULL) #3 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Session/SessionFactory.php(67): Concrete\Core\Session\SessionFactory->getSessionHandler(Object(Concrete\Core\Config\Repository\Repository)) #4 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Session/SessionFactory.php(42): Concrete\Core\Session\SessionFactory->getSessionStorage(Object(Concrete\Core\Config\Repository\Repository)) #5 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Session/SessionServiceProvider.php(17): Concrete\Core\Session\SessionFactory->createSession() #6 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/vendor/illuminate/container/Container.php(735): Concrete\Core\Session\SessionServiceProvider->Concrete\Core\Session\{closure}(Object(Concrete\Core\Application\Application), Array) #7 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Application/Application.php(552): Illuminate\Container\Container->build(Object(Closure), Array) #8 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/vendor/illuminate/container/Container.php(633): Concrete\Core\Application\Application->build(Object(Closure), Array) #9 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/vendor/illuminate/container/Container.php(1178): Illuminate\Container\Container->make('session') #10 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/User/User.php(133): Illuminate\Container\Container->offsetGet('session') #11 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/User/User.php(46): Concrete\Core\User\User->__construct() #12 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Package/StartingPointPackage.php(407): Concrete\Core\User\User::getByUserID(1, true, false) #13 [internal function]: Concrete\Core\Package\StartingPointPackage->add_users() #14 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/controllers/Install.php(294): call_user_func(Array) #15 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'add_users') #16 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Controller/AbstractController.php(173): call_user_func_array(Array, Array) #17 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #18 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Routing/Router.php(149): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #19 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Support/Facade/Facade.php(121): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #20 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Application/Application.php(446): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #21 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Application/Application.php(446): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #22 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Foundation/Runtime/Run/DefaultRunner.php(66): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #23 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/src/Foundation/Runtime/DefaultRuntime.php(113): Concrete\Core\Foundation\Runtime\Run\DefaultRunner->run() #24 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/concrete/dispatcher.php(40): Concrete\Core\Foundation\Runtime\DefaultRuntime->run() #25 /home/hp3-linc1-nfs2-y/030/566030/user/htdocs/index.php(3): require('/home/hp3-linc1...') #26 {main}

 
A3020 replied on at Permalink Reply
A3020
Looks like this has something to do with your session path.

What do you get if you echo out ini_get('session.save_path')? (or check your phpinfo / .ini)

PS. You can manually set the session path in /application/config/concrete.php, which will override the core default settings (/concrete/config/concrete.php).
delodien replied on at Permalink Reply
Hi,

I've ran the command and brought back: session.save_path = 10.10.111.52:11211,10.10.111.53:11211

In my limited PHP knowledge this doesn't seem right mainly because my other hosting where concrete5 works, the path is set to /tmp/

I've looked at adding it to the file you mentioned but can't seem to see the file? It's a fresh install and my PHP knowledge isn't great so any assistance would be really appreciated!
A3020 replied on at Permalink Reply
A3020
Yeah, that doesn't seem right. Ok, add this to /application/config/concrete.php:

return array(
  'session' => array(
     'save_path' => '/tmp'
  );
);


EDIT: it seems your host is set up with memcached. Not sure how that works in C57...
delodien replied on at Permalink Reply
Appreciate the response.

I've been in talks with the hosting provider, looks like they don't support the setting of the session save path so trying to get it set to something that works (aren't being the most helpful)

I assume there isn't really anyway around the issue? Apart from the save_path?
A3020 replied on at Permalink Reply
A3020
Maybe there is, but I'm afraid I can't help you any further. I hope you find a solution. If you do, please share it here on the forums :)
delodien replied on at Permalink Reply
I belive it may be down to the memcache as you mentioned so I'm going to explore that further - if I get anywhere I'll be sure to update this!

Thanks a lot for your help.
petegriggs replied on at Permalink Reply
Did you manage to get anywhere with this?