Matomo on Apache2.4 + php-fpm loop error

Hello i am installing matomo on a server configure with apache2.4 + php-fpm 7.4.6, i can do the installation normally but when i access to the home page after install not load, here are the logs:

error_log - apache:
[:error] [pid 5456:tid 140071686305344] client denied by server configuration: matomo/plugins/CoreHome/angularjs/notification/notification.directive.html

the above line mean while i am on the website stay spamming.

same on the webtools

This is on console

Error: [$templateRequest:tpload] [http://errors.angularjs.org/1.8.2/$templateRequest/tpload?p0…ctive.html%3Fcb%3Df55c49ccade6e2502941fa488f7db90d&p1=-1&p2=](http://errors.angularjs.org/1.8.2/$templateRequest/tpload?p0=plugins%2FCoreHome%2Fangularjs%2Fnotification%2Fnotification.directive.html%3Fcb%3Df55c49ccade6e2502941fa488f7db90d&p1=-1&p2=)

F https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:102

g https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:265

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:236

$digest https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:248

$apply https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:251

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

v https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

onabort https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:209

Pg https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:209

s https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:204

b https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:236

$digest https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:248

$apply https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:251

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

v https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

onload https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

Pg https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

s https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:204

b https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:236

$digest https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:248

$apply https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:251

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

v https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

onload https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

Pg https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

s https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:204

b https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:236

$digest https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:248

$apply https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:251

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

v https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

onload https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

Pg https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

s https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:204

b https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:236

$digest https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:248

$apply https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:251

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

v https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

onload https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

Pg https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

s https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:204

b https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:236

$digest https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:248

$apply https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:251

k https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

v https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

onload https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

Pg https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:208

s https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:204

b https://analytics2.example.com/index.php?module=Proxy&action=getCoreJs&cb=f55c49ccade6e2502941fa488f7db90d:202

Hi,

The error message say pretty directly what the issue:
Your server configuration denies the client access to these files.

What most likely happened:
You installed your Matomo instance in a subdirectory of your main site. Your main site uses a common CMS which places a .htaccess in the main directory disallowing access to .html files. But as Matomo is in a subdirectory, it is also affected by the parent directory rules.
You can adapt your main .htaccess or install Matomo in a subdomain.

Update:

I just noticed that you did install Matomo in a subdomain. In that case I’d still recommend to check the .htaccess and the apache config. Unfortunatly I don’t know apache at all, so I can’t be much more specific.

Hello, after fighting with the sleep and this error, i found that the mod_evasive24 of apache2, was the one blocking angularJS to being download and use by Matomo.

Thank you very much Lukas Winkler for the fast response.

Solution: disable/uninstall apache2-mod_evasive24.

1 Like