How do I remove classic Fantastico v2.x?


These directions are for the older classic version of Fantastico v2.x.


Log into your server via SSH as root and execute the following:

cd /var/cpanel/registered_cpanelplugins
cp -p Fantastico_De_Luxe Fantastico_De_Luxe.cpanelplugin
/usr/local/cpanel/bin/unregister_cpanelplugin Fantastico_De_Luxe.cpanelplugin
rm -f /var/cpanel/registered_cpanelplugins/Fantastico_De_Luxe.cpanelplugin
rm -rf /var/netenberg/fantastico_de_luxe/
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/
rm -rf /usr/local/cpanel/3rdparty/fantastico
rm -rf /usr/local/cpanel/base/frontend/*/fantastico
rm -f /usr/local/cpanel/base/frontend/x/cells/fantastico.html
rm -f /usr/local/cpanel/base/frontend/x/cells/cpanelplugin_Fantastico_De_Luxe.html
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi


In the fifth line, /var/netenberg/ should be replaced with whatever directory you installed the Fantastico master files to, for example:

/home/netenberg/
or
/opt/netenberg/
or
/backup/netenberg/

Finally, remove the Fantastico update cron job from the root cron (via crontab -e or however you prefer to do it). This is what the cron job looks like:

1 1 * * * cd /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/scripts/ ; /usr/local/cpanel/3rdparty/bin/php cron.php > /dev/null 2>&1


Note the exact time that the cron job runs may vary.

Finally, log into WHM as root and click on the Feature Manager and select the "disabled" feature set. Ensure that Fantastico De Luxe is checked if it appears in the list. If you already have Fantastico F3 installed on your server please note that Fantastico F3 appears separately in the feature set and should not be checked in the disabled list, only Fantastico De Luxe.

Tags: Fantastico v2.x, Removal
2016-03-18 15:16 Netenberg Staff {writeRevision}
Average rating: 3.88 (8 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.