Can't upload a csv file

Hello,
I’m trying to upload a csv file but I encountered the following error

Laminas\ServiceManager\Exception\ServiceNotCreatedException
Service with name “Omeka\Cli” could not be created. Reason: Neither “proc_open()” nor “exec()” are available.
the details:
Omeka\Service\Exception\RuntimeException: Neither “proc_open()” nor “exec()” are available. in /web/htdocs/www.traccedistoria.cloud/home/application/src/Service/CliFactory.php:31 Stack trace: #0 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(765): Omeka\Service\CliFactory->__invoke() #1 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate() #2 /web/htdocs/www.traccedistoria.cloud/home/application/src/Service/Job/DispatchStrategy/PhpCliFactory.php(25): Laminas\ServiceManager\ServiceManager->get() #3 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(765): Omeka\Service\Job\DispatchStrategy\PhpCliFactory->__invoke() #4 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate() #5 /web/htdocs/www.traccedistoria.cloud/home/modules/Log/src/Service/Job/DispatcherFactory.php(13): Laminas\ServiceManager\ServiceManager->get() #6 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(765): Log\Service\Job\DispatcherFactory->__invoke() #7 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate() #8 /web/htdocs/www.traccedistoria.cloud/home/application/src/Service/ControllerPlugin/JobDispatcherFactory.php(12): Laminas\ServiceManager\ServiceManager->get() #9 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(765): Omeka\Service\ControllerPlugin\JobDispatcherFactory->__invoke() #10 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate() #11 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php(153): Laminas\ServiceManager\ServiceManager->get() #12 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/PluginManager.php(114): Laminas\ServiceManager\AbstractPluginManager->get() #13 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(258): Laminas\Mvc\Controller\PluginManager->get() #14 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(273): Laminas\Mvc\Controller\AbstractController->plugin() #15 /web/htdocs/www.traccedistoria.cloud/home/modules/CSVImport/src/Controller/IndexController.php(159): Laminas\Mvc\Controller\AbstractController->__call() #16 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(77): CSVImport\Controller\IndexController->mapAction() #17 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch() #18 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners() #19 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(103): Laminas\EventManager\EventManager->triggerEventUntil() #20 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/DispatchListener.php(139): Laminas\Mvc\Controller\AbstractController->dispatch() #21 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch() #22 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners() #23 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil() #24 /web/htdocs/www.traccedistoria.cloud/home/index.php(21): Laminas\Mvc\Application->run() #25 {main} Next Laminas\ServiceManager\Exception\ServiceNotCreatedException: Service with name “Omeka\Cli” could not be created. Reason: Neither “proc_open()” nor “exec()” are available. in /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php:772 Stack trace: #0 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate() #1 /web/htdocs/www.traccedistoria.cloud/home/application/src/Service/Job/DispatchStrategy/PhpCliFactory.php(25): Laminas\ServiceManager\ServiceManager->get() #2 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(765): Omeka\Service\Job\DispatchStrategy\PhpCliFactory->__invoke() #3 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate() #4 /web/htdocs/www.traccedistoria.cloud/home/modules/Log/src/Service/Job/DispatcherFactory.php(13): Laminas\ServiceManager\ServiceManager->get() #5 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(765): Log\Service\Job\DispatcherFactory->__invoke() #6 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate() #7 /web/htdocs/www.traccedistoria.cloud/home/application/src/Service/ControllerPlugin/JobDispatcherFactory.php(12): Laminas\ServiceManager\ServiceManager->get() #8 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(765): Omeka\Service\ControllerPlugin\JobDispatcherFactory->__invoke() #9 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate() #10 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php(153): Laminas\ServiceManager\ServiceManager->get() #11 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/PluginManager.php(114): Laminas\ServiceManager\AbstractPluginManager->get() #12 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(258): Laminas\Mvc\Controller\PluginManager->get() #13 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(273): Laminas\Mvc\Controller\AbstractController->plugin() #14 /web/htdocs/www.traccedistoria.cloud/home/modules/CSVImport/src/Controller/IndexController.php(159): Laminas\Mvc\Controller\AbstractController->__call() #15 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(77): CSVImport\Controller\IndexController->mapAction() #16 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch() #17 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners() #18 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(103): Laminas\EventManager\EventManager->triggerEventUntil() #19 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/DispatchListener.php(139): Laminas\Mvc\Controller\AbstractController->dispatch() #20 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch() #21 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners() #22 /web/htdocs/www.traccedistoria.cloud/home/vendor/laminas/laminas-mvc/src/Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil() #23 /web/htdocs/www.traccedistoria.cloud/home/index.php(21): Laminas\Mvc\Application->run() #24 {main}

I have no idea what to do. I’m using an hosting service called Aruba. Thanks in advance for any help!

This error means that your server doesn’t support running Omeka S processes or “jobs” in the background.

You’ll probably want to talk to your host and see if they’ll enable the proc_open or exec functions, or possibly look for another host if they won’t.

Thank you very much for the answer. Unfortunately my hosting service told me that my plan doesn’t offer the possibility of changing those two functions in the php.ini file

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.