Softaculous


Topic : reboot in rescue using the API


Posted By: uname-r on October 21, 2013, 4:23 am
Hi,

How can i reboot in rescue mode using the client API?  I see nothing in the doc about this.

Possible?  Any API function for this?

Thank you

Posted By: uname-r on October 25, 2013, 6:54 pm | Post: 1
Someone can provide an answer to this question plz?

Posted By: uname-r on October 25, 2013, 6:55 pm | Post: 2
...i only need the variables.


Posted By: syedshah20 on December 6, 2014, 5:42 am | Post: 3
Please change your SSH port.
You have this option in Virtualizor Admin Panel -> Configuration

Its difficult for people to exploit your server if the SSH port is different.


-----------------------
You can easily check out our high quality  Testking OG0-092 You can also get success in real hodges

Posted By: alons on December 11, 2014, 7:39 am | Post: 4
Quote From : uname-r October 25, 2013, 6:55 pm
...i only need the variables.



Main Act = rescue

Sir, the main varibles that should be posted are  :
enablerescue - This will enable rescue mode.
password - Rescue Password
conf_password - Same as password

disablerescue - Will disable rescuemode

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP

Posted By: PitbullOL on July 23, 2017, 9:50 pm | Post: 5
Why No Information in Wiki ? http://virtualizor.com/enduser-api/?php#disable-rescue

$v->r($v->rescue(126, ['disablerescue']));

It dosent work for me how is my Problem Need help pls.

Greetz

Posted By: chirag on July 24, 2017, 10:17 am | Post: 6
Quote
$v->r($v->rescue(126, ['disablerescue']));


I just checked the SDK and the function to disabke rescue si not there yet.
Please add the below function in sdk/enduser.php on your virtualizor server :

Like below :

function disable_rescue($vid){
       
    $post = array('disablerescue' => 1);
   
    //MAKE the Request
    $res = $this->call('index.php?svs='.$vid.'&act=rescue', $post);
   
    //DID it finish?
    if(!empty($res['done'])){
        return true;
    }else{
        return false;
    }
}

Above function should resolve your issue. We will add this in our next release.
Sorry for the inconvenience caused.
Let us know for further information.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.