mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-12 15:53:46 -04:00
fix(server): enable disabled self-hosted servers again on validation
On self-hosted, a validation that connects now clears force_disabled. The unreachable cleanup skips the localhost server, and the server page explains why a server is disabled. Cloud and transferred servers stay disabled. Closes #12475
This commit is contained in:
@@ -221,6 +221,14 @@
|
||||
</x-callout>
|
||||
@endif
|
||||
|
||||
@if ($server->canBeReEnabled())
|
||||
<x-callout type="danger" title="Server disabled" class="mb-4">
|
||||
Coolify disabled this server because it was unreachable for more than 7 days. Coolify does
|
||||
not connect to it. Correct the connection settings, then click
|
||||
<strong>Validate connection</strong>. When the connection works, the server is enabled again.
|
||||
</x-callout>
|
||||
@endif
|
||||
|
||||
<div class="grid gap-4 sm:grid-cols-2">
|
||||
<x-forms.input canGate="update" :canResource="$server" id="name" label="Name"
|
||||
required :disabled="$isValidating" />
|
||||
|
||||
Reference in New Issue
Block a user