
How can I solve this? Thanks!
Solved! It just needs to set the right path to access.log. It should be /var/log/nginx/access.log. There are other log files in /var/log/nginx/, how about those log files? Is it already included in report.html?
You need to parse each access log.
goaccess /var/log/nginx/access.log /var/log/nginx/access.log.1 ...
OR
zcat /var/log/nginx/access.log.*.gz | goaccess access.log -
Thanks for the clarification!
how can this be solved in docker? because i'm getting the same error.
i have created /srv/goaccess/logs/access.log
and i mounted the folder in the docker command like this -v "/srv/goaccess/logs:/srv/logs"
Error
GoAccess - version 1.3 - Feb 7 2019 09:19:45
Config file: /srv/data/goaccess.conf
Fatal error has occurred
Error occurred at: src/parser.c - read_log - 2728
Unable to open the specified log file. No such file or directory
@M034B5 Did you follow this?
@M034B5 Did you follow this?
Oops forgot to update my post, everything ran smoothly. I skimmed through some closed issues back then and solved my problem, Documentation lacks a lot of information. But all good now. Thanks!
@M034B5 Did you follow this?
Oops forgot to update my post, everything ran smoothly. I skimmed through some closed issues back then and solved my problem, Documentation lacks a lot of information. But all good now. Thanks!
Mind sharing your findings? I'm having the same issue.
@lelas Are you still having this issue? Can you please share how you are running goaccess? also, are you able to tail the log?
Most helpful comment
You need to parse each access log.
OR