tag-manager
tag-manager copied to clipboard
When deploying Container, sometimes half of the logic is missing, tracking stops
Even with minor or no changes to the TagManager / Container configuration, the deployment mechanism creates different containers with sometimes most of the business logic missing (Matomo 4.2.0). The example shows the same container, that is deployed just with a minor change. Interestingly, the change history of the Container always shows a bunch of Tags (even if they were not changed):
Hi @peterbo, do you have steps to reproduce? Or it just that a deploy suddenly removes business logic?
Hey @diosmosis! - It is really just publishing the release (Publish -> Create new version and publish release/without publish). Everytime this is done, the resulting container has other sizes and misses other parts.
@peterbo can you reproduce this consistently? Is there anything special about this setup maybe?
Hey @tsteur - nothing special with the setup really. Unfortunately, I don't have the setup under "control", so I'm also just checking the "surface". I already established, that there is a timeout while calling method=TagManager.createContainerVersion (Maximum execution time of 30 seconds exceeded).
But two things, I/we would have to figure out:
- The release process, although timed out, created a container which is incomplete / doesn't incorporate all Templates / libraries - perhaps this could be made "transaction safe", so that only successfully finished / completed containers are published / released
- Why it takes > 30 seconds on a strong server to process the container - I'll check the file system and other properties, why this takes so long.
Why it takes > 30 seconds on a strong server to process the container - I'll check the file system and other properties, why this takes so long.
Is it using the latest Matomo version? If not, I'd recommend upgrading and checking if this is still an issue. We added some detection for recursion like variable a references variable b which references variable A and would usually run in a loop
Matomo 4.2.0 at the moment. Thank you both for the fast feedback! I'll report back after the update!
@peterbo Is this still a issue or can we close this issue ?
@peterbo Closing this issue, feel free to reopen if you are still facing the issue