Fix: Mailbox Stats über Dovecot mit config/mailpool.php

main v1.0.86
boban 2025-10-28 21:55:38 +01:00
parent 8790cffeb4
commit 56e7453f8d
1 changed files with 1 additions and 5 deletions

View File

@ -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 &');