allinurl / goaccess

GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
https://goaccess.io
MIT License
18.53k stars 1.11k forks source link

"missing closing tag: table" js error when docker run #2762

Open stefanpejcic opened 1 day ago

stefanpejcic commented 1 day ago

this command from readme for me always results in html file that cant be opened, error:

missing closing tag: table

nginx log file:

root@stefan:/usr/local/admin# cat /var/log/nginx/domlogs/stefan.openpanel.org.log
23.178.112.105 - - [25/Nov/2024:14:58:02 +0000] "GET /.well-known/acme-challenge/w1wFn-A-8ryAAfSUKczxSp86jvA5sxJ_DuJqIUwAeOA HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
3.147.193.199 - - [25/Nov/2024:14:58:02 +0000] "GET /.well-known/acme-challenge/w1wFn-A-8ryAAfSUKczxSp86jvA5sxJ_DuJqIUwAeOA HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
54.202.169.150 - - [25/Nov/2024:14:58:02 +0000] "GET /.well-known/acme-challenge/w1wFn-A-8ryAAfSUKczxSp86jvA5sxJ_DuJqIUwAeOA HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
16.170.219.174 - - [25/Nov/2024:14:58:02 +0000] "GET /.well-known/acme-challenge/w1wFn-A-8ryAAfSUKczxSp86jvA5sxJ_DuJqIUwAeOA HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
18.143.91.45 - - [25/Nov/2024:14:58:02 +0000] "GET /.well-known/acme-challenge/w1wFn-A-8ryAAfSUKczxSp86jvA5sxJ_DuJqIUwAeOA HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
root@stefan:/usr/local/admin# 

output from command:

root@stefan:/usr/local/admin# cat /var/log/nginx/domlogs/stefan.openpanel.org.log | docker run --rm -i -v /var/log/nginx/stats/hhvywyht/stefan.openpanel.org.html:/report.html -e LANG=EN allinurl/goaccess -a -o report.html --log-format COMBINED -
 [PARSING -] {0} @ {0/s}
Cleaning up resources...
root@stefan:/usr/local/admin#

generated html file: https://password.rs/en/p/c6dtagkzxd8wzh8


do you have some run commands that work as expected?

allinurl commented 1 day ago

Can you please attach the file to this post so I can take a look? Thanks

radovanjecmenica commented 20 hours ago

report.txt

allinurl commented 15 hours ago

It seems to be an isolated issue, and I'm not sure what's causing it for you, though it might be related to some kind of caching. Would you be able to delete your existing goaccess docker image and rebuild it? For what it's worth, I just ran the same command with a fresh docker pull and with your sample log lines and received this report:

re.txt

2024-11-26-071148_1420x626_scrot