Skip to content
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

Archiving specific date via console won't take date as argument. #15727

Closed
JozefBabala opened this issue Mar 24, 2020 · 2 comments · Fixed by #15728
Closed

Archiving specific date via console won't take date as argument. #15727

JozefBabala opened this issue Mar 24, 2020 · 2 comments · Fixed by #15728
Assignees
Labels
Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@JozefBabala
Copy link

When trying to archive data manually via CLI for specific date:

./console core:archive --force-date-range=2020-03-24,2020-03-24
or
./console core:archive --force-date-range="2020-03-24,2020-03-24"

we are experiencing following error:

Error: Got invalid response from API request: ?module=API&method=API.get&idSite=1&period=week&date=&format=php&trigger=archivephp. Response was 'a:2:{s:6:"result";s:5:"error";s:7:"message";s:3044:"Please specify a value for 'date'.

Seems like date parameter is not passed correctly to API call. This issue was introduced with Matomo version 3.13.4. It works correctly on version 3.13.3

@sgiehl
Copy link
Member

sgiehl commented Mar 24, 2020

Thanks for the report. I'm able to reproduce that.

@sgiehl sgiehl added this to the 3.13.5 milestone Mar 24, 2020
@sgiehl sgiehl added the Regression Indicates a feature used to work in a certain way but it no longer does even though it should. label Mar 24, 2020
@sgiehl sgiehl self-assigned this Mar 24, 2020
@sgiehl sgiehl linked a pull request Mar 24, 2020 that will close this issue
@diosmosis
Copy link
Member

Fixed by #15728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants