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: env value generation

Andras Bacsaif7e1ce865667
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index f010c33b67..2584df48bd 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -77,6 +77,9 @@ class Handler extends ExceptionHandler
);
}
);
+ if (str($e->getMessage())->contains('No space left on device')) {
+ return;
+ }
ray('reporting to sentry');
Integration::captureUnhandledException($e);
});
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index 86a8749857..0911aa118d 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -1405,7 +1405,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
]);
}
} else {
- $generatedValue = generateEnvValue($command, $service);
+ $generatedValue = generateEnvValue($command);
if (!$foundEnv) {
EnvironmentVariable::create([
'key' => $key,
@@ -1581,7 +1581,7 @@ function parseEnvVariable(Str|string $value)
'port' => $port,
];
}
-function generateEnvValue(string $command, Service $service)
+function generateEnvValue(string $command, ?Service $service = null)
{
switch ($command) {
case 'PASSWORD':
diff --git a/config/sentry.php b/config/sentry.php
index 438c452463..13331bc775 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.232',
+ 'release' => '4.0.0-beta.233',
// 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 2ff41e4554..7aab683f55 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.232';
+return '4.0.0-beta.233';
diff --git a/versions.json b/versions.json
index 3dfa22cd1c..c881b176b8 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.232"
+ "version": "4.0.0-beta.233"
}
}
}