Applicable to:
- Plesk for Linux
- Plesk for Windows
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:
CONFIG_TEXT: [extensions]
blacklist = advisor, docker -
Click Save to apply the changes.
-
Connect to the Plesk server via SSH.
-
Open the file
/usr/local/psa/admin/conf/panel.ini
in 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:
CONFIG_TEXT: [extensions]
blacklist = advisor, docker -
Save the changes and close the file.
-
Connect to the Plesk server via RDP.
-
Open the file
%plesk_dir%admin\conf\panel.ini
in a text editor.Note: If the file does not exist, create it from a sample file
panel.ini.sample
located in the same directory. -
Add the lines below at the end of the file:
CONFIG_TEXT: [extensions]
blacklist = advisor, docker -
Save the changes and close the file.
Additional Information
To find the internal extension name, open it in Plesk Extensions and check the URL:
Comments
0 comments
Please sign in to leave a comment.