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.

Update instance update process

Andras Bacsai4ae4e8880016
diff --git a/app/Actions/Server/UpdateCoolify.php b/app/Actions/Server/UpdateCoolify.php
index 6c01f75c9e..c740720685 100644
--- a/app/Actions/Server/UpdateCoolify.php
+++ b/app/Actions/Server/UpdateCoolify.php
@@ -45,7 +45,6 @@ class UpdateCoolify
}
$this->update();
}
- send_internal_notification("Instance updated from {$this->currentVersion} -> {$this->latestVersion}");
} catch (\Throwable $e) {
ray('InstanceAutoUpdateJob failed');
ray($e->getMessage());
@@ -83,6 +82,7 @@ class UpdateCoolify
"bash /data/coolify/source/upgrade.sh $this->latestVersion"
], $this->server);
}
+ send_internal_notification("Instance updated from {$this->currentVersion} -> {$this->latestVersion}");
return;
}
}