Fix: ClamAV in Sidebar + optimize nach optimize:clear – kein 404 nach Update
- dvx.blade.php: Virenschutz-Link (ClamAV) in Sicherheits-Sektion eingefügt - fix_permissions: optimize:clear + optimize hintereinander – Cache wird nach Permissions-Fix neu aufgebaut, kein leerer/fehlender Cache mehr Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main v1.1.319
parent
a771f97516
commit
0635d1d9fe
|
|
@ -91,6 +91,11 @@
|
|||
Rspamd
|
||||
<div class="mw-nav-dot"></div>
|
||||
</a>
|
||||
<a href="{{ route('ui.security.clamav') }}" class="mw-nav-item {{ request()->routeIs('ui.security.clamav') ? 'active' : '' }}">
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M7 1.5C4 1.5 1.5 4 1.5 7S4 12.5 7 12.5 12.5 10 12.5 7 10 1.5 7 1.5Z" stroke="currentColor" stroke-width="1.2"/><path d="M5 7l1.5 1.5L9.5 5.5" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
Virenschutz
|
||||
<div class="mw-nav-dot"></div>
|
||||
</a>
|
||||
<a href="{{ route('ui.security.audit') }}" class="mw-nav-item {{ request()->routeIs('ui.security.audit') ? 'active' : '' }}">
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M1 3.5h12M1 7h12M1 10.5h12" stroke="currentColor" stroke-width="1.2" stroke-linecap="round"/></svg>
|
||||
Audit-Logs
|
||||
|
|
|
|||
|
|
@ -188,9 +188,9 @@ fix_permissions(){
|
|||
frontend_build_quiet || true
|
||||
fi
|
||||
|
||||
# Nur leeren — KEIN config:cache/route:cache (kaputte Cache-Datei → 404/500)
|
||||
# Laravel lädt Config + Routes beim nächsten Request automatisch frisch
|
||||
# Erst leeren, dann neu aufbauen — Permissions sind oben bereits korrekt gesetzt
|
||||
sudo -u "${APP_USER}" php "${APP_DIR}/artisan" optimize:clear --quiet 2>/dev/null || true
|
||||
sudo -u "${APP_USER}" php "${APP_DIR}/artisan" optimize --quiet 2>/dev/null || true
|
||||
}
|
||||
|
||||
ensure_system(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue