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 Application `isDeploymentInprogress` method
Nicolas Perraut5674879e2360
diff --git a/app/Models/Application.php b/app/Models/Application.phpindex e606735df1..9e235233e5 100644--- a/app/Models/Application.php+++ b/app/Models/Application.php@@ -471,7 +471,7 @@ class Application extends BaseModel}public function isDeploymentInprogress(){- $deployments = ApplicationDeploymentQueue::where('application_id', $this->id)->where('status', ApplicationDeploymentStatus::IN_PROGRESS)->where('status', ApplicationDeploymentStatus::QUEUED)->count();+ $deployments = ApplicationDeploymentQueue::where('application_id', $this->id)->whereIn('status', [ApplicationDeploymentStatus::IN_PROGRESS, ApplicationDeploymentStatus::QUEUED])->count();if ($deployments > 0) {return true;}