Comments on How to Install GoAccess Log Analyzer on Ubuntu 24.04

GoAccess is a real-time web log analyzer for Unix-like systems, including Ubuntu. It provides an efficient and user-friendly way to visualize and analyze web server logs, supporting various formats like Apache, Nginx, and Amazon S3 logs.

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Jürgen Depicker

I updated (yesterday) /etc/goaccess/goaccess.conf according to your howto, and enabled all panels.A 2AM the stats were generated automatically but the geo location panel isn't there.-rw-r--r-- 1 web150 client1 1.2M Sep 23 02:03 /var/www/clients/client1/web150/web/stats/goaindex.htmlIf I manually execute goaccess, the geo location panel is there:sudo -u web150 goaccess /var/www/clients/client1/web150/log/access.log -p /etc/goaccess/goaccess.conf -o /var/www/clients/client1/web150/web/LMx/admin/sitereport.html

Any idea what might be wrong?

By: Jürgen Depicker

I figured out that ISPConfig keeps a per-site goaccess config file in the site's log folder.  Moreover, on my system that config file was owned by root, not the web user.These commands fixed the problem, and ensured I see what I want (geo location):

#overwrite the per-site config filesudo cp /etc/goaccess/goaccess.conf /var/www/clients/client1/web150/log/sudo chown web150:client1 /var/www/clients/client1/web150/log/goaccess.confsudo chmod 640 /var/www/clients/client1/web150/log/goaccess.conf