• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Docker Extension Permission denied

Brujo

Silver Pleskian
Plesk Guru
OS Ubuntu 16.04.7 LTS
Product Plesk Obsidian Version 18.0.32 Update #2
Docker Version 1.4.7-189

Docker extension stopped to work, now when I try to open the Extension I just get an Error: Permission denied in the Plesk Panel. I uninstalled it an installed it but this didnt help. In the panel.log I can see the following error message:


[2020-12-25 10:36:07.798] ERR [panel] PleskExt\Docker\Exceptions\ServiceUnavailableException: Permission denied
file: /opt/psa/admin/plib/modules/docker/library/Docker/Client.php
line: 78
code: 0
trace: #0 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpClientDecorator.php(28): PleskExt\Docker\Client->sendRequest(object of type GuzzleHttp\Psr7\Request)
#1 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpAsyncClientEmulator.php(31): Http\Client\Common\EmulatedHttpAsyncClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#2 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpAsyncClientDecorator.php(27): Http\Client\Common\EmulatedHttpAsyncClient->sendAsyncRequest(object of type GuzzleHttp\Psr7\Request)
#3 /opt/psa/admin/plib/modules/docker/vendor/docker-php/docker-php/generated/Resource/ContainerResource.php(41): Http\Client\Common\FlexibleHttpClient->sendAsyncRequest(object of type GuzzleHttp\Psr7\Request)
#4 /opt/psa/admin/plib/modules/docker/library/Docker/FindAllContainersTrait.php(16): Docker\API\Resource\ContainerResource->findAll(array)
#5 /opt/psa/admin/plib/modules/docker/controllers/IndexController.php(113): IndexController::findAllContainers(object of type Docker\Manager\ContainerManager)
#6 /opt/psa/admin/plib/modules/docker/controllers/IndexController.php(87): IndexController->_getContainers()
#7 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): IndexController->listAction()
#8 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'listAction')
#9 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
#10 /opt/psa/admin/plib/pm/Application.php(91): Zend_Controller_Front->dispatch()
#11 /opt/psa/admin/htdocs/modules/docker/index.php(5): pm_Application->run()
--
#0 /opt/psa/admin/plib/modules/docker/vendor/php-http/socket-client/src/Client.php(82): Http\Client\Socket\Client->createSocket(object of type GuzzleHttp\Psr7\Request, string 'unix:///var/run/docker.sock', boolean false)
#1 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpClientDecorator.php(28): Http\Client\Socket\Client->sendRequest(object of type GuzzleHttp\Psr7\Request)
#2 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(82): Http\Client\Common\EmulatedHttpAsyncClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#3 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/Plugin/DecoderPlugin.php(61): Http\Client\Common\PluginClient->Http\Client\Common\{closure}(object of type GuzzleHttp\Psr7\Request)
#4 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(161): Http\Client\Common\Plugin\DecoderPlugin->handleRequest(object of type GuzzleHttp\Psr7\Request, object of type Closure, object of type Closure)
#5 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/Plugin/ContentLengthPlugin.php(34): Http\Client\Common\PluginClient->Http\Client\Common\{closure}(object of type GuzzleHttp\Psr7\Request)
#6 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(161): Http\Client\Common\Plugin\ContentLengthPlugin->handleRequest(object of type GuzzleHttp\Psr7\Request, object of type Closure, object of type Closure)
#7 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/Plugin/ErrorPlugin.php(51): Http\Client\Common\PluginClient->Http\Client\Common\{closure}(object of type GuzzleHttp\Psr7\Request)
#8 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(161): Http\Client\Common\Plugin\ErrorPlugin->handleRequest(object of type GuzzleHttp\Psr7\Request, object of type Closure, object of type Closure)
#9 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(175): Http\Client\Common\PluginClient->Http\Client\Common\{closure}(object of type GuzzleHttp\Psr7\Request)
#10 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(88): Http\Client\Common\PluginClient->Http\Client\Common\{closure}(object of type GuzzleHttp\Psr7\Request)
#11 /opt/psa/admin/plib/modules/docker/library/Docker/Client.php(76): Http\Client\Common\PluginClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#12 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpClientDecorator.php(28): PleskExt\Docker\Client->sendRequest(object of type GuzzleHttp\Psr7\Request)
#13 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpAsyncClientEmulator.php(31): Http\Client\Common\EmulatedHttpAsyncClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#14 /opt/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpAsyncClientDecorator.php(27): Http\Client\Common\EmulatedHttpAsyncClient->sendAsyncRequest(object of type GuzzleHttp\Psr7\Request)
#15 /opt/psa/admin/plib/modules/docker/vendor/docker-php/docker-php/generated/Resource/ContainerResource.php(41): Http\Client\Common\FlexibleHttpClient->sendAsyncRequest(object of type GuzzleHttp\Psr7\Request)
#16 /opt/psa/admin/plib/modules/docker/library/Docker/FindAllContainersTrait.php(16): Docker\API\Resource\ContainerResource->findAll(array)
#17 /opt/psa/admin/plib/modules/docker/controllers/IndexController.php(113): IndexController::findAllContainers(object of type Docker\Manager\ContainerManager)
#18 /opt/psa/admin/plib/modules/docker/controllers/IndexController.php(87): IndexController->_getContainers()
#19 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): IndexController->listAction()
#20 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'listAction')
#21 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
#22 /opt/psa/admin/plib/pm/Application.php(91): Zend_Controller_Front->dispatch()
#23 /opt/psa/admin/htdocs/modules/docker/index.php(5): pm_Application->run()

[2020-12-25 10:36:07.798] ERR [panel.ui] Permission denied
 
Back
Top