mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-24 00:20:25 +00:00
update
This commit is contained in:
parent
145064f148
commit
d37bef54f2
2 changed files with 6 additions and 3 deletions
|
@ -53,7 +53,7 @@ class HostingSubscription extends Model
|
|||
$model->system_username = $create['system_username'];
|
||||
$model->system_password = $create['system_password'];
|
||||
} else {
|
||||
throw new \Exception('System username or password not created');
|
||||
throw new \Exception('System username or password not created: Error: ' .json_encode($create));
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -185,7 +185,10 @@ class HostingSubscription extends Model
|
|||
|
||||
}
|
||||
|
||||
return [];
|
||||
return [
|
||||
'error'=>true,
|
||||
'message'=>$createLinuxWebUserOutput
|
||||
];
|
||||
|
||||
}
|
||||
private static function _generateUsername($string)
|
||||
|
|
|
@ -39,7 +39,7 @@ cp /usr/local/phyre/update/web/package.json /usr/local/phyre/web/package.json
|
|||
|
||||
|
||||
systemctl stop phyre
|
||||
apt-remove phyre -y
|
||||
apt remove phyre-nginx -y
|
||||
|
||||
OS=$(lsb_release -si)
|
||||
OS_LOWER=$(echo $OS | tr '[:upper:]' '[:lower:]')
|
||||
|
|
Loading…
Reference in a new issue