• 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 can't start anymore

The daily auto-update re-installed the breaking change package. I have now disabled all auto-updates, except Plesk-core.
Sorry, i forgot to tell you to block the dockers* update while the problem is not solved, editing /etc/yum.conf, and adding this line :
Code:
exclude=docker*
 
the anwer i had in the ticket:

The issue that you faced resulted due to change of behavior in the docker daemon configuration i.e. previously, only warning was thrown if a storage driver configured was deprecated. With the recent patch, it changes the behavior i.e. now it returns with error causing the daemon to stop working so it is not caused by a Plesk fault, but rather a Docker issue.

According to official Docker documentation:
Thedevicemapperstorage driver is deprecated in favor ofoverlay2, and will be removed in a future release. Users of thedevicemapperstorage driver are recommended to migrate to a different storage driver, such asoverlay2, which is now the default storage driver.
Device mapper storage driver
Deprecated in Release: v18.09 Disabled by default in Release: v23.0.0

The workaround I provided previously is a temporary solution to allow you to migrate your containers to supported storage driver. At the moment, our development team is still investigating it and our recommendation is to follow Docker's official documentation by using docker save to migrate containers to the supported storage driver during the maintenance window:

Please note: it's highly recommended to create a server snapshot before proceeding with the following steps (so you can roll back to the previous configuration). I would also advise contacting Docker support beforehand since the issue is quite recent, and maybe they can help you to reformat the storage drive in another way.

1. Backup containers with the steps from the following article:
docker save
2. Remove the contents of the /etc/docker/daemon.json file
3. Configure Docker with the overlay or overlay2 storage driver as per instructions:
Use the OverlayFS storage driver
4. Load the backed-up image or repository from a tar archive as per the article:
docker load

For more details please refer to the Docker article:
Deprecated Engine Features
 
Same Problem here: "Failed to start Docker Application Container Engine".

I solved the problem halfway by full reinstalling Docker.
- First I uninstalled Docker via the Plesk Extensions.
- After that I removed all leftovers with this tip (all docker images will be lost): Docker not completely removed
- Then I reinstalled Docker via the Plesk Extensions
- Now Docker is running again and I installed Docker images again via the console. However, I can no longer access the interface via the Plesk interface. The error "Permission denied" always comes up. If you look at the panel logs under /var/log/plesk/panel.log, you can still see the current error:

Code:
[2023-02-10 06:42:03.367] 5346:63e5d92a00d52 ERR [panel] Task failed: id=15651, pid=0, type=service-node-environment-synchronization, error=Communication with task manager has failed: Unprocessable Entity: '{"code":602,"message":"cmd in body is required"}'
[2023-02-10 06:42:03.367] 5346:63e5d92a00d52 ERR [panel] Communication with task manager has failed: Unprocessable Entity: '{"code":602,"message":"cmd in body is required"}'
[2023-02-10 06:47:39.881] 13068:63e5da7bd703a ERR [panel] PleskExt\Docker\Exceptions\ServiceUnavailableException: Permission denied
file: /usr/local/psa/admin/plib/modules/docker/library/Docker/Client.php
line: 79
code: 0
trace: #0 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpClientDecorator.php(29): PleskExt\Docker\Client->sendRequest(object of type GuzzleHttp\Psr7\Request)
#1 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpAsyncClientEmulator.php(32): Http\Client\Common\EmulatedHttpAsyncClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#2 /usr/local/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 /usr/local/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 /usr/local/psa/admin/plib/modules/docker/library/Docker/FindAllContainersTrait.php(16): Docker\API\Resource\ContainerResource->findAll(array)
#5 /usr/local/psa/admin/plib/modules/docker/controllers/IndexController.php(113): IndexController::findAllContainers(object of type Docker\Manager\ContainerManager)
#6 /usr/local/psa/admin/plib/modules/docker/controllers/IndexController.php(87): IndexController->_getContainers()
#7 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): IndexController->listAction()
#8 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'listAction')
#9 /usr/local/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 /usr/local/psa/admin/plib/pm/Application.php(91): Zend_Controller_Front->dispatch()
#11 /usr/local/psa/admin/htdocs/modules/docker/index.php(5): pm_Application->run()
--
#0 /usr/local/psa/admin/plib/modules/docker/vendor/docker-php/docker-php/src/SocketClient/Client.php(78): Docker\SocketClient\Client->createSocket(object of type GuzzleHttp\Psr7\Request, string 'unix:///var/run/docker.sock', boolean false)
#1 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpClientDecorator.php(29): Docker\SocketClient\Client->sendRequest(object of type GuzzleHttp\Psr7\Request)
#2 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(83): Http\Client\Common\EmulatedHttpAsyncClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#3 /usr/local/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 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(162): Http\Client\Common\Plugin\DecoderPlugin->handleRequest(object of type GuzzleHttp\Psr7\Request, object of type Closure, object of type Closure)
#5 /usr/local/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 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(162): Http\Client\Common\Plugin\ContentLengthPlugin->handleRequest(object of type GuzzleHttp\Psr7\Request, object of type Closure, object of type Closure)
#7 /usr/local/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 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(162): Http\Client\Common\Plugin\ErrorPlugin->handleRequest(object of type GuzzleHttp\Psr7\Request, object of type Closure, object of type Closure)
#9 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(176): Http\Client\Common\PluginClient->Http\Client\Common\{closure}(object of type GuzzleHttp\Psr7\Request)
#10 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/PluginClient.php(89): Http\Client\Common\PluginClient->Http\Client\Common\{closure}(object of type GuzzleHttp\Psr7\Request)
#11 /usr/local/psa/admin/plib/modules/docker/library/Docker/Client.php(77): Http\Client\Common\PluginClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#12 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpClientDecorator.php(29): PleskExt\Docker\Client->sendRequest(object of type GuzzleHttp\Psr7\Request)
#13 /usr/local/psa/admin/plib/modules/docker/vendor/php-http/client-common/src/HttpAsyncClientEmulator.php(32): Http\Client\Common\EmulatedHttpAsyncClient->sendRequest(object of type GuzzleHttp\Psr7\Request)
#14 /usr/local/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 /usr/local/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 /usr/local/psa/admin/plib/modules/docker/library/Docker/FindAllContainersTrait.php(16): Docker\API\Resource\ContainerResource->findAll(array)
#17 /usr/local/psa/admin/plib/modules/docker/controllers/IndexController.php(113): IndexController::findAllContainers(object of type Docker\Manager\ContainerManager)
#18 /usr/local/psa/admin/plib/modules/docker/controllers/IndexController.php(87): IndexController->_getContainers()
#19 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php(516): IndexController->listAction()
#20 /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'listAction')
#21 /usr/local/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 /usr/local/psa/admin/plib/pm/Application.php(91): Zend_Controller_Front->dispatch()
#23 /usr/local/psa/admin/htdocs/modules/docker/index.php(5): pm_Application->run()

[2023-02-10 06:47:39.881] 13068:63e5da7bd703a ERR [panel.ui] Permission denied
 
I even locked Docker-updates in Plesk, yet it still updated for the third or fourth day in the row. Is the update-lock currently broken?
 
Back
Top