Hello,
Today I have update cPanel server to new version (11.44) after updating i had tried to install CSF plugin but the plugin interface was not working from WHM >> Plugins page.In previous cPanel versions all plugins config files were saved in /var/cpanel/apps (Eg : /var/cpanel/apps/csf.conf) but in new cPanel release it is a file which is causing this problem.
Please see the errors encountered while registering CSF plugin.
---------
I have just moved the file /var/cpanel/apps to another location and just created a directory with same name .Now i am able to install plugins without any issues.Is it safe/proper to do like this ?
Today I have update cPanel server to new version (11.44) after updating i had tried to install CSF plugin but the plugin interface was not working from WHM >> Plugins page.In previous cPanel versions all plugins config files were saved in /var/cpanel/apps (Eg : /var/cpanel/apps/csf.conf) but in new cPanel release it is a file which is causing this problem.
Please see the errors encountered while registering CSF plugin.
---------
Code:
[B]# /usr/local/cpanel/bin/register_appconfig /usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf/csf.conf[/B]
Failed to write /var/cpanel/apps/csf.conf: Not a directory
/usr/local/cpanel/bin/register_appconfig: Summary
This tool allows you to install an appconfig file an ensures that it is
registered with the system and available for use. For more information
please see the documentation for this system:
[url]http://go.cpanel.net/appconfig[/url]
Example usage:
/usr/local/cpanel/bin/register_appconfig <conf_file>
/usr/local/cpanel/bin/register_appconfig ./pkg/appconfig/myapp.appconfig
/usr/local/cpanel/bin/register_appconfig --help
-------------------
Code:
[B]# cat /var/cpanel/apps[/B]
# name
name=lview
/var/cpanel/apps
# Service that will serve this app
service=whostmgr
# Physical path: /usr/local/cpanel/3rdparty/Foo.php
# Literal URL path: $server:$port/$cpsession/3rdparty/Foo.php
url=/cgi/logview/lview.cgi
# System user to run process as
user=root
# Required acls
acls=software-LogView-lview
# Display name as show in the service ui
displayname=System Log Viewer - <b>LogView</b>
# Url to show in the service ui (relative to install path for whm this is cgi/)
entryurl=logview/lview.cgi
# Path to upgrade script
upgradecall=/usr/local/cpanel/whostmgr/docroot/cgi/logview/lview.cgi
--------------------
Last edited by a moderator: