Question
How to hide extensions from Extensions catalog in Plesk or block extensions from automatic installation?
Answer
Blacklist unwanted extensions in Plesk configuration file:
Install Panel.ini Editor extension from the Extensions catalog.
Go to Extensions > My Extensions > Panel.ini Editor > Open > Editor tab > Edit.
Add the following lines at the end of the file:
[extensions]
blacklist = advisor, dockerClick Save to apply the changes.
Connect to the Plesk server via SSH.
Open the file
/usr/local/psa/admin/conf/panel.iniin a text editor. In this example, we are using vi editor:# vi /usr/local/psa/admin/conf/panel.ini
Note: If the file does not exist, create it from sample:
# cp -a /usr/local/psa/admin/conf/panel.ini.sample /usr/local/psa/admin/conf/panel.ini
Add the lines below at the end of the file:
[extensions]
blacklist = advisor, dockerSave the changes and close the file.
Connect to the Plesk server via RDP.
Open the file
in a text editor.
%plesk_dir%adminconfpanel.iniNote: If the file does not exist, create it from a sample file
panel.ini.samplelocated in the same directory.Add the lines below at the end of the file:
[extensions]
blacklist = advisor, dockerSave the changes and close the file.
Additional Information
To find the external extension name, open it in Plesk Extensions and check the URL: