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.12k stars 1.1k forks source link

GoAccess stopped to work... #2097

Closed tellustheguru closed 3 years ago

tellustheguru commented 3 years ago

System: Debian 10 GoAccess version: 1.4.3 Webserver: Apache 2.4.38

I´m running GoAccess as a service.

Log dump: daemon.log May 2 12:09:08 localhost goaccessreport[18000]: Daemonized GoAccess: 18007 May 2 12:09:08 localhost goaccessreport[18000]: ==Using TLS/SSL== May 2 12:09:08 localhost goaccessreport[18000]: [SETTING UP STORAGE /www-root/.logs/gordalenscamping/access_log] {0} @ {0/s}#015Error: error:02001002:system library:fopen:Filen eller katalogen finns inte May 2 12:09:08 localhost goaccessreport[18000]: Unable to initialize_ssl_ctx May 2 12:09:08 localhost goaccessreport[18000]: Stopping WebSocket server...

dmesg [11556.283324] traps: goaccess[22884] general protection ip:563a180c0576 sp:7ffc57099c80 error:0 in goaccess[563a1807b000+4f000]

openssl version -a

OpenSSL 1.1.1d 10 Sep 2019 built on: Mon Mar 22 23:08:47 2021 UTC platform: debian-amd64 options: bn(64,64) rc4(16x,int) des(int) blowfish(ptr) compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-AWQHHq/openssl-1.1.1d=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 OPENSSLDIR: "/usr/lib/ssl" ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-1.1" Seeding source: os-specific

tellustheguru commented 3 years ago

Hi, I found the problem on Docker realtime is not working #1084

I solved the problem by creating a deploy script in letsencrypt to copy the cert files to /etc/goaccess/cert/domainame/ everytime certbot is upgrading the cert files. Then I change the path in goaccess conf file.