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(deployment): handle missing destination in deployment process to prevent errors
Andras Bacsai06b8d78153f3
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 635032dfee..ab80a19de1 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -1330,7 +1330,10 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueuereturn;}foreach ($destination_ids as $destination_id) {- $destination = StandaloneDocker::find($destination_id)->first();+ $destination = StandaloneDocker::find($destination_id);+ if (! $destination) {+ continue;+ }$server = $destination->server;if ($server->team_id !== $this->mainServer->team_id) {$this->application_deployment_queue->addLogEntry("Skipping deployment to {$server->name}. Not in the same team?!");