Symptoms
-
Plesk update fails with the following message in
/tmp/autoinstaller3.log
:https://plesk_1234567_1:[email protected]/channels/asl-4.0/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 401 - Unauthorized
-
Atomic Secure Linux extension was deleted from Plesk.
-
Plesk ModSecurity is not installed:
# plesk installer list plesk PLESK_17_8_11 --components | grep modsecurity
modsecurity [install] - ModSecurity -
Atomic repository file still exist:
# ls -la /etc/yum.repos.d/asl.repo
-rw------- 1 root root 472 Apr 8 11:06 /etc/yum.repos.d/asl.repo
Cause
Atomic repository file was not deleted due to the incorrect permissions.
Resolution
-
Connect to the server via SSH.
-
Remove Atomic repository file:
# mv /etc/yum.repos.d/asl.repo /etc/yum.repos.d/asl.repo.old
-
Reinstall Plesk updates:
# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components