New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let core:archive continue even if the website was deleted in the meantime #14393
Comments
We would not add an option but we could in general implement this as standard behaviour. I'm seeing for some things this is already implemented in the archiver, eg when archiving days, but not in some other places. |
@tsteur would you know how I would be able to fix this? Is there another command i should run to fix this please? :) |
@paladox I suppose this file here https://github.com/matomo-org/matomo/blob/3.10.0-b1/core/CronArchive.php would need to be patched in some places to catch There isn't any workaround I'm aware of. |
https://github.com/matomo-org/matomo/blob/3.10.0-b1/core/CronArchive.php is the same as your first link :) |
Sorry, looks like I need some coffee haha :) here is the correct link: https://github.com/matomo-org/matomo/blob/3.10.0-b1/core/CronArchive.php#L696-L699 |
This is to allow the archive to continue if the site was deleted from matomo. Fixes matomo-org#14393
This is to allow the archive to continue if the site was deleted from matomo. Fixes matomo-org#14393
* CronArchive: Catch UnexpectedWebsiteFoundException This is to allow the archive to continue if the site was deleted from matomo. Fixes #14393 * Update CronArchive.php
Hi, could a option be added that allows you to continue even if you get a error like:
[Piwik\Exception\UnexpectedWebsiteFoundException]
An unexpected website was found in the request: website id was set to '2897' .
please?
This would be super useful.
Or is there a way to clear the deleted websites so they are not run?
The text was updated successfully, but these errors were encountered: