Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: Disable Sentinel temporarily

Andras Bacsaibefdb716719f
diff --git a/app/Actions/Server/StartSentinel.php b/app/Actions/Server/StartSentinel.php
index 9eaafbd96a..ed93b6c605 100644
--- a/app/Actions/Server/StartSentinel.php
+++ b/app/Actions/Server/StartSentinel.php
@@ -11,6 +11,8 @@ class StartSentinel
public function handle(Server $server, bool $restart = false)
{
+ // TODO: Sentinel is not available in this version (soon).
+ return;
$version = get_latest_sentinel_version();
if ($server->isSwarm() || $server->isBuildServer()) {
return;
diff --git a/app/Models/Server.php b/app/Models/Server.php
index b9abc9bb2b..64c495fec2 100644
--- a/app/Models/Server.php
+++ b/app/Models/Server.php
@@ -570,23 +570,6 @@ $schema://$host {
return $this->settings->is_sentinel_enabled;
}
- public function checkServerApi()
- {
- if ($this->isServerApiEnabled()) {
- $server_ip = $this->ip;
- if (isDev()) {
- if ($this->id === 0) {
- $server_ip = 'localhost';
- }
- }
- $command = "curl -s http://{$server_ip}:12172/api/health";
- $process = Process::timeout(5)->run($command);
- if ($process->failed()) {
- ray($process->exitCode(), $process->output(), $process->errorOutput());
- throw new \Exception("Server API is not reachable on http://{$server_ip}:12172");
- }
- }
- }
public function checkSentinel()
{