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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: only check server status in container status job
Andras Bacsai123e6eddd72d
diff --git a/app/Jobs/CheckLogDrainContainerJob.php b/app/Jobs/CheckLogDrainContainerJob.phpindex eb677265b8..4da49b9888 100644--- a/app/Jobs/CheckLogDrainContainerJob.php+++ b/app/Jobs/CheckLogDrainContainerJob.php@@ -44,7 +44,7 @@ class CheckLogDrainContainerJob implements ShouldQueue, ShouldBeEncrypted{// ray("checking log drain statuses for {$this->server->id}");try {- if (!$this->server->isServerReady()) {+ if (!$this->server->isFunctional()) {return;};$containers = instant_remote_process(["docker container ls -q"], $this->server, false);diff --git a/app/Jobs/ServerStatusJob.php b/app/Jobs/ServerStatusJob.phpindex 9dacea95c2..58f30b18d9 100644--- a/app/Jobs/ServerStatusJob.php+++ b/app/Jobs/ServerStatusJob.php@@ -34,7 +34,7 @@ class ServerStatusJob implements ShouldQueue, ShouldBeEncrypted{ray("checking server status for {$this->server->id}");try {- if ($this->server->isServerReady()) {+ if ($this->server->isFunctional()) {$this->cleanup(notify: false);}} catch (\Throwable $e) {