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: delete resource if there was an error fix: do not refresh on containerStatusJob (db view)
Andras Bacsaibc3e59e4ef5c
diff --git a/app/Http/Livewire/Project/Database/Heading.php b/app/Http/Livewire/Project/Database/Heading.phpindex 7b2796c857..fc867ce79e 100644--- a/app/Http/Livewire/Project/Database/Heading.php+++ b/app/Http/Livewire/Project/Database/Heading.php@@ -6,7 +6,6 @@ use App\Actions\Database\StartPostgresql;use App\Actions\Database\StartRedis;use App\Actions\Database\StopDatabase;use App\Jobs\ContainerStatusJob;-use App\Notifications\Application\StatusChanged;use Livewire\Component;class Heading extends Component@@ -29,7 +28,6 @@ class Heading extends Component{dispatch_sync(new ContainerStatusJob($this->database->destination->server));$this->database->refresh();- $this->emit('refresh');}public function mount()diff --git a/app/Jobs/StopResourceJob.php b/app/Jobs/StopResourceJob.phpindex a702d83f3e..0bfc1f2faf 100644--- a/app/Jobs/StopResourceJob.php+++ b/app/Jobs/StopResourceJob.php@@ -45,10 +45,11 @@ class StopResourceJob implements ShouldQueue, ShouldBeEncryptedStopService::run($this->resource);break;}- $this->resource->delete();} catch (\Throwable $e) {send_internal_notification('ContainerStoppingJob failed with: ' . $e->getMessage());throw $e;+ } finally {+ $this->resource->delete();}}}diff --git a/config/sentry.php b/config/sentry.phpindex 83b5e5e5f4..fd7d35889f 100644--- a/config/sentry.php+++ b/config/sentry.php@@ -7,7 +7,7 @@ return [// The release version of your application// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))- 'release' => '4.0.0-beta.84',+ 'release' => '4.0.0-beta.85',// When left empty or `null` the Laravel environment will be used'environment' => config('app.env'),diff --git a/config/version.php b/config/version.phpindex e9a5cd3885..4076867dc6 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.84';+return '4.0.0-beta.85';diff --git a/versions.json b/versions.jsonindex 0811b005bc..ab04cce684 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.84"+ "version": "4.0.0-beta.85"}}}