• 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 unable to install via update tool

parker09

New Pleskian
Hi all,

I have tried to install the Docker ext via Plesk update tool but it seem the Docker cant to install with error. I haven't idea how to resolve the problem. Thank you.

Parker

Installation started in background
Checking whether the package dependencies are resolved.
Installing packages
Error: Failed to install or upgrade the extension 'Docker' (package: docker):
[2020-05-13 10:34:45.099] ERR [extension/docker] Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2020-05-13 10:34:45.090] 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.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version.
ca-certificates is already the newest version.
gnupg2 is already the newest version.
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.uqi0NVNZ5V --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
, stderr: gpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net
gpg: key 2C52609D: "Docker Release Tool (releasedocker) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-amd64/Packages HttpError404

W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-i386/Packages HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR:root:Command '['apt-get', '-qq', 'update']' 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:
[2020-05-13 10:34:45.090] 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.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
apt-transport-https is already the newest version.
ca-certificates is already the newest version.
gnupg2 is already the newest version.
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.uqi0NVNZ5V --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
, stderr: gpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net
gpg: key 2C52609D: "Docker Release Tool (releasedocker) " not changed
gpg: Total number processed: 1
gpg: unchanged: 1
W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-amd64/Packages HttpError404

W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-i386/Packages HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR:root:Command '['apt-get', '-qq', 'update']' 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.
 
The problem in this repository. If you go to https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-amd64/Packages you will see:

Notice: Shutting down dockerproject.org APT and YUM repos 2020-03-31
Docker will be shutting down the deprecated APT and YUM repositories hosted at "dockerproject.org" and "dockerproject.com" on the 31st of March 2020.

We noticed that this project is referencing one of these repositories, and recommend updating to use the "download.docker.com" repository to prevent disruption.

More info: Changes to dockerproject.org APT and YUM repositories - Docker Blog
 
Thank you. I have tried to changed the source.list to "deb-src [arch=amd64] Index of linux/ubuntu/ trusty stable" but it seem the docker still not able to install via Plesk installer. Could you mind to provide more information to install the docker in Plesk installer.


ERROR: Failed to install or upgrade the extension 'Docker' (package: docker):
[2020-05-14 10:27:31.202] ERR [extension/docker] Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2020-05-14 10:27:31.193] ERR [extension/docker] Execution installer has failed with exit code 1, stdout: , stderr: W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/InRelease Unable to find expected entry 'stable/source/Sources' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR:root:Command '['apt-get', '-qq', 'update']' returned non-zero exit status 100
exit status 1

Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output:
[2020-05-14 10:27:31.193] ERR [extension/docker] Execution installer has failed with exit code 1, stdout: , stderr: W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/InRelease Unable to find expected entry 'stable/source/Sources' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR:root:Command '['apt-get', '-qq', 'update']' returned non-zero exit status 100
exit status 1
 
Hi,

I have follow below URL to changed the plesk-ext-docker.list file,but it seem the file will change back when i try to run the plesk installer. May i know how to install docker engine via Plesk ? Thank you.


Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.d720NBSNSK --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
, stderr: gpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net
gpg: key 2C52609D: "Docker Release Tool (releasedocker) " not changed
gpg: Total number processed: 1
gpg: unchanged: 1
W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-amd64/Packages HttpError404

W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-i386/Packages HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR:root:Command '['apt-get', '-qq', 'update']' 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

Parker
 
Hi All,

After i got the error , i see the Docker extension already installed into the Plesk control panel, but there should blank in the Docker Settings page. May i know any suggestion to start to use the docker in the Plesk control panel? Thank you.

docker.png
 
this is ridiculous. The installer insists on using the old repo and there is no way to ever ride this
 
its been months since the repo changed.. is there anyway to tell the plesk installer to use the new repo? Any attempt at manual intervention causes the install script to fail.
 
Back
Top