inteldigital

Well-Known Member
Apr 5, 2018
58
11
8
England
cPanel Access Level
Root Administrator
Twitter
Hi,

I'm trying to add a couple of links into WHM via plugins in the cPanel dash. I've got the install package prepped and have uploaded it to the server but for some odd reason I can't run the install script, it just says "No such file or directory". I'm running as root and I've cd to the scripts directory to double check the script is there and it is, so what is wrong here?
 

inteldigital

Well-Known Member
Apr 5, 2018
58
11
8
England
cPanel Access Level
Root Administrator
Twitter
Hello @inteldigital,

Can you let me know the full command you are using? It should resemble this:

Code:
/usr/local/cpanel/scripts/install_plugin /path/to/plugin_file --theme theme_name
Thank you.
Hi @cPanelMichael

I can confirm that is the command I am using. One speculation I made from the documentation, though, is that it isn't clear what the path to the plugin file should be. Where it should be on the server, for example?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,894
2,226
363
cPanel Access Level
DataCenter Provider
Twitter
I can confirm that is the command I am using. One speculation I made from the documentation, though, is that it isn't clear what the path to the plugin file should be. Where it should be on the server, for example?
It can be at any location as long as it's accessible by root. For example, you could create a directory like this and put the plugin file in it:

Code:
/var/cpanel/custom-plugin/
Thank you.