Skip to content

core:archive Detection of archive process already in progress does not check for instance ID #16973

@tsteur

Description

@tsteur

@diosmosis I think there might be a bug which we noticed on cloud as in https://github.com/matomo-org/matomo/blob/4.x-dev/core/CliMulti/RequestParser.php#L63-L96 it’s maybe not checking the instanceId of a matomo anymore when checking if an archive is already running.

Basically, if the current instance defines an instanceId, then Matomo should only consider commands that include the instanceId.

We have at any time eg many “day” archives running but for different --matomo-domain . I wonder if it maybe thinks there’s an archive running but it’s for a different domain.
We used to check for this indirectly here (as the command includes the --matomo-domain) https://github.com/matomo-org/matomo/blob/3.14.1/core/CliMulti.php#L323-L331

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.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