Package Details: matomo 5.6.1-1

Git Clone URL: https://aur.archlinux.org/matomo.git (read-only, click to copy)
Package Base: matomo
Description: A powerful web analytics platform.
Upstream URL: https://github.com/matomo-org/matomo
Licenses: GPL-3.0-or-later
Conflicts: matomo-bin
Provides: matomo
Submitter: Spixmaster
Maintainer: Spixmaster
Last Packager: Spixmaster
Votes: 0
Popularity: 0.000000
First Submitted: 2025-10-08 14:15 (UTC)
Last Updated: 2025-11-27 16:02 (UTC)

Required by (0)

Sources (21)

Latest Comments

1 2 Next › Last »

G4Zz0L1 commented on 2025-10-17 08:03 (UTC)

For future reference, I've solved it with the following command

GIT_LFS_SKIP_SMUDGE=1 yay -S aur/matomo

Spixmaster commented on 2025-10-15 17:27 (UTC) (edited on 2025-10-15 17:36 (UTC) by Spixmaster)

Regarding the first issue, this is known and expected behaviour, https://wiki.archlinux.org/title/Matomo#PHP_configuration. Some PHP extensions need to be activated. This is something this package cannot provide. I cannot tamper with users' /etc/.

The second error seems like a download issue of a submodule. Remove the cache and try a second time.

I have tested and installed this package several times. I do not assume it is fundamentally broken. However, please try again and report potential issues.

Consider the renamings of matomo to matomo-bin and matomo-git to matomo. You might use matomo-bin as a last resort.

G4Zz0L1 commented on 2025-10-15 17:04 (UTC)

I've got errors building this in a chrooted env (I use aurto), and building manually with yay pops out a different error.

This is the one from aurto in chroot:

==> Starting build()...
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - davaxi/sparkline is locked to version 2.2.0 and an update of this package was not requested.
    - davaxi/sparkline 2.2.0 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
  Problem 2
    - szymach/c-pchart is locked to version v3.0.17 and an update of this package was not requested.
    - szymach/c-pchart v3.0.17 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-gd` to temporarily ignore these required extensions.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/user/build

This from yay:

  -> Creazione di una copia di lavoro del repository plugin-TrackingSpamPrevention git in corso...
Clone in 'plugin-TrackingSpamPrevention' in corso...
fatto.
Downloading tests/UI/expected-screenshots/TrackingSpamPreventionSettings_page.png (160 KB)
Error downloading object: tests/UI/expected-screenshots/TrackingSpamPreventionSettings_page.png (ef833aa): Smudge error: Error downloading tests/UI/expected-screenshots/TrackingSpamPreventionSettings_page.png (ef833aa7c80bd629f51f6ef504b4914e4631c2d16848f61b6a64695c80c2331f): error transferring "ef833aa7c80bd629f51f6ef504b4914e4631c2d16848f61b6a64695c80c2331f": [0] remote missing object ef833aa7c80bd629f51f6ef504b4914e4631c2d16848f61b6a64695c80c2331f

Errors logged to '/tmp/makepkg/matomo/src/plugin-TrackingSpamPrevention/.git/lfs/logs/20251015T185641.679508939.log'.
Use `git lfs logs last` to view the log.
error: esecuzione del filtro esterno 'git-lfs filter-process' non riuscita
fatal: tests/UI/expected-screenshots/TrackingSpamPreventionSettings_page.png: esecuzione del filtro smudge 'lfs' non riuscita
warning: Clone completato con successo, ma il checkout non è riuscito.
Puoi esaminare gli elementi di cui è stato eseguito il checkout
con 'git status' e riprovare ad eseguire il checkout con
'git restore --source=HEAD :/'

==> ERRORE: Impossibile creare una copia di lavoro del repository plugin-TrackingSpamPrevention git
    L'operazione sta per essere interrotta...
 -> errore durante la creazione: matomo-exit status 1
 -> Installazione dei seguenti pacchetti non riuscita. È richiesto l'intervento manuale:
matomo - exit status 1
yay -S aur/matomo  46,19s user 11,12s system 68% cpu 1:24,23 total

Spixmaster commented on 2025-10-11 13:49 (UTC) (edited on 2025-10-11 14:26 (UTC) by Spixmaster)

I updated the dependencies and the wiki to reflect that there are several applications that provide (Fast)CGI.

Everything should be fine for now.

C0rn3j commented on 2025-10-10 12:37 (UTC)

Ad fpm config - I believe it's supposed to be configured by the user, see the official Nextcloud package - https://wiki.archlinux.org/title/Nextcloud#nextcloud.conf

What if user decides to use legacy php fpm? Or uWSGI (which I am not too familiar with)? Or Apache's PHP implementation instead of FPM?

I am not aware of an alternative to choose like with nginx and apache.

Apache has its own built-in implementation (I believe php-fpm is recommended for apache nowadays, though).

And from what I gather with a quick look, user could run uWSGI with its own implementation.

And again, a person may want to run legacy fpm version, in which case you're now forcing them to have two FPMs and PHP versions installed.

Thanks a lot for the fixes!

Spixmaster commented on 2025-10-10 11:28 (UTC) (edited on 2025-10-10 11:32 (UTC) by Spixmaster)

After 21 months I finally addressed your issues from early 2024.

The dependencies were originally reported by namcap. However, they were mainly releated to the installation of puppeteer which is used for testing. I revised the dependencies.

I do not know where you have the information from that for example /usr/lib/systemd/system/php-fpm.service.d/override-matomo.conf is unwanted in packages.

Why is php-fpm not needed? I am not aware of an alternative to choose like with nginx and apache.

The wiki is updated.

C0rn3j commented on 2025-10-08 14:57 (UTC)

This package was renamed from AUR/matomo-git to AUR/matomo.

Similarly, AUR/matomo was renamed to AUR/matomo-bin.


Yep, joined very recently, still a junior PM - I've merged this one too now.

The base package (matomo) does not need a conflict with the -bin,-git, ..., that's the job of those packages.

I think the provides can also be dropped now.

It would also be nice to address the stuff from my 2024 comment.

Spixmaster commented on 2025-10-08 14:19 (UTC)

That was really quick. Thank god. I expected the procees to take weeks for your and my merge each.

I see you are an official package maintainer.

See PRQ#76813 for the merge request.

C0rn3j commented on 2025-10-08 13:28 (UTC)

AUR/matomo is free now, do create it anew, and then file a merge request from AUR/matomo-git to AUR/matomo.

Spixmaster commented on 2025-10-08 08:09 (UTC)

Great cooperation. You can convey with your merge request to rename this to matomo.

Otherwise, I will start the process as soon as your package is renamed.