From 56e7453f8de95bdfbf69a21d94b192c2865d2643 Mon Sep 17 00:00:00 2001 From: boban Date: Tue, 28 Oct 2025 21:55:38 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20Mailbox=20Stats=20=C3=BCber=20Dovecot=20?= =?UTF-8?q?mit=20config/mailpool.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Livewire/Ui/System/UpdateCard.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/Livewire/Ui/System/UpdateCard.php b/app/Livewire/Ui/System/UpdateCard.php index 7b7414a..a3c34dc 100644 --- a/app/Livewire/Ui/System/UpdateCard.php +++ b/app/Livewire/Ui/System/UpdateCard.php @@ -48,13 +48,12 @@ class UpdateCard extends Component $this->reloadVersionsAndStatus(); $this->recompute(); $this->progressLine = ''; -// $this->progressLine = $this->tailUpdateLog(); if ($this->running) { $this->state = 'running'; $this->dispatch('openModal', component: 'ui.system.modal.update-modal'); } - + $this->recomputeUi(); } @@ -71,7 +70,6 @@ class UpdateCard extends Component Cache::forget('mailwolt.update_available'); Cache::put($this->cacheStartedAtKey, time(), now()->addHour()); $this->dispatch('openModal', component: 'ui.system.modal.update-modal'); - // Wrapper starten (setzt /var/lib/mailwolt/update/{state,rc} und schreibt Versionen) @shell_exec('nohup sudo -n /usr/local/sbin/mailwolt-update >/dev/null 2>&1 &'); // Sofort ins Running gehen @@ -88,7 +86,6 @@ class UpdateCard extends Component public function pollUpdate(): void { - // 1) aktuellen Wrapper-Status einlesen $this->refreshLowLevelState(); if ($this->rc !== null) { @@ -116,7 +113,6 @@ class UpdateCard extends Component } if ($this->rc === 0 && !$this->postActionsDone) { - // Dienste neu starten (asynchron) // @shell_exec('nohup php /var/www/mailwolt/artisan mailwolt:restart-services >/dev/null 2>&1 &'); @shell_exec('nohup php /var/www/mailwolt/artisan health:collect >/dev/null 2>&1 &'); @shell_exec('nohup php /var/www/mailwolt/artisan settings:sync >/dev/null 2>&1 &');