This is an old revision of the document!
To upgrade to Xenica 3.1 you will need to follow the following steps
- 1. take backup for your mysql DB to save your IPs data and configs
- 2. remove the old CitrixXen folder in WHMCS_PATH/modules/servers/CitrixXen (or put it somewhere out of the modules directory)
- 3. Upload the new files to your WHMCS modules folder (check the ownership and permissions too).
- 4. install the new xenica addon from WHMCS menu:(setup > addon modules)
- 5. Visit Xinica addon now from WHMCS menu: (Addons > Xenica) , and complette the Update wizard from there .
- 6. Remember to replace your old CronJob in WHMCS Server to : 10 * * * * /usr/bin/php -q YOUR_WHMCS_PATH/modules/servers/Xenica/cron/cron.php
- ,there is no need to any cronjobs on your XenServers (if you have any just remove )
- 7. disable both (Servarica_Configurations,Servarica_IP_Manager)addons and then you can remove the old (Servarica_Configurations,Servarica_IP_Manager) folders from /var/www/html/whmcs/modules/addons
To upgrade to Xenica 2 you will need to follow the following steps
- extract the module zip file to any folder in your server lets say on /root
- replace the files in YOURWHMCSFOLDER/modules/serversCitrixXen folder with the new files in xenica/CitrixXen folder that you you just extracted
- remove /modules/admin/Servarica_Ip_Manager folder and the files
- put the folder Servarica_Ip_Manager in /modules/addons/
- put the folder Servarica_Configurations in /modules/addons/Servarica_Configurations
- make sure the permissions are correct for all replaced and new files by comparing with other files already there
- activate the ip manager module like an addon module
- active Servarica Configuration module as any addon module
- now open config.php file located at modules/servers/CitrixXen/config.php
- Copy the values manually from the file to the configuration module from modules → servarica module
- after you are done copying save the changes
- now delte old config.php file and rename the file config.php.orig to config.php
rm config.php mv config.php.orig config.php