From 94ba7b1eacbd5ec1fd5c962239f98ad1fafc1ac1 Mon Sep 17 00:00:00 2001 From: michele Date: Tue, 28 Apr 2026 19:16:39 +0000 Subject: [PATCH] Expose node refresh logs in launcher --- app/Filament/Pages/Supporto/Modifiche.php | 4 ++++ .../pages/supporto/aggiornamento-launcher.blade.php | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/app/Filament/Pages/Supporto/Modifiche.php b/app/Filament/Pages/Supporto/Modifiche.php index cd24bfe..e3895cd 100644 --- a/app/Filament/Pages/Supporto/Modifiche.php +++ b/app/Filament/Pages/Supporto/Modifiche.php @@ -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.'; } diff --git a/resources/views/filament/pages/supporto/aggiornamento-launcher.blade.php b/resources/views/filament/pages/supporto/aggiornamento-launcher.blade.php index 7265f9b..bd344fa 100644 --- a/resources/views/filament/pages/supporto/aggiornamento-launcher.blade.php +++ b/resources/views/filament/pages/supporto/aggiornamento-launcher.blade.php @@ -98,6 +98,13 @@
{{ $this->lastUpdateIssue }}
@endif + + @if(filled($this->lastUpdateOutput)) +
+
Output completo ultimo refresh nodo
+
{{ $this->lastUpdateOutput }}
+
+ @endif