Expose node refresh logs in launcher
This commit is contained in:
parent
19a4da6301
commit
94ba7b1eac
|
|
@ -2111,6 +2111,10 @@ private function detectUpdateIssue(string $output, int $exitCode): ?string
|
|||
}
|
||||
|
||||
if (str_contains($haystack, 'permission denied')) {
|
||||
if (str_contains($haystack, 'rsync') || str_contains($haystack, '/var/www/') || str_contains($haystack, 'sync deploy fallita')) {
|
||||
return 'Permessi insufficienti sulla cartella di deploy del nodo durante la sync da Gitea. Il processo web non riesce a scrivere nel path applicativo remoto.';
|
||||
}
|
||||
|
||||
return 'Permessi insufficienti sul filesystem o su git durante update.';
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -98,6 +98,13 @@
|
|||
<div class="mt-2 rounded border border-amber-300 bg-amber-50 px-2 py-2 text-[11px] text-amber-900">{{ $this->lastUpdateIssue }}</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@if(filled($this->lastUpdateOutput))
|
||||
<div class="mt-3 rounded-lg border bg-slate-950 p-3">
|
||||
<div class="mb-1 text-[11px] font-semibold text-slate-200">Output completo ultimo refresh nodo</div>
|
||||
<pre class="max-h-64 overflow-auto whitespace-pre-wrap text-[11px] leading-relaxed text-slate-100">{{ $this->lastUpdateOutput }}</pre>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="rounded-xl border bg-white p-4">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user