This commit is contained in:
Bozhidar 2024-10-31 15:23:35 +02:00
parent 145064f148
commit d37bef54f2
2 changed files with 6 additions and 3 deletions

View file

@ -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)

View file

@ -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:]')