{{ data_get_str($server, 'name')->limit(10) }} > General | MapleDeploy

General

@if ($server->hetzner_server_id)
@if ($hetznerServerStatus) @if (in_array($hetznerServerStatus, ['starting', 'initializing'])) @endif $hetznerServerStatus === 'running', 'text-red-500' => $hetznerServerStatus === 'off', ])> {{ ucfirst($hetznerServerStatus) }} @else Checking status... @endif
@if ($server->cloudProviderToken && !$server->isFunctional() && $hetznerServerStatus === 'off') Power On @endif @endif @if ($isValidating)
Validating...
@endif @if ($server->id === 0) @else Save @if ($server->isFunctional()) Validate & configure Revalidate server @endif @endif
@if ($server->isFunctional()) Server is reachable and validated. @else You can't use this server until it is validated. @endif @if ($isValidating)
Validation in Progress
@endif @if ( (!$isReachable || !$isUsable) && $server->id !== 0 && !$isValidating && !in_array($hetznerServerStatus, ['initializing', 'starting', 'stopping', 'off'])) Validate & configure Validate Server & Install Docker Engine @if ($server->validation_logs)

Previous Validation Logs

{!! $server->validation_logs !!}
@endif @endif @if ((!$isReachable || !$isUsable) && $server->id === 0) Validate Server @endif @if ($server->isForceDisabled() && isCloud()) The system has disabled the server because you have exceeded the number of servers for which you have paid. @endif
@if (!$isSwarmWorker && !$isBuildServer) @endif
@can('update', $server) @if ($isValidating)
@else
@endif @else
@endcan
@if (!$server->isLocalhost())
@if ($isBuildServerLocked) @else @endif
@endif
@if ($server->isFunctional())

Server Details

@if ($server->server_metadata) @endif
@if ($server->server_metadata) @php $meta = $server->server_metadata; @endphp
OS: {{ $meta['os'] ?? 'N/A' }}
Arch: {{ $meta['arch'] ?? 'N/A' }}
Kernel: {{ $meta['kernel'] ?? 'N/A' }}
CPU Cores: {{ $meta['cpus'] ?? 'N/A' }}
RAM: {{ isset($meta['memory_bytes']) ? round($meta['memory_bytes'] / 1073741824, 1) . ' GB' : 'N/A' }}
Up Since: {{ $meta['uptime_since'] ?? 'N/A' }}
@if (isset($meta['collected_at']))

Last updated: {{ \Carbon\Carbon::parse($meta['collected_at'])->diffForHumans() }}

@endif @else Fetch Server Details Fetching... @endif
@endif @if (!$server->hetzner_server_id && $availableHetznerTokens->isNotEmpty())

Link to Hetzner Cloud

Link this server to a Hetzner Cloud instance to enable power controls and status monitoring.

@foreach ($availableHetznerTokens as $token) @endforeach
Search by ID Searching...
OR
Search by IP Searching...
@if ($hetznerSearchError)

{{ $hetznerSearchError }}

@endif @if ($hetznerNoMatchFound)

@if ($manualHetznerServerId) No Hetzner server found with ID: {{ $manualHetznerServerId }} @else No Hetzner server found matching IP: {{ $server->ip }} @endif

Try a different token, enter the Server ID manually, or verify the details are correct.

@endif @if ($matchedHetznerServer)

Match Found!

Name: {{ $matchedHetznerServer['name'] }}
ID: {{ $matchedHetznerServer['id'] }}
Status: {{ ucfirst($matchedHetznerServer['status']) }}
Type: {{ data_get($matchedHetznerServer, 'server_type.name', 'Unknown') }}
Link This Server
@endif
@endif