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: show database logs in case of its not healthy and running

Andras Bacsaiaea7cc96380e
diff --git a/app/Actions/Database/StartRedis.php b/app/Actions/Database/StartRedis.php
index fe02b113e9..776cd66486 100644
--- a/app/Actions/Database/StartRedis.php
+++ b/app/Actions/Database/StartRedis.php
@@ -133,8 +133,6 @@ class StartRedis
private function generate_environment_variables()
{
$environment_variables = collect();
- ray('Generate Environment Variables')->green();
- ray($this->database->runtime_environment_variables)->green();
foreach ($this->database->runtime_environment_variables as $env) {
$environment_variables->push("$env->key=$env->value");
}
diff --git a/resources/views/livewire/project/shared/logs.blade.php b/resources/views/livewire/project/shared/logs.blade.php
index ecaa7c93b6..59408971ed 100644
--- a/resources/views/livewire/project/shared/logs.blade.php
+++ b/resources/views/livewire/project/shared/logs.blade.php
@@ -9,11 +9,7 @@
<h1>Logs</h1>
<livewire:project.database.heading :database="$resource" />
<div class="pt-4">
- @if (Str::of($status)->startsWith('running'))
- <livewire:project.shared.get-logs :server="$server" :container="$container" />
- @else
- Database is not running.
- @endif
+ <livewire:project.shared.get-logs :server="$server" :container="$container" />
</div>
@elseif ($type === 'service')
<livewire:project.service.navbar :service="$resource" :parameters="$parameters" :query="$query" />