Package Details: matomo 4.3.1-1

Git Clone URL: https://aur.archlinux.org/matomo.git (read-only, click to copy)
Package Base: matomo
Description: A real-time web analytics platform
Upstream URL: https://matomo.org/
Licenses: GPL3
Replaces: piwik
Submitter: freaknils
Maintainer: C0rn3j
Last Packager: C0rn3j
Votes: 34
Popularity: 0.23
First Submitted: 2018-04-01 09:31
Last Updated: 2021-05-26 07:20

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Spixmaster commented on 2021-04-05 14:58

Can someone help me with activating geo IP?

I cannot use the method via nginx as I use nginx-mainline which is not compatible with nginx-mod-geoip2.

The second method, installing php-geoip did also not work although I followed the instructions.

Edit: I got it. It took me some time. I automated it in my own package, matomo-git.

C0rn3j commented on 2021-04-01 06:48

https://aur.archlinux.org/packages/matomo/?O=10&PP=10#comment-744429

Spixmaster commented on 2021-04-01 05:53

I have following issues left:

  1. "/etc/webapps/matomo"

  2. "Schreibbarer JavaScript-Tracker ("/matomo.js")", translation: "write permission for matomo.js"

I tried the given solutions on the website:

For 1

chmod a+w /etc/webapps/matomo

, for 2

chmod +w /usr/share/webapps/matomo/matomo.js chown http:http /usr/share/webapps/matomo/matomo.js

and

chown -R root:http /etc/webapps/matomo
chown -R root:http /usr/share/webapps/matomo/plugins

None of these commands solved the issue. Can someone solve this issue? It would also be important for the wiki entry. I would write down the solution there after solving this issue.

Spixmaster commented on 2021-03-31 20:53

The wiki page is ready. I only learned php setup and installing this software for the last two days so any improvements are welcome.

Spixmaster commented on 2021-03-31 10:47

@C0rn3j I got it working! I thank you so much for your fast reply. My main problem was that I neither had php-fpm installed nor running. I am not familiar with php.

From what I have read here the package php-fpm is only necessary for nginx. Could you thus add it as an optional dependency with a description that indicates that it is necessary for nginx, please?

I just added writing the wiki entry on my to do list after I got it working.

C0rn3j commented on 2021-03-31 09:39

https://gitlab.com/C0rn3j/configs/-/blob/afad44cb9d1aca6b0d5a2d8cd6aadc51f4e19a4f/ansible/playbooks/roles/server.bree/files/nginx.conf#L80-93

Would be great if you could create a wiki page for Matomo with an example when you get it working

Spixmaster commented on 2021-03-31 09:28

Can someone provide a working nginx configuration. I do not get it working for several hours now.

schickel commented on 2021-01-31 18:19

@navara sadly, no change for this.

I've installed matomo for testin in a virtual host in a seperate directory and there it works fine. So this is really strange....

navara commented on 2021-01-29 11:04

Indeed. This is pretty much always on the screen, running the commands doesn't change it - changes are promoted on the filesystem, yet detection fails.

Matomo couldn't write to some directories (running as user 'http'). Try to Execute the following commands on your server, to allow Write access on these directories:

chown -R http:http /usr/share/webapps/matomo

find /usr/share/webapps/matomo/plugins -type f -exec chmod 644 {} \;

find /usr/share/webapps/matomo/plugins -type d -exec chmod 755 {} \;

It also expects webserver to write into tracking file, but I refuse to allow that (as if writable plugins directory wasn't enough of security threath) and update the tracking js via command line interface.

schickel commented on 2021-01-28 18:58

After installing from AUR, I get the following error:

Matomo couldn't write to some directories (running as user 'http').

After this a list of folders in /usr/share/webapps/matomo/tmp

The message recommended to make a

"chown -R http:http /usr/share/webapps/matomo" and after that "chmod 644" on all folders in /usr/share/webapps/matomo/tmp

This does not help and I didn't found any solution how to fix this.

I'm using: Apache/2.4.46 PHP 7.4.14 (fpm-fcgi)