{"id":2086,"date":"2019-01-01T12:10:12","date_gmt":"2019-01-01T12:10:12","guid":{"rendered":"http:\/\/www.softaculous.com\/blog\/?post_type=docs&#038;p=2086"},"modified":"2025-10-29T10:45:14","modified_gmt":"2025-10-29T10:45:14","slug":"blesta-auto-install-module","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/developers\/whmcs\/blesta-auto-install-module\/","title":{"rendered":"Blesta Auto Install Module"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Overview<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This guide will help you to setup the Softaculous Auto Install plugin in Blesta to auto-install scripts after a user account is created. Setting this up is very easy. This guide assumes that you have already installed Softaculous on your server.<\/p>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Note<\/strong>: This plugin works with cPanel, Webuzo, CentOS Web Panel, Plesk, InterWorx and ISPmanager.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">List of Scripts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>All the scripts in Softaculous can be Auto Installed. Following is the popular list of scripts&nbsp;:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>WordPress, b2evolution, StatusNet, Drupal, Mambo, phpBB, SMF, AEF, Coppermine, Gallery, Jcow, OpenClassifieds, openX, WebCalendar, Shadows Rising, phpList, SquirrelMail, LimeSurvey, Piwik, SugarCRM, PHProjekt, osCommerce, Magento, phpBook, HESK, osTicket, kPlaylist, VidiScript, Gregarius, CodeIgniter, Moodle, Elgg.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Download and Upload<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you are using Blesta 4.5+ you do not need to download the plugin as it is shipped by default with Blesta.&nbsp;<br>If you are using Blesta 4.4.x you can download the plugin here&nbsp;:<br><a href=\"https:\/\/github.com\/blesta\/plugin-softaculous\">https:\/\/github.com\/blesta\/plugin-softaculous<\/a><br>Unzip it and upload, it to your \/path\/to\/blesta\/plugins\/ Directory.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install the Plugin<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"568\" src=\"http:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall1.png\" alt=\"\" class=\"wp-image-2087\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall1.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall1-300x170.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall1-768x436.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have uploaded the plugin you will need to install it from the Blesta admin panel -&gt; Settings -&gt; Plugins page. Click on the&nbsp;<strong>Available<\/strong>&nbsp;tab on the Plugins page and look for the&nbsp;<strong>Soft Auto Installer<\/strong>&nbsp;plugin and click on the&nbsp;<strong>Install<\/strong>&nbsp;button.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Editing the Package<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This guide assumes you have already setup the Package in Blesta to create user accounts automatically when the order is activated.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setup Configurable Options<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"189\" src=\"http:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall2.png\" alt=\"\" class=\"wp-image-2088\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall2.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall2-300x57.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall2-768x145.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Packages -&gt; Configurable Options page and click on the&nbsp;<strong>Create Group<\/strong>&nbsp;button to add a group in which we will assign the configurable options.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now click on the&nbsp;<strong>Create Option<\/strong>&nbsp;button to create configurable options. We need to create the following Configurable Options as demonstrated in the screenshot below. Please use the same option name as in the screenshots below otherwise the plugin will not work.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. Script field<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This configurable option will allow the user to choose which script they want to install<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Label<\/strong>\u00a0: Script (You can change it as per your preference)<\/li>\n\n\n\n<li><strong>Name<\/strong>\u00a0: script (Do not change this value)<\/li>\n\n\n\n<li><strong>Type<\/strong>\u00a0: Drop-down<\/li>\n\n\n\n<li>Select\u00a0<strong>Client can Add<\/strong>\u00a0checkbox<\/li>\n\n\n\n<li><strong>Option Name<\/strong>\u00a0: WordPress (WordPress is an example you can pass any script name you want to install)<\/li>\n\n\n\n<li><strong>Option Value<\/strong>\u00a0: WordPress (WordPress is an example you can pass any script name you want to install)<\/li>\n<\/ul>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Note<\/strong>&nbsp;: You can give &#8220;None&#8221; as the first option in the List of Scripts. If a user doesn&#8217;t want to install a script when their account is created, they can choose &#8220;None&#8221; to refrain from installing any script.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"568\" src=\"http:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall3.png\" alt=\"\" class=\"wp-image-2089\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall3.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall3-300x170.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall3-768x436.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">2. Admin Name field<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This configurable option will allow the user to choose the admin username for the script that will be installed<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Label<\/strong>\u00a0: Admin Name (You can change it as per your preference)<\/li>\n\n\n\n<li><strong>Name<\/strong>\u00a0: admin_name (Do not change this value)<\/li>\n\n\n\n<li><strong>Type<\/strong>\u00a0: Text<\/li>\n\n\n\n<li>Select\u00a0<strong>Client can Add<\/strong>\u00a0checkbox\u00a0<br><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"568\" src=\"http:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall4.png\" alt=\"\" class=\"wp-image-2090\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall4.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall4-300x170.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall4-768x436.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">3. Admin Pass field<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This configurable option will allow the user to choose the admin password for the script that will be installed<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Label<\/strong>\u00a0: Admin Pass (You can change it as per your preference)<\/li>\n\n\n\n<li><strong>Name<\/strong>\u00a0: admin_pass (Do not change this value)<\/li>\n\n\n\n<li><strong>Type<\/strong>\u00a0: Password<\/li>\n\n\n\n<li>Select\u00a0<strong>Client can Add<\/strong>\u00a0checkbox\u00a0<br><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"568\" src=\"http:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall5.png\" alt=\"\" class=\"wp-image-2091\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall5.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall5-300x170.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall5-768x436.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">4. Directory field<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This configurable option will allow the user to choose the directory in which the script that will be installed&nbsp;<strong>Note&nbsp;:<\/strong>&nbsp;This is an option field and if you do not create this field all the scripts will be installed in the domain root by default<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Label<\/strong>\u00a0: Directory (You can change it as per your preference)<\/li>\n\n\n\n<li><strong>Name<\/strong>\u00a0: directory (Do not change this value)<\/li>\n\n\n\n<li><strong>Type<\/strong>\u00a0: Text<\/li>\n\n\n\n<li>Select\u00a0<strong>Client can Add<\/strong>\u00a0checkbox\u00a0<br><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"568\" src=\"http:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall6.png\" alt=\"\" class=\"wp-image-2092\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall6.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall6-300x170.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall6-768x436.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now go to your&nbsp;<strong>package<\/strong>&nbsp;and edit the package to assign the&nbsp;<strong>Configurable Options Group<\/strong>&nbsp;you just created to your package.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"344\" src=\"http:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall7.png\" alt=\"\" class=\"wp-image-2093\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall7.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall7-300x103.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2019\/01\/BlestaAutoInstall7-768x264.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Testing the Setup<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can test the setup by making a DUMMY Order and activating that order. When the order is activated and the control panel account is created the Softaculous Auto Install plugin will install the script as well.&nbsp;<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Troubleshooting<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There could be several reasons for the plugin Not to work&nbsp;:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A firewall is blocking requests<\/li>\n\n\n\n<li>You put the incorrect Field Names<\/li>\n\n\n\n<li>cURL is disabled in PHP<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Support<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you need any assistance then please contact Softaculous Support. Please send us a screenshot of the Order Form and the Configurable Options you added to the Package.<\/p>\n","protected":false},"featured_media":0,"parent":1690,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-2086","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/comments?post=2086"}],"version-history":[{"count":4,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2086\/revisions"}],"predecessor-version":[{"id":6249,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2086\/revisions\/6249"}],"up":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/1690"}],"wp:attachment":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/media?parent=2086"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=2086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}