• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue with Docker service after last update

bulent

Regular Pleskian
After last update Docker service stopped working.
No containers, nothing. Removed docker extension from extension catalog and now cannot install.

  • Execution of /usr/local/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
  • [2018-11-08 09:45:53.351] ERR [extension/docker] Execution installer has failed with exit code 1, stdout: Package device-mapper-persistent-data-0.7.3-3.el7.x86_64 already installed and latest version
  • Package 7:lvm2-2.02.177-4.el7.x86_64 already installed and latest version
  • Package yum-utils-1.1.31-46.el7_5.noarch already installed and latest version
  • Loaded plugins: fastestmirror
  • ================================= repo: extras =================================
  • [extras]
  • async = True
  • bandwidth = 0
  • base_persistdir = /var/lib/yum/repos/x86_64/7
  • baseurl = Index of /ftp.centos.org/7/extras/x86_64/
  • cache = 0
  • cachedir = /var/cache/yum/x86_64/7/extras
  • check_config_file_age = True
  • compare_providers_priority = 80
  • cost = 1000
  • deltarpm_metadata_percentage = 100
  • deltarpm_percentage =
  • enabled = True
  • enablegroups = True
  • exclude =
  • failovermethod = priority
  • ftp_disable_epsv = False
  • gpgcadir = /var/lib/yum/repos/x86_64/7/extras/gpgcadir
  • gpgcakey =
  • gpgcheck = True
  • gpgdir = /var/lib/yum/repos/x86_64/7/extras/gpgdir
  • gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  • hdrdir = /var/cache/yum/x86_64/7/extras/headers
  • http_caching = all
  • includepkgs =
  • ip_resolve =
  • keepalive = True
  • keepcache = False
  • mddownloadpolicy = sqlite
  • mdpolicy = group:small
  • mediaid =
  • metadata_expire = 21600
  • metadata_expire_filter = read-only:present
  • metalink =
  • minrate = 0
  • mirrorlist =
  • mirrorlist_expire = 86400
  • name = CentOS-7 - Extras
  • old_base_cache_dir =
  • password =
  • persistdir = /var/lib/yum/repos/x86_64/7/extras
  • pkgdir = /var/cache/yum/x86_64/7/extras/packages
  • proxy = False
  • proxy_dict =
  • proxy_password =
  • proxy_username =
  • repo_gpgcheck = False
  • retries = 10
  • skip_if_unavailable = False
  • ssl_check_cert_permissions = True
  • sslcacert =
  • sslclientcert =
  • sslclientkey =
  • sslverify = True
  • throttle = 0
  • timeout = 30.0
  • ui_id = extras/7/x86_64
  • ui_repoid_vars = releasever,
  • basearch
  • username =
  • Loaded plugins: fastestmirror
  • Cleaning repos: PLESK_17_8_11-extras PLESK_17_PHP56 PLESK_17_PHP70
  • : PLESK_17_PHP71 PLESK_17_PHP72 base extras mariadb plesk-migrator
  • : plesk-migrator-tp updates
  • Cleaning up everything
  • Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
  • Cleaning up list of fastest mirrors
  • Package 3:docker-ce-18.09.0-3.el7.x86_64 already installed and latest version
  • INFO: [Thu Nov 8 09:44:53 EET 2018]: Service: docker, Action: start
  • Trying to start service docker... inactive
  • Nov 08 09:44:53 v2.xxxxxxx.com systemd[1]: Starting Docker Application Container Engine...
  • Nov 08 09:44:53 v2.xxxxxxx.com systemd[1]: Dependency failed for Docker Application Container Engine.
  • Nov 08 09:44:53 v2.xxxxxxx.com systemd[1]: Job docker.service/start failed with result 'dependency'.
  • Nov 08 09:44:53 v2.xxxxxxx.com systemd[1]: Stopped Docker Application Container Engine.
  • WARNING!
  • Some problems are found during start service docker(see log file: /var/log/plesk/rc_actions.log)
  • Continue...
  • , stderr: A dependency job for docker.service failed. See 'journalctl -xe' for details.
 
Hi bulent,

Could you please provide an output from the next commands:
- plesk version
- systemctl status docker.service
- journalctl -u docker.service

First of all, need to understand why your docker service can't start (systemctl start docker).
 
Hi, and thanks for the quick response. Yesterday everything was working correctly.
Below are the outputs:

[root@v2 ~]# plesk version
Product version: Plesk Onyx 17.8.11 Update #29
Update date: 2018/11/08 09:38
Build date: 2018/11/02 11:09
OS version: CentOS 7.5.1804
Revision: 2e1d5ab416b16b21d683aa65539ebdc0c0e63882
Architecture: 64-bit
Wrapper version: 1.2

-----------------------------------------------

[root@v2 ~]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Thu 2018-11-08 09:44:53 EET; 55min ago
Docs: Docker Documentation
Process: 12957 ExecStart=/usr/bin/dockerd -H unix:// (code=killed, signal=TERM)
Main PID: 12957 (code=killed, signal=TERM)

Nov 08 09:44:53 v2.xxxxxx.com systemd[1]: Starting Docker Application Container Engine...
Nov 08 09:44:53 v2.xxxxxx.com systemd[1]: Dependency failed for Docker Application Container Engine.
Nov 08 09:44:53 v2.xxxxxx.com systemd[1]: Job docker.service/start failed with result 'dependency'.
Nov 08 09:44:53 v2.xxxxxx.com systemd[1]: Stopped Docker Application Container Engine.

-----------------------------------

[root@v2 ~]# journalctl -u docker.service
-- Logs begin at Thu 2018-11-08 09:36:14 EET, end at Thu 2018-11-08 10:40:12 EET. --
Nov 08 09:36:26 v2.xxxxx.com systemd[1]: Starting Docker Application Container Engine...
Nov 08 09:36:26 v2.xxxxx.com systemd[1]: Dependency failed for Docker Application Container Engine.
Nov 08 09:36:26 v2.xxxxx.com systemd[1]: Job docker.service/start failed with result 'dependency'.
Nov 08 09:36:26 v2.xxxxx.com systemd[1]: Stopped Docker Application Container Engine.
Nov 08 09:38:15 v2.xxxxx.com systemd[1]: Starting Docker Application Container Engine...
Nov 08 09:38:15 v2.xxxxx.com systemd[1]: Dependency failed for Docker Application Container Engine.
Nov 08 09:38:15 v2.xxxxx.com systemd[1]: Job docker.service/start failed with result 'dependency'.
Nov 08 09:38:15 v2.xxxxx.com systemd[1]: Stopped Docker Application Container Engine.
Nov 08 09:38:19 v2.xxxxx.com systemd[1]: Starting Docker Application Container Engine...
Nov 08 09:38:19 v2.xxxxx.com systemd[1]: Dependency failed for Docker Application Container Engine.
Nov 08 09:38:19 v2.xxxxx.com systemd[1]: Job docker.service/start failed with result 'dependency'.
Nov 08 09:38:19 v2.xxxxx.com systemd[1]: Stopped Docker Application Container Engine.
Nov 08 09:38:26 v2.xxxxx.com systemd[1]: Starting Docker Application Container Engine...
Nov 08 09:38:26 v2.xxxxx.com systemd[1]: Dependency failed for Docker Application Container Engine.
Nov 08 09:38:26 v2.xxxxx.com systemd[1]: Job docker.service/start failed with result 'dependency'.
Nov 08 09:38:26 v2.xxxxx.com systemd[1]: Stopped Docker Application Container Engine.
Nov 08 09:38:59 v2.xxxxx.com systemd[1]: Starting Docker Application Container Engine...
Nov 08 09:39:00 v2.xxxxx.com systemd[1]: Dependency failed for Docker Application Container Engine.
Nov 08 09:39:00 v2.xxxxx.com systemd[1]: Job docker.service/start failed with result 'dependency'.
Nov 08 09:39:00 v2.xxxxx.com systemd[1]: Stopped Docker Application Container Engine.
Nov 08 09:44:53 v2.xxxxx.com systemd[1]: Starting Docker Application Container Engine...
Nov 08 09:44:53 v2.xxxxx.com systemd[1]: Dependency failed for Docker Application Container Engine.
lines 1-23
 
Hmmm, it doesn't help.

Process: 12957 ExecStart=/usr/bin/dockerd -H unix:// (code=killed, signal=TERM)

Could you please execute "dockerd" with debug-flag: `/usr/bin/dockerd -D -H unix://` and check the output; to stop executing, use "<Ctrl+С>"
 
In docker section I have this:
Warning: Local Docker node is missing. Refer to this KB article to resolve this issue.
The ability to work with remote nodes is available only in the paid version of the extension. You can buy the extension here.
 
Same problem here this morning.

`plesk version`

Code:
Product version: Plesk Onyx 17.8.11 Update #29
    Update date: 2018/11/08 13:53
     Build date: 2018/11/02 10:09
     OS version: CentOS 7
       Revision: 2e1d5ab416b16b21d683aa65539ebdc0c0e63882
   Architecture: 64-bit
Wrapper version: 1.2

`systemctl status docker.service`

Code:
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: inactive (dead) (Result: exit-code) since Thu 2018-11-08 14:12:08 CET; 22min ago
     Docs: https://docs.docker.com
  Process: 9811 ExecStart=/usr/bin/dockerd -H unix:// (code=exited, status=203/EXEC)
 Main PID: 9811 (code=exited, status=203/EXEC)

Nov 08 14:12:08 systemd[1]: Failed to start Docker Application Container Engine.
Nov 08 14:12:08 systemd[1]: Unit docker.service entered failed state.
Nov 08 14:12:08 systemd[1]: docker.service failed.
Nov 08 14:12:08 systemd[1]: Stopped Docker Application Container Engine.

`journalctl -u docker.service`

Code:
Nov 08 13:46:53 systemd[1]: Starting Docker Application Container Engine...
Nov 08 13:46:53 systemd[1]: Dependency failed for Docker Application Container Engine.
Nov 08 13:46:53 systemd[1]: Job docker.service/start failed with result 'dependency'.
Nov 08 13:46:53 systemd[1]: Stopped Docker Application Container Engine.

Tried to uninstall from cli plesk-installer. Can't properly uninstall.
Also same error as bulent.

Thank you.
 
Unfortunately, I can't fast help here because can't reproduce the issue. I suggest you contact Plesk Support Team.
 
Hello,

We have the same problem on 3 differents servers after last update made this morning.
Plesk Onyx 17.8.11 - n°22.

All docker instances are unavailable...

>> Error: docker service unavailable : Connection refused

# journalctl -u docker.service
nov. 10 14:15:39 xxxxx.net systemd[1]: Dependency failed for Docker Application Container Engine.
nov. 10 14:15:39 xxxxx.net systemd[1]: Job docker.service/start failed with result 'dependency'.
nov. 10 14:15:39 xxxxx.net systemd[1]: Stopped Docker Application Container Engine.
nov. 10 14:24:24 xxxxx.net systemd[1]: Starting Docker Application Container Engine...
nov. 10 14:24:24 xxxxx.net systemd[1]: Dependency failed for Docker Application Container Engine.
nov. 10 14:24:24 xxxxx.net systemd[1]: Job docker.service/start failed with result 'dependency'.
nov. 10 14:24:24 xxxxx.net systemd[1]: Stopped Docker Application Container Engine.

Help !! The problem comes from the last update plesk !
 
Hi @Erwan
No solution.
Waiting Plesk team to say somthing.
Week or two ago had different issue with docker and firewall and now with docker.

It seems like will be good idea instead of running plesk on dedi server, to run it inside virtual container. It will be much easier to make snapshot backup restores.
 
Yes...
Question: is anyone that don't have problem with Plesk Docker can say if the permissions from this files are the same:

Directory: /var/run/
-rw-r--r-- 1 root root 5 10 nov. 14:15 docker.pid
srw-rw---- 1 root docker 0 10 nov. 14:15 docker.sock
 
All my settings are default, including update settings. I don't know whether there was kernel update.
 
No one to help us at Plesk? The 3 servers for which we made the udate to Plesk Onyx 17.8.11 - # 22 are impacted!
 
Back
Top