• 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.service failed

RaHa

Basic Pleskian
Updates in Plesk always failed with errors!:

Product version: Plesk Obsidian 18.0.25.2
OS version: Ubuntu 16.04 x86_64
Build date: 2020/03/25 19:00
Revision: 08233eba37b8979f0477fd63296b3065ffc99a8e

systemctl status docker.service:
docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since So 2020-03-29 07:48:54 UTC; 8min ago
Docs: Docker Documentation
Main PID: 13567 (code=exited, status=1/FAILURE)

journalctl -u docker.service

/usr/bin/dockerd -D -H unix://:
INFO[2020-03-29T08:30:59.153493847Z] Starting up
DEBU[2020-03-29T08:30:59.155441023Z] Listener created for HTTP on unix (/var/run/docker.sock)
DEBU[2020-03-29T08:30:59.156868444Z] Golang's threads limit set to 2783970
INFO[2020-03-29T08:30:59.157430686Z] parsed scheme: "unix" module=grpc
INFO[2020-03-29T08:30:59.157444776Z] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2020-03-29T08:30:59.157467831Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 <nil>}] <nil>} module=grpc
INFO[2020-03-29T08:30:59.157478856Z] ClientConn switching balancer to "pick_first" module=grpc
INFO[2020-03-29T08:30:59.177901346Z] parsed scheme: "unix" module=grpc
INFO[2020-03-29T08:30:59.177932300Z] scheme "unix" not registered, fallback to default scheme module=grpc
INFO[2020-03-29T08:30:59.177953132Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 <nil>}] <nil>} module=grpc
INFO[2020-03-29T08:30:59.177967558Z] ClientConn switching balancer to "pick_first" module=grpc
DEBU[2020-03-29T08:30:59.178660573Z] Using default logging driver json-file
DEBU[2020-03-29T08:30:59.178710617Z] [graphdriver] priority list: [btrfs zfs overlay2 aufs overlay devicemapper vfs]
DEBU[2020-03-29T08:30:59.178777064Z] zfs command is not available: exec: "zfs": executable file not found in $PATH storage-driver=zfs
ERRO[2020-03-29T08:30:59.179353414Z] failed to mount overlay: no such device storage-driver=overlay2
DEBU[2020-03-29T08:30:59.179716126Z] processing event stream module=libcontainerd namespace=plugins.moby
ERRO[2020-03-29T08:30:59.181996245Z] AUFS was not found in /proc/filesystems storage-driver=aufs
ERRO[2020-03-29T08:30:59.182749947Z] failed to mount overlay: no such device storage-driver=overlay
DEBU[2020-03-29T08:30:59.183733003Z] Initialized graph driver vfs
WARN[2020-03-29T08:30:59.193000670Z] Your kernel does not support oom control
WARN[2020-03-29T08:30:59.193027941Z] Your kernel does not support memory swappiness
WARN[2020-03-29T08:30:59.193037804Z] Your kernel does not support kernel memory limit
WARN[2020-03-29T08:30:59.193043190Z] Your kernel does not support kernel memory TCP limit
WARN[2020-03-29T08:30:59.193048843Z] Unable to find cpu cgroup in mounts
WARN[2020-03-29T08:30:59.193053863Z] Unable to find cpuset cgroup in mounts
WARN[2020-03-29T08:30:59.193059013Z] mountpoint for pids not found
DEBU[2020-03-29T08:30:59.193922674Z] Cleaning up old mountid : start.
failed to start daemon: Devices cgroup isn't mounted


