Package Details: matomo 5.0.2-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: GPL-3.0-or-later
Replaces: piwik
Submitter: freaknils
Maintainer: C0rn3j
Last Packager: C0rn3j
Votes: 35
Popularity: 0.000000
First Submitted: 2018-04-01 09:31 (UTC)
Last Updated: 2024-02-07 15:48 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Pinned Comments

C0rn3j commented on 2020-06-09 06:52 (UTC) (edited on 2022-03-11 12:01 (UTC) by C0rn3j)

GPG key changed with 4.8.0 release!

You need to import the public key before installing:
gpg --recv-keys F529A27008477483777FC23D63BB30D0E5D2C749

For versions before 4.8.0 you need the old key:
gpg --recv-keys 814E346FA01A20DBB04B6807B5DBD5925590A237

Latest Comments

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

Spixmaster commented on 2021-04-05 14:58 (UTC) (edited on 2021-04-15 09:04 (UTC) by Spixmaster)

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 (UTC)

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

Spixmaster commented on 2021-04-01 05:53 (UTC) (edited on 2021-04-01 05:54 (UTC) by Spixmaster)

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 (UTC)

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 (UTC) (edited on 2021-03-31 20:52 (UTC) by Spixmaster)

@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 (UTC)

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 (UTC)

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

<deleted-account> commented on 2021-01-31 18:19 (UTC)

@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 (UTC) (edited on 2021-01-29 11:06 (UTC) by navara)

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.

<deleted-account> commented on 2021-01-28 18:58 (UTC)

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)