|
|
@@ -606,10 +606,11 @@ exit 0
|
|
|
DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
|
|
|
if (0 !== $ret) throw new Exception("Cannot run remote command as root! #{$ret}");
|
|
|
|
|
|
- $cmd = "/usr/bin/php /Library/Server/Web/Data/Sites/Default/SE/bash_install_check.php";
|
|
|
- V::execRootRemote($appLicenceInfo->mainServer, $appLicenceInfo->rootLogin, $appLicenceInfo->rootPassword, $cmd, $out, $ret, $appLicenceInfo->sshPort);
|
|
|
- DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
|
|
|
- if (0 !== $ret) throw new Exception("Cannot run remote command as root! #{$ret}");
|
|
|
+ // TODO: SE/bash_install_check.php requires $domain!
|
|
|
+ // $cmd = "/usr/bin/php /Library/Server/Web/Data/Sites/Default/SE/bash_install_check.php {$domain}";
|
|
|
+ // V::execRootRemote($appLicenceInfo->mainServer, $appLicenceInfo->rootLogin, $appLicenceInfo->rootPassword, $cmd, $out, $ret, $appLicenceInfo->sshPort);
|
|
|
+ // DBG::_(true, true, "cmd: {$cmd} (return: {$ret})", $out, __CLASS__, __FUNCTION__, __LINE__);
|
|
|
+ // if (0 !== $ret) throw new Exception("Cannot run remote command as root! #{$ret}");
|
|
|
}
|
|
|
|
|
|
public function _assertRsaKeyExists($appLicenceInfo) {
|