GoAccess

Discussion in 'ISPConfig 3 Priority Support' started by HSorgYves, Oct 26, 2020.

  1. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    I get the following error in ISPConfig 3.2 on Debian 9:
    Stats couldn't be generated. The GoAccess binary wasn't compiled with B+Tree support. Please recompile/reinstall GoAccess with B+Tree support, or install GoAccess version >= 1.4! (recommended)

    As Debian 10 also "only" includes GoAccess 1.2 and only Debian Testing offers GoAccess 1.4 I am wondering how to proceed?

    P.S.: I would like to avoid the Official GoAccess' Debian/Ubuntu Repository if possible.

    Thanks,
    Yves
     
    Last edited: Oct 26, 2020
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    First, purge the current version:
    Code:
    apt purge goaccess
    apt autoremove
    Then, from https://goaccess.io/download
    Code:
    wget https://tar.goaccess.io/goaccess-1.4.tar.gz
    tar -xzvf goaccess-1.4.tar.gz
    cd goaccess-1.4/
    ./configure --enable-utf8 --enable-geoip=legacy
    make
    make install
    Ofcourse, it's better practice to add their repo so you can easily update:
    Code:
    echo "deb http://deb.goaccess.io/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/goaccess.list
    wget -O - https://deb.goaccess.io/gnugpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/goaccess.gpg add -
    sudo apt-get update
    sudo apt-get install goaccess
     
  3. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  5. HSorgYves

    HSorgYves Active Member HowtoForge Supporter

    I might use the repo one. However I prefer staying on Debian repo and will try apt pinning first.
    Nevertheless I don't like using software which isn't in the main Debian repo.
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Alright. I try to stick to the Debian repo aswell, with some exceptions, like GoAccess. :)
     

Share This Page