Setting up docker-ce (5:19.03.8~3-0~ubuntu-xenial) ...
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
* docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2020-03-29 07:48:47 UTC; 5ms ago
Docs: Docker Documentation
Process: 13478 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock [0;1;31m(code=exited, status=1/FAILURE)[0m
Main PID: 13478 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (--configure):
subprocess installed post-installation script returned error exit status 1


#mkdir -p /etc/systemd/system/containerd.service.d
# touch /etc/systemd/system/containerd.service.d/override.conf
# echo -e "[Service]\nExecStartPre=" >> /etc/systemd/system/containerd.service.d/override.conf
# systemctl daemon-reload
# systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
# systemctl status docker.service
docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since So 2020-03-29 08:45:52 UTC; 13s ago
Docs: Docker Documentation
Process: 19971 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 19971 (code=exited, status=1/FAILURE)

journalctl -xe

I have tried all resolutions I found in this forum and in others! But nothing helps.
What can I do more?
Many thanks for help!
 
Last edited:
Is it possible to install the server complity new to solv this problem?
If so, how to do?
 
Hi RaHa,

Do you use docker containers? If no, I suggest uninstalling the Docker extension before updating.
 
Hi AYamshanow,

thanks for answer. I think that I do it also before, but I try it.

I do this: <[BUG] Docker service is still running on the server, while Docker component was removed from Plesk> apt-get remove docker-* -y with this result:

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Hinweis: »docker-engine-cs« wird für das Suchmuster »docker-*« gewählt.
Hinweis: »docker-compose« wird für das Suchmuster »docker-*« gewählt.
Hinweis: »docker-engine« wird für das Suchmuster »docker-*« gewählt.
Hinweis: »docker-registry« wird für das Suchmuster »docker-*« gewählt.
Hinweis: »docker-doc« wird für das Suchmuster »docker-*« gewählt.
Hinweis: »docker-ce« wird für das Suchmuster »docker-*« gewählt.
Hinweis: »docker-ee« wird für das Suchmuster »docker-*« gewählt.
Hinweis: »docker-ce-cli« wird für das Suchmuster »docker-*« gewählt.
Paket »docker-engine« ist nicht installiert, wird also auch nicht entfernt.
Paket »docker-engine-cs« ist nicht installiert, wird also auch nicht entfernt.
Paket »docker-ee« ist nicht installiert, wird also auch nicht entfernt.
Paket »docker-registry« ist nicht installiert, wird also auch nicht entfernt.
Paket »docker-doc« ist nicht installiert, wird also auch nicht entfernt.
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
aufs-tools cgroupfs-mount python-backports.ssl-match-hostname python-cached-property python-cffi-backend python-chardet python-cryptography python-docker python-dockerpty
python-docopt python-enum34 python-funcsigs python-functools32 python-idna python-ipaddress python-jsonschema python-mock python-ndg-httpsclient python-openssl python-pbr
python-pkg-resources python-pyasn1 python-requests python-six python-texttable python-urllib3 python-websocket
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
docker-ce docker-ce-cli docker-compose
0 aktualisiert, 0 neu installiert, 3 zu entfernen und 6 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 293 MB Plattenplatz freigegeben.
(Lese Datenbank ... 138108 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von docker-ce (5:19.03.8~3-0~ubuntu-xenial) ...
Entfernen von docker-ce-cli (5:19.03.8~3-0~ubuntu-xenial) ...
Entfernen von docker-compose (1.8.0-2~16.04.1) ...

Trigger für man-db (2.7.5-1) werden verarbeitet ...

Update now works!!


Thanks!
 
Last edited:
to fully remove docker

sudo apt remove docker \

docker-client \

docker-client-latest \

docker-common \

docker-latest \

docker-latest-logrotate \

docker-logrotate \

docker-selinux \

docker-engine-selinux \

docker-engine


you would then need to go to /var

and remove any docker traces as residue file are left if you do not manually remove them then when you reinstall it uses all the old overlays etc and install is corrupt again
 
RaHa said:
...What's Happened by the next update?
It means that the Docker repository is one of the used repositories on the system. Some metadata about packages from the repository will be updated. If some packages have updates, it will be possible to update them too.

Is docker still supported by plesk?
Yes, the last update of the Docker extension was two weeks ago (Change Log for Plesk Obsidian).
 
Hi AYamshanov & Kirk,
it will not work:
Bildschirmfoto 2020-03-31 um 08.35.11.png
ps -aux | grep docker:
root 4683 1.7 2.7 378976 57520 ? Ssl 06:33 0:00 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
root 4693 0.0 0.0 14992 1052 pts/1 R+ 06:33 0:00 grep --color=auto docker

systemctl status docker.service:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (start) since Di 2020-03-31 06:39:29 UTC; 4s ago
Docs: Docker Documentation
Main PID: 5062 (dockerd)
Memory: 65.2M
CGroup: /system.slice/docker.service
└─5062 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Mär 31 06:39:29 lvps83-169-36-103.dedicated.hosteurope.de dockerd[5062]: time="2020-03-31T06:39:29.916585529Z" level=info msg="Starting up"
Mär 31 06:39:29 lvps83-169-36-103.dedicated.hosteurope.de dockerd[5062]: time="2020-03-31T06:39:29.919127959Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Mär 31 06:39:29 lvps83-169-36-103.dedicated.hosteurope.de dockerd[5062]: time="2020-03-31T06:39:29.919156105Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Mär 31 06:39:29 lvps83-169-36-103.dedicated.hosteurope.de dockerd[5062]: time="2020-03-31T06:39:29.919188394Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc
Mär 31 06:39:29 lvps83-169-36-103.dedicated.hosteurope.de dockerd[5062]: time="2020-03-31T06:39:29.919204031Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc

systemupdatetool.log:
2020-03-29 03:55:30 INFO: pum is called with arguments: ['--update', '--json']
2020-03-29 03:55:32 INFO: no packages to update
Setting up docker-ce (5:19.03.8~3-0~ubuntu-xenial) ...
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
* docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2020-03-29 03:55:33 UTC; 5ms ago
Docs: Docker Documentation
Process: 1752 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock [0;1;31m(code=exited, status=1/FAILURE)[0m
Main PID: 1752 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
docker-ce
E:Sub-process /usr/bin/dpkg returned an error code (1)
2020-03-29 03:55:34 ERROR: installArchives() failed
2020-03-29 03:55:34 ERROR: Exited with returncode 1.
2020-03-30 03:55:20 INFO: pum is called with arguments: ['--check']
2020-03-30 03:55:20 ERROR: Previous Plesk installer call finished unsuccessfully. PUM will not perform any update operations until Plesk installation is fixed.
2020-03-30 03:55:20 ERROR: Exited with returncode 50.
2020-03-30 03:55:20 INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
2020-03-30 03:55:20 ERROR: Previous Plesk installer call finished unsuccessfully. PUM will not perform any update operations until Plesk installation is fixed.
2020-03-30 03:55:20 ERROR: Exited with returncode 50.
2020-03-31 03:56:37 INFO: pum is called with arguments: ['--check']
2020-03-31 03:56:37 ERROR: Previous Plesk installer call finished unsuccessfully. PUM will not perform any update operations until Plesk installation is fixed.
2020-03-31 03:56:37 ERROR: Exited with returncode 50.
2020-03-31 03:56:37 INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
2020-03-31 03:56:37 ERROR: Previous Plesk installer call finished unsuccessfully. PUM will not perform any update operations until Plesk installation is fixed.
2020-03-31 03:56:37 ERROR: Exited with returncode 50.



apt update:
Bildschirmfoto 2020-03-31 um 09.36.13.png
seems that it is not from plesk

I tried one week ago to install jitsi, so I think that is from this work. But if I completly remove this docker Plesk will not work, no repair, no update.
If installed, the error
"ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock [0;1;31m(code=exited, status=1/FAILURE)[0m
Main PID: 1752 (code=exited, status=1/FAILURE)"
is happend.

How can I correct this or how can I go back to the Plesk docker?

I don't have the paid docker version of Plesk! But there has to be something from docker on the system for installation, update and installation of wordpress to work.
 
Last edited:
@RaHa ok this might help as i did a workaround for centos 8 as docker did not work for a look down to my post on docker


this is different then ubuntu thou

im going to replicate on a ubuntu machine now for you and then post the commands
 
It seems suggested commands should work on the previous version of Docker but not with "docker-ce".
Could you check please commands from this post: Resolved - Removing docker
...and if the commands return a fail, provide the exact output of the command
 
ok try this to fix the broken package install

dpkg --configure -a

apt-get clean

apt-get update

let us know the output of this
 
@kirk

dpkg --configure -a:

docker-ce (5:19.03.8~3-0~ubuntu-xenial) wird eingerichtet ...
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Di 2020-03-31 09:38:56 UTC; 5ms ago
Docs: Docker Documentation
Main PID: 1661 (code=exited, status=1/FAILURE)
dpkg: Fehler beim Bearbeiten des Paketes docker-ce (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
docker-ce
 
@AYamshanow

apt-get remove docker docker-engine docker.io:

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paket »docker-engine« ist nicht installiert, wird also auch nicht entfernt.
Paket »docker« ist nicht installiert, wird also auch nicht entfernt.
Paket »docker.io« ist nicht installiert, wird also auch nicht entfernt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 6 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
docker-ce (5:19.03.8~3-0~ubuntu-xenial) wird eingerichtet ...
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Di 2020-03-31 09:42:03 UTC; 5ms ago
Docs: Docker Documentation
Main PID: 1889 (code=exited, status=1/FAILURE)
dpkg: Fehler beim Bearbeiten des Paketes docker-ce (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)


apt-get purge docker-ce:

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
aufs-tools cgroupfs-mount docker-ce-cli
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
docker-ce*
0 aktualisiert, 0 neu installiert, 1 zu entfernen und 6 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 110 MB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] J
(Lese Datenbank ... 158758 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von docker-ce (5:19.03.8~3-0~ubuntu-xenial) ...
Löschen der Konfigurationsdateien von docker-ce (5:19.03.8~3-0~ubuntu-xenial) ...
 
Unfortunately, I don't speak German but it seems the package was deleted.

Have you tried to update Plesk after that?
 
Before I deletet this:
/etc/apt/sources.list:deb [arch=amd64] Index of linux/ubuntu/ xenial stable
/etc/apt/sources.list:# deb-src [arch=amd64] Index of linux/ubuntu/ xenial stable

apt update:
OK:1 Index of /NODE_0.0.2 all InRelease
OK:2 Index of /PMM_0.1.11 xenial InRelease
OK:3 Index of /RUBY_0.0.2 xenial InRelease
OK:4 Index of /ubuntu xenial InRelease
OK:5 Index of /ubuntu xenial InRelease
OK:6 Index of /ubuntu xenial-updates InRelease
OK:7 Index of /ubuntu xenial-security InRelease
OK:8 Index of /ubuntu xenial-backports InRelease
OK:9 http://updates.atomicorp.com/channels/tortix-common/debian xenial InRelease
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.

apt upgrade:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden NEUEN Pakete werden installiert:
libdrm-common
Die folgenden Pakete werden aktualisiert (Upgrade):
libdrm2
1 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 35,6 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 47,1 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Holen:1 Index of /ubuntu xenial-updates/main amd64 libdrm-common all 2.4.91-2~16.04.1 [4.764 B]
Holen:2 Index of /ubuntu xenial-updates/main amd64 libdrm2 amd64 2.4.91-2~16.04.1 [30,8 kB]
Es wurden 35,6 kB in 0 s geholt (484 kB/s).
Vormals nicht ausgewähltes Paket libdrm-common wird gewählt.
(Lese Datenbank ... 158484 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libdrm-common_2.4.91-2~16.04.1_all.deb ...
Entpacken von libdrm-common (2.4.91-2~16.04.1) ...
Vorbereitung zum Entpacken von .../libdrm2_2.4.91-2~16.04.1_amd64.deb ...
Entpacken von libdrm2:amd64 (2.4.91-2~16.04.1) über (2.4.76-1~ubuntu16.04.1) ...
Trigger für libc-bin (2.23-0ubuntu11) werden verarbeitet ...
libdrm-common (2.4.91-2~16.04.1) wird eingerichtet ...
libdrm2:amd64 (2.4.91-2~16.04.1) wird eingerichtet ...
Trigger für libc-bin (2.23-0ubuntu11) werden verarbeitet ...
 
Last edited:
Back
Top