Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Oct 31, 2024
2 parents adbbc04 + d37bef5 commit e8dc629
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions web/app/Models/HostingSubscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static function boot()
$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));
}
});

Expand Down Expand Up @@ -185,7 +185,10 @@ private function _createLinuxWebUser($model): array

}

return [];
return [
'error'=>true,
'message'=>$createLinuxWebUserOutput
];

}
private static function _generateUsername($string)
Expand Down
2 changes: 1 addition & 1 deletion web/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:]')
Expand Down

0 comments on commit e8dc629

Please sign in to comment.