Update instance update process

This commit is contained in:
Andras Bacsai 2024-04-08 13:04:38 +02:00
parent 85fb27a631
commit 4ae4e88800

View File

@ -45,7 +45,6 @@ public function handle(bool $force = false, bool $async = false)
}
$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 @@ private function update()
"bash /data/coolify/source/upgrade.sh $this->latestVersion"
], $this->server);
}
send_internal_notification("Instance updated from {$this->currentVersion} -> {$this->latestVersion}");
return;
}
}