core:archive Detection of archive process already in progress does not check for instance ID #16973
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Regression
Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone
@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
The text was updated successfully, but these errors were encountered: