• 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

Resolved I can't start Docker

Piekielko

Basic Pleskian
I have a problem installing and running Docker

# plesk bin extension --install docker
[2019-10-04 21:15:53.509] ERR [extension/docker] The execution of post-install.php has failed with the following message:
[2019-10-04 21:15:53.496] ERR [extension/docker] Execution installer has failed with exit code 1, stdout: Reading package lists...
Building dependency tree...
Reading state information...
dmsetup is already the newest version (2:1.02.145-4.1ubuntu3.18.04.1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
kernelcare : Depends: python-openssl but it is not going to be installed
, stderr: E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ERROR:root:Command '['apt-get', '-q', '--assume-yes', '-o', 'Dpkg::Options::=--force-confdef', '-o', 'Dpkg::Options::=--force-confold', '-o', 'APT::Install-Recommends=no', '--purge', 'install', 'dmsetup']' returned non-zero exit status 100
exit status 1


I uninstalled kernelcare and Docker installed. Now, however, I can't run it. After selecting this application, the following message appears: Permission denied
 
Please connect via ssh
Code:
plesk bin extension --uninstall docker
After this install docker again
Code:
plesk bin extension --install docker
 
Could you please check:
Error-Log: /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log
Panel log: /var/log/plesk/panel.log

And paste the output here?
 
2019/10/04 19:16:02 [notice] 22211#0: signal process started
2019/10/04 19:16:45 [notice] 25636#0: signal process started
2019/10/04 21:19:12 [error] 25638#0: *4126 FastCGI sent in stderr: "Primary script unknown" while reading response header fr$


[2019-10-04 21:43:21.691] ERR [panel.ui] Permission denied
[2019-10-04 21:44:50.263] ERR [panel] Task failed: id=23, pid=23029, type=ext-joomla-toolkit-task\scan, error=No Home Paths found. Create a webspace first.
[2019-10-04 21:44:50.263] ERR [panel] No Home Paths found. Create a webspace first.
[2019-10-04 21:49:20.434] 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/docker-php/docker-php/generated/Resource/ContainerResource.php(41): Http\Client\Common\FlexibleHttpClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#2 /opt/psa/admin/plib/modules/docker/library/Docker/FindAllContainersTrait.php(13): Docker\API\Resource\ContainerResource->findAll(array)
#3 /opt/psa/admin/plib/modules/docker/controllers/IndexController.php(113): IndexController::findAllContainers(object of type Docker\Manager\ContainerManager)
#4 /opt/psa/admin/plib/modules/docker/controllers/IndexController.php(87): IndexController->_getContainers()
#5 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): IndexController->listAction()
#6 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'listAction')
#7 /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)
#8 /opt/psa/admin/plib/pm/Application.php(91): Zend_Controller_Front->dispatch()
#9 /opt/psa/admin/htdocs/modules/docker/index.php(5): pm_Application->run()
--
#0 /opt/psa/admin/plib/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/plugins/src/DecoderPlugin.php(67): 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\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/plugins/src/ContentLengthPlugin.php(37): 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\Plugin\ContentLengthPlugin->handleRequest(object of type GuzzleHttp\Psr7\Request, object of type Closure, object of type C$
#7 /opt/psa/admin/plib/modules/docker/vendor/php-http/plugins/src/ErrorPlugin.php(28): 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\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/vendor/php-http/plugins/src/PluginClient.php(47): Http\Client\Common\PluginClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#12 /opt/psa/admin/plib/modules/docker/library/Docker/Client.php(76): Http\Client\Plugin\PluginClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#13 /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)
#14 /opt/psa/admin/plib/modules/docker/vendor/docker-php/docker-php/generated/Resource/ContainerResource.php(41): Http\Client\Common\FlexibleHttpClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#15 /opt/psa/admin/plib/modules/docker/library/Docker/FindAllContainersTrait.php(13): Docker\API\Resource\ContainerResource->findAll(array)
#16 /opt/psa/admin/plib/modules/docker/controllers/IndexController.php(113): IndexController::findAllContainers(object of type Docker\Manager\ContainerManager)
#17 /opt/psa/admin/plib/modules/docker/controllers/IndexController.php(87): IndexController->_getContainers()
#18 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): IndexController->listAction()
#19 /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'listAction')
#20 /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)
#21 /opt/psa/admin/plib/pm/Application.php(91): Zend_Controller_Front->dispatch()
#22 /opt/psa/admin/htdocs/modules/docker/index.php(5): pm_Application->run()

[2019-10-04 21:49:20.434] ERR [panel.ui] Permission denied
[2019-10-04 22:00:17.562] ERR [extension/joomla-toolkit] Read timed out after 10 seconds
 
Mh looks like permission failure, guess that in the pleskdb regarding the with the custom view for admin something is wrong.

Please execute:
Code:
plesk repair db -y
 
plesk repair db -y
Checking the Plesk database using the native database server tools .. [OK]
Checking the structure of the Plesk database ........................ [OK]
Checking the consistency of the Plesk database ...................... [OK]
Error messages: 0; Warnings: 0; Errors resolved: 0
 
Earlier I had the same problem on Plesk Onyx. I reinstalled the Ubuntu 18.04.3 LTS‬ and manually installed Plesk Obsydian I have the same problem
 
Docker works but I have forbidden access every now. Mabe interval 60 sec.
Firewall?


1.PNG 2.PNG Docker works, but I have random






The problem solved itself - it was enough to reboot the server ;-)
 
Last edited:
Back
Top