jacboy
New Pleskian
Hi there,
I've just set up a new Plesk Server on Debian 9 and now wanted to install the Docker extension. On the command line I've executed the "plesk installer" command and used the tool to install the extension. I get the following error:
Any ideas on this?
I've just set up a new Plesk Server on Debian 9 and now wanted to install the Docker extension. On the command line I've executed the "plesk installer" command and used the tool to install the extension. I get the following error:
Code:
ERROR: Failed to install or upgrade the extension 'Docker' (package: docker):
[2019-04-09 11:51:59.622] ERR [extension/docker] Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2019-04-09 11:51:59.597] 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.137-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version (1.4.9).
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
gnupg2 is already the newest version (2.1.18-8~deb9u4).
software-properties-common is already the newest version (0.96.20.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
OK
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
containerd.io docker-ce-cli
Recommended packages:
aufs-tools cgroupfs-mount | cgroup-lite git
The following NEW packages will be installed:
containerd.io docker-ce docker-ce-cli
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.5 MB of archives.
After this operation, 242 MB of additional disk space will be used.
Selecting previously unselected package containerd.io.
(Reading database ... 83827 files and directories currently installed.)
Preparing to unpack .../containerd.io_1.2.5-1_amd64.deb ...
Unpacking containerd.io (1.2.5-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce (5:18.09.4~3-0~debian-stretch) ...
Setting up containerd.io (1.2.5-1) ...
Processing triggers for systemd (232-25+deb9u11) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Setting up docker-ce (5:18.09.4~3-0~debian-stretch) ...
update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service -> /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket -> /lib/systemd/system/docker.socket.
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 Tue 2019-04-09 11:51:59 CEST; 7ms ago
Docs: https://docs.docker.com
Process: 28378 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 28378 (code=exited, status=1/FAILURE)
CPU: 185ms
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Main process exi…URE
Apr 09 11:51:59 web1.jacboy.com systemd[1]: Failed to start Docker Applicati…ne.
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Unit entered fai…te.
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Failed with resu…e'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package docker-ce (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (232-25+deb9u11) ...
Errors were encountered while processing:
docker-ce
, stderr: N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
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', 'docker-ce']' returned non-zero exit status 100
exit status 1
Cannot install docker-engine
Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2019-04-09 11:51:59.597] 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.137-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version (1.4.9).
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
gnupg2 is already the newest version (2.1.18-8~deb9u4).
software-properties-common is already the newest version (0.96.20.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
OK
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
containerd.io docker-ce-cli
Recommended packages:
aufs-tools cgroupfs-mount | cgroup-lite git
The following NEW packages will be installed:
containerd.io docker-ce docker-ce-cli
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.5 MB of archives.
After this operation, 242 MB of additional disk space will be used.
Selecting previously unselected package containerd.io.
(Reading database ... 83827 files and directories currently installed.)
Preparing to unpack .../containerd.io_1.2.5-1_amd64.deb ...
Unpacking containerd.io (1.2.5-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce (5:18.09.4~3-0~debian-stretch) ...
Setting up containerd.io (1.2.5-1) ...
Processing triggers for systemd (232-25+deb9u11) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Setting up docker-ce (5:18.09.4~3-0~debian-stretch) ...
update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service -> /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket -> /lib/systemd/system/docker.socket.
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 Tue 2019-04-09 11:51:59 CEST; 7ms ago
Docs: https://docs.docker.com
Process: 28378 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 28378 (code=exited, status=1/FAILURE)
CPU: 185ms
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Main process exi…URE
Apr 09 11:51:59 web1.jacboy.com systemd[1]: Failed to start Docker Applicati…ne.
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Unit entered fai…te.
Apr 09 11:51:59 web1.jacboy.com systemd[1]: docker.service: Failed with resu…e'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package docker-ce (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (232-25+deb9u11) ...
Errors were encountered while processing:
docker-ce
, stderr: N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
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', 'docker-ce']' returned non-zero exit status 100
exit status 1
Cannot install docker-engine
Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.
exit status 1
Any ideas on this?