is_dir(): Unable to find the wrapper "unix"

Permalink
I can't manage to install concrete5.7.4 for a client beacuse of this error. This never happened to me before.

It is pretty anoying because concrete5 tells me at the beggining that everythig is ok and after the database population in the install process gives me this error.

Here is the whole error:
is_dir(): Unable to find the wrapper "unix" - did you forget to enable it when you configured PHP?.
Trace:
#0 [internal function]: Whoops\Run->handleError(2, 'is_dir(): Unabl...', '/data/web/e4902...', 51, Array) #1 /data/web/e49027/html/c5/concrete/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php(51): is_dir('unix:///data/so...') #2 /data/web/e49027/html/c5/concrete/src/Session/Session.php(34): Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler->__construct() #3 /data/web/e49027/html/c5/concrete/src/Session/SessionServiceProvider.php(15): Concrete\Core\Session\Session::start() #4 /data/web/e49027/html/c5/concrete/vendor/illuminate/container/Illuminate/Container/Container.php(498): Concrete\Core\Session\SessionServiceProvider->Concrete\Core\Session\{closure}(Object(Concrete\Core\Application\Application), Array) #5 /data/web/e49027/html/c5/concrete/vendor/illuminate/container/Illuminate/Container/Container.php(425): Illuminate\Container\Container->build(Object(Closure), Array) #6 /data/web/e49027/html/c5/concrete/vendor/illuminate/container/Illuminate/Container/Container.php(809): Illuminate\Container\Container->make('session') #7 /data/web/e49027/html/c5/concrete/src/Support/Facade/Facade.php(43): Illuminate\Container\Container->offsetGet('session') #8 /data/web/e49027/html/c5/concrete/src/Support/Facade/Facade.php(105): Concrete\Core\Support\Facade\Facade::resolveFacadeInstance('session') #9 /data/web/e49027/html/c5/concrete/src/User/User.php(203): Concrete\Core\Support\Facade\Facade::__callStatic('has', Array) #10 /data/web/e49027/html/c5/concrete/src/User/User.php(203): Concrete\Core\Support\Facade\Session::has('uID') #11 /data/web/e49027/html/c5/concrete/src/User/User.php(52): Concrete\Core\User\User->__construct() #12 /data/web/e49027/html/c5/concrete/src/Package/StartingPointPackage.php(341): Concrete\Core\User\User::getByUserID(1, true, false) #13 [internal function]: Concrete\Core\Package\StartingPointPackage->add_users() #14 /data/web/e49027/html/c5/concrete/controllers/install.php(264): call_user_func(Array) #15 [internal function]: Concrete\Controller\Install->run_routine('elemental_blank', 'add_users') #16 /data/web/e49027/html/c5/concrete/src/Controller/AbstractController.php(156): call_user_func_array(Array, Array) #17 /data/web/e49027/html/c5/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #18 /data/web/e49027/html/c5/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #19 /data/web/e49027/html/c5/concrete/src/Support/Facade/Facade.php(119): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #20 /data/web/e49027/html/c5/concrete/src/Application/Application.php(366): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #21 /data/web/e49027/html/c5/concrete/src/Application/Application.php(366): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #22 /data/web/e49027/html/c5/concrete/bootstrap/start.php(217): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #23 /data/web/e49027/html/c5/concrete/dispatcher.php(36): require('/data/web/e4902...') #24 /data/web/e49027/html/c5/index.php(2): require('/data/web/e4902...') #25 {main}

 
locojohn replied on at Permalink Reply
locojohn
We are experiencing the same issue. The issue seems to be because of alternative session handler configured in php.ini, where session.save_path does not contain a valid file system directory. In our case we are using memcache:

[Session]
session.save_handler = memcache
session.save_path = "unix:///run/memcached/memcached.sock"

It looks like concrete5 5.7 does not support session handlers other than 'files' at the moment. The workaround would be to set:

[Session]
session.save_handler = files
session.save_path = "/existing/path/to/session/files"


Support for memcache (and other) session handlers would be extremely useful though.

Andrejs