[Debian-matomo-maintainers] Bug#1118710: matomo: console core:archive broken due to wrong include path / index.php moved to public

Oliver Bock oliver.bock at aei.mpg.de
Fri Oct 24 09:09:27 BST 2025


Package: matomo
Version: 5.3.1+dfsg-1
Severity: important
X-Debbugs-Cc: oliver.bock at aei.mpg.de

Dear Maintainer,

Matomo 5.3.1 (trixie) is broken for me because I can't use "console 
core:archive" due to a wrong include path in /usr/share/matomo/core/ 
CliMulti/RequestCommand.php line 76, where PIWIK_INCLUDE_PATH points 
to /usr/share/matomo which doesn't include index.php anymore (moved to 
public). Temporarily symlinking index.php back into /usr/share/matomo 
resolves the issue.

Without a fix "console core:archive" is broken which precludes a 
production use of Matomo since that's required for the auto-archiving 
cron job [1].

Thanks

PS: a similar issue affects matomo.js which also got moved but is
required to be found and writable by www-data (see Matomo's system check).


[1] https://matomo.org/faq/on-premise/how-to-set-up-auto-archiving-of-your-reports/ 

-- System Information:
Debian Release: 13.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.38+deb13-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages matomo depends on:
ii  apache2 [httpd]                             2.4.65-2
ii  fonts-wine                                  10.0~repack-6
ii  less.php                                    4.3.0-3
ii  libapache2-mod-php8.4 [libapache2-mod-php]  8.4.11-1
ii  libjs-excanvas                              0.r4~git20200903.44ac99f-1
ii  libjs-jquery                                3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-mousewheel                     1:3.1.13-5
ii  libjs-jquery-scrollto                       2.1.3+dfsg-1
ii  libjs-jquery-ui                             1.13.2+dfsg-1
ii  libjs-mousetrap                             1.6.5+dfsg1-1
ii  libjs-raphael                               2.3.0-4
ii  libjs-sprintf-js                            1.1.2+ds1+~1.1.2-1
ii  libphp-phpmailer                            6.9.3-1
ii  matomo-component-ini                        3.0.1-2
ii  matomo-php-tracker                          3.3.2-1
ii  matomo-referrer-spam-list                   4.0.0-3
ii  matomo-searchengine-and-social-list         3.14.0-2
ii  php                                         2:8.4+96
ii  php-common                                  2:96
ii  php-composer-ca-bundle                      1.5.6-1
ii  php-composer-semver                         3.4.3-2
ii  php-di                                      7.0.10-1
ii  php-jshrink                                 1.6.5-2
ii  php-matomo-component-cache                  2.0.6-2
ii  php-matomo-component-decompress             3.0.0-1
ii  php-matomo-component-network                2.0.1-2.1
ii  php-matomo-device-detector                  6.4.5-1
ii  php-mbstring                                2:8.4+96
ii  php-monolog                                 3.9.0-1
ii  php-pear                                    1:1.10.16+submodules+notgz-3
ii  php-psr-log                                 3.0.2-2
ii  php-sparkline                               2.2.0-3
ii  php-spyc                                    0.6.3-3
ii  php-symfony-console                         6.4.21+dfsg-2
ii  php-symfony-event-dispatcher                6.4.21+dfsg-2
ii  php-symfony-monolog-bridge                  6.4.21+dfsg-2
ii  php-symfony-process                         6.4.21+dfsg-2
ii  php-tcpdf                                   6.9.1+dfsg-1
ii  php-twig                                    3.20.0-2
ii  php8.4 [php]                                8.4.11-1
ii  php8.4-cli [php-cli]                        8.4.11-1
ii  php8.4-mbstring [php-mbstring]              8.4.11-1
ii  php8.4-mysql [php-pdo-mysql]                8.4.11-1

matomo recommends no packages.

matomo suggests no packages.

-- no debconf information



More information about the Debian-matomo-maintainers mailing list