matomo-org / matomo-log-analytics

Import any kind of server logs in Matomo for powerful log analytics. Universal log file parsing and reporting.
https://matomo.org/log-analytics/
GNU General Public License v3.0
225 stars 118 forks source link

"--force-all-periods" option does not exist #307

Closed chebourne closed 3 years ago

chebourne commented 3 years ago

Since upgrading to Matomo 4.1.1 I am getting the following error after importing logs and issuing the aggregate creation script:

[RuntimeException] The "--force-all-periods" option does not exist.

My current work flow is: cd /var/www/html/piwik sudo ./console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url='https://*****/piwik'

Where ***** is my Piwik/Matomo URL.

Can anyone explain what has changed?

Findus23 commented 3 years ago

Hi,

This sounds a bit like https://github.com/matomo-org/matomo/issues/16931 which should be solved with https://github.com/matomo-org/matomo-log-analytics/pull/296.

In short, you shouldn't need to run --force-all-periods=315576000 --force-date-last-n=1000 anymore

chebourne commented 3 years ago

Yep, can confirm that seems the be the case - all latest months (Feb) logs aggregated ok. Many thanks