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.

fix: ignore if dynamic config could not be set

Andras Bacsaidfc353ce5480
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.php
index 54addf9216..6ff7e90db1 100644
--- a/app/Console/Commands/Init.php
+++ b/app/Console/Commands/Init.php
@@ -35,7 +35,12 @@ class Init extends Command
}
$this->cleanup_in_progress_application_deployments();
$this->cleanup_stucked_helper_containers();
- setup_dynamic_configuration();
+
+ try {
+ setup_dynamic_configuration();
+ } catch (\Throwable $e) {
+ echo "Could not setup dynamic configuration: {$e->getMessage()}\n";
+ }
$settings = InstanceSettings::get();
if (!is_null(env('AUTOUPDATE', null))) {
diff --git a/config/sentry.php b/config/sentry.php
index 43ac820bdf..aecb822f08 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.158',
+ 'release' => '4.0.0-beta.159',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index 5eb844939a..bdc652e8f5 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.158';
+return '4.0.0-beta.159';
diff --git a/versions.json b/versions.json
index 2613f88b9c..88f9860e40 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.158"
+ "version": "4.0.0-beta.159"
}
}
}