Reinstall

From Softaculous Wiki
Jump to: navigation, search

Overview

The following guide will show you how to Re-install Softaculous on your server.

Backup of your settings

First you need to take a backup of your Softaculous settings.

1. Copy the universal.php

Copy the universal setting file located at :

/path/to/softaculous/enduser/universal.php

e.g. in cPanel, the universal.php is located at /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/universal.php


2. Copy the iscripts.php

Copy the Enabled scripts file located at :

/path/to/softaculous/enduser/iscripts.php

e.g. in cPanel, the iscripts.php is located at /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/iscripts.php


3. Copy the categories.php

This file stores the order of Script Categories which can be changed from Softaculous Admin panel -> Categories

Copy the categories file located at :

/path/to/softaculous/enduser/categories.ser

e.g. in cPanel, the categories.ser is located at /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/categories.ser


4. Copy the conf Folder

Copy the conf folder located at :

/path/to/softaculous/conf

e.g. in cPanel, the conf folder is located at /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/conf


5. Copy the hooks folder, IF you have configured hooks

IF YOU HAVE CONFIGURED ANY HOOKS FOR THE INSTALLATION, YOU WILL HAVE TO COPY THE HOOKS FOLDER AS WELL

/path/to/softaculous/enduser/hooks

e.g. in cPanel, the conf folder is located at /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/hooks


6. Copy the cscripts.php ( IF PRESENT )

cscripts.php is the file for custom scripts.

Copy the custom scripts file located at :

/path/to/softaculous/enduser/cscripts.php

e.g. in cPanel, the cscripts.php is located at /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/cscripts.php


7. Copy the Custom Script Packages ( IF PRESENT )

If you have configured any Custom Script, you will need to copy the packages on to the new server.

Copy the custom scripts located at :

/var/softaculous/CUSTOM_SCRIPT

Remove Softaculous

Delete the following folder from your server to uninstall Softaculous :

/path/to/softaculous/

e.g. in cPanel, Softaculous is located at /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/

Install Softaculous

Now you should re-install Softaculous on your server.

1. Make sure Ioncube is enabled on your server.
2. Execute the following commands on your server to install Softaculous :

wget -N http://files.softaculous.com/install.sh
chmod 755 install.sh
./install.sh

Copy the settings files you backed up earlier

Now copy the setting files that you backed up in the first step. Replace the files to the respective path from where you copied them.

Thats it!! You have re-installed Softaculous on your server.