From 29eea1be84c6621368591f21278d3a0db35acf9f Mon Sep 17 00:00:00 2001 From: santacruz-usa Date: Thu, 23 Jul 2026 03:28:00 -0500 Subject: [PATCH] Update index.php Modified GetGoaccess(): instead of sending content of log file to goaccess via stdin, provide log filename to goaccess for direct usage. Signed-off-by: santacruz-usa --- root/dashboard/www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/dashboard/www/index.php b/root/dashboard/www/index.php index a058e3cf9..582924379 100644 --- a/root/dashboard/www/index.php +++ b/root/dashboard/www/index.php @@ -291,7 +291,7 @@ function GetGoaccess() { endif; $access_log = file_exists("/dashboard/logs") ? "/dashboard/logs/*.log" : "/config/log/nginx/access.log"; - $goaccess = shell_exec("cat $access_log | /usr/bin/goaccess -a -o html --config-file=/dashboard/goaccess.conf $geodb $asndb -"); + $goaccess = shell_exec("/usr/bin/goaccess $access_log -a -o html --config-file=/dashboard/goaccess.conf $geodb $asndb"); $goaccess = str_replace("
", "