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
Update app/Livewire/Server/Security/Patches.php
Andras Bacsai9651195318ff
diff --git a/app/Livewire/Server/Security/Patches.php b/app/Livewire/Server/Security/Patches.phpindex 1830558133..9392fc3514 100644--- a/app/Livewire/Server/Security/Patches.php+++ b/app/Livewire/Server/Security/Patches.php@@ -67,8 +67,18 @@ class Patches extends Componentpublic function updateAllPackages(){+ if (! $this->packageManager || ! $this->osId) {+ $this->dispatch('error', message: 'Run “Check for updates” first.');+ return;+ }+try {- $activity = UpdatePackage::run(server: $this->server, packageManager: $this->packageManager, osId: $this->osId, all: true);+ $activity = UpdatePackage::run(+ server: $this->server,+ packageManager: $this->packageManager,+ osId: $this->osId,+ all: true+ );$this->dispatch('activityMonitor', $activity->id, ServerPackageUpdated::class);} catch (\Exception $e) {$this->dispatch('error', message: $e->getMessage());