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