goaccess logging on Debian 12 (Proxmox)

tinfoil-hat

Active Member
Joined
Oct 24, 2021
Messages
417
Reaction score
210
Credits
2,905
Hi, I have installed goaccess on my Proxmox Server and it (kinda) works.

I use this to launch for troubleshooting:
Code:
goaccess /var/log/nginx/access.log -o /var/www/report.html --log-format=COMBINED --real-time-html
 [PARSING /var/log/nginx/access.log] {242.596} @ {40.432/s}
My crontab is this:
Code:
@reboot goaccess /var/log/nginx/access.log -o /var/www/report.html --log-format=COMBINED --real-time-html --daemonize > /dev/null 2>&1

I want goaccess to display the 1rst day of the Month. I have setup a nginx reverse proxy with around 10 entries, that all write their access log to /var/www/report.html. I have at first tried the goaccess configuration, which somehow worked on my old server (Debian 11 / No Proxmox). It kinda works, but stops after 2 days and doesn't refresh or append.

the goaccess is reachable public via https://stats.tinfoil-hat.net

To make goaccess read from the current month, I set up the logrotate like that:

Code:
# see "man logrotate" for details

# global options do not affect preceding include directives

# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# use date as a suffix of the rotated file
#dateext

# uncomment this if you want your log files compressed
#compress

# packages drop log rotation information into this directory
include /etc/logrotate.d

# system-specific logs may also be configured here.

- Thanks
 


Do you need additional Information, for solving?
 
Hmm.. still doesn't update the web ui
 
Now it somehow latsts 7 days and then stops refreshing / continuing :(
 
Sorry guys, but I really need help with this ... it stopped again after 7 days. I am thinking of offering a coffee or beer for the one solving this
 

Members online


Top