Skip to content

[Bug] Console Archive Command ignores –quiet in v5.0.1 #21800

@WBTMagnum

Description

@WBTMagnum

What happened?

Our archive cronjob started to generate output after upgrading to v5.0.1 even though the command is invoked with the parameter --quiet.

The generate output looks as follows:

INFO      [06:10:01] 47645  ---------------------------
INFO      [06:10:01] 47645  INIT
INFO      [06:10:01] 47645  Running Matomo 5.0.1 as Super User
INFO      [06:10:01] 47645  ---------------------------
INFO      [06:10:01] 47645  NOTES
INFO      [06:10:01] 47645  - Async process archiving supported, using CliMulti.
INFO      [06:10:01] 47645  - Reports for today will be processed at most every 900 seconds. You can change this value in Matomo UI > Settings > General Settings.
INFO      [06:10:01] 47645  - Archiving was last executed without error 59 min 56s ago.
INFO      [06:10:01] 47645  ---------------------------
INFO      [06:10:01] 47645  START
INFO      [06:10:01] 47645  Starting Matomo reports archiving...
INFO      [06:10:01] 47645  0 out of 3 archivers running currently
DEBUG     [06:10:01] 47645  Applying queued rearchiving...

It also seems that there -verbose parameter is ignored.

Note: This issue has also been reported on the forum: https://forum.matomo.org/t/console-quiet-no-longer-works-in-5-0-1/54761/1

What should happen?

If there are no errors, the archiver should not generate any output.

How can this be reproduced?

Case 1 (working): ./console core:archive --help --quiet will not generate any output

Case 2 (not working): ./console core:archive --quiet --url=https://matomo.url/

Matomo version

5.0.1

PHP version

8.1.27

Server operating system

Debian GNU/Linux 11 (bullseye)

What browsers are you seeing the problem on?

Not applicable (e.g. an API call etc.)

Computer operating system

No response

Relevant log output

No response

Validations

Metadata

Metadata

Assignees

Labels

RegressionIndicates a feature used to work in a certain way but it no longer does even though it should.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions