- Plesk for Linux
Ubuntu 18 is used.
Unable to install Docker extension in Plesk or Plesk update fails with the next error:
CONFIG_TEXT: E: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-bionic/InRelease 403 Forbidden [IP: 184.108.40.206 443]
E: The repository 'https://apt.dockerproject.org/repo ubuntu-bionic InRelease' is not signed.
ERROR:root:Command '['apt-get', '-qq', 'update']' returned non-zero exit status 100
Docker images catalog is empty.
Docker extension installs old repositories.
This is Docker extension bug #EXTDOCKER-52 which is fixed in the version 1.4.0 of the extension.
Update Docker extension to its latest version.
If the issue still occurs, reinstall the extension.
If the issue still persists, remove the old Docker repository from which it is tried to be installed/updated and create the correct one manually:
Find where the Docker repository is specified:
# grep -ir docker /etc/apt/sources.list*
The correct output is the following one:
CONFIG_TEXT: /etc/apt/sources.list.d/plesk-ext-docker.list:deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
If the output is another one, it means that Docker is tried to be installed/updated from the incorrect repository. If so, follow the next step to resolve the issue.
Open the file where the incorrect Docker repository is located by using any text editor and modify it in the following way:
deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-bionic InRelease
#deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-bionic InRelease
Create the correct Docker repository:
# echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" > /etc/apt/sources.list.d/plesk-ext-docker.list && chmod 0644 /etc/apt/sources.list.d/plesk-ext-docker.list && chown root:root /etc/apt/sources.list.d/plesk-ext-docker.list