Matomo.js and curl - DiagnosticsExtended plugin - SOLVED

In the system information page https://-yoursite-/index.php?module=Installation&action=systemCheckPage&idSite=3&period=day&date=today

I was seeing the messages:
It seems like matomo.js can’t be fetched properly.
|try running curl -v https://<yoursite>/matomo.js on your server and see if it is able to fetch the file successfully|
curl version check|Your curl version (7.68.0) might be vulnerable against these vulnerabilities (unless the distributor of your curl binary is backporting security patches): CVE-2024-2398, CVE-2023-46218, CVE-2023-38546, CVE-2023-28322, CVE-2023-28321, CVE-2023-28320, CVE-2023-27538, CVE-2023-27536, CVE-2023-27535, CVE-2023-27534, CVE-2023-27533, CVE-2023-23916, CVE-2022-43552, CVE-2022-32221, CVE-2022-35252, CVE-2022-32208, CVE-2022-32206, CVE-2022-27782, CVE-2022-27781, CVE-2022-27776, CVE-2022-27775, CVE-2022-27774, CVE-2022-22576, CVE-2021-22947, CVE-2021-22946, CVE-2021-22926, CVE-2021-22925, CVE-2021-22924, CVE-2021-22923, CVE-2021-22922, CVE-2021-22898, CVE-2021-22897, CVE-2021-22890, CVE-2021-22876, CVE-2020-8286, CVE-2020-8285, CVE-2020-8284, CVE-2020-8231, CVE-2020-8177, CVE-2020-8169|

It seems this was due to the DiagnosticsExtended plugin malfunctioning? Because when I turned this off I didn’t see the messages anymore.

Running on Ubuntu 20.04, MariaDB 11.4 and Nginx, I removed and installed a new curl version:

apt remove curl
cd <tmp or any dir>
curl -O
tar -xzvf curl-8.0.0.tar.gz
cd curl-8.0.0
apt update
apt install build-essential libssl-dev libnghttp2-dev
./configure --with-ssl --prefix=/usr/local
make install
export PATH="/usr/local/bin:$PATH"
echo $PATH
curl --version

Aldo check with php:

# php -i | grep cURL                                                                                                                                                                                                          
cURL support => enabled                                                                                                                                                                                                                    
cURL Information => 8.0.0     

Deactivate the DiagnosticsExtended plugin in the Matomo plugin in the GUI.

1 Like

Hi @europ1
I suggest you create an issue at the plugin GitHub repo:

1 Like