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

import_logs.py instructs to use --force-all-periods but core:archive says that switch DNE #16931

Closed
psec opened this issue Dec 10, 2020 · 2 comments · Fixed by matomo-org/matomo-log-analytics#296
Assignees
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone

Comments

@psec
Copy link

psec commented Dec 10, 2020

Output from import_logs.py:

Processing your log data
------------------------

    In order for your logs to be processed by Matomo, you may need to run the following command:
     ./console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url='URL'

Corresponding console output:

ERROR [2020-12-10 03:09:40] 5554  Uncaught exception: /var/www/matomo/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php(213): The "--force-all-periods" option does not exist.
The "--force-all-periods" option does not exist.


                                                    
  [RuntimeException]                                
  The "--force-all-periods" option does not exist. 
@sgiehl
Copy link
Member

sgiehl commented Dec 10, 2020

Thanks for creating the issue. Seems we need to adjust the command that is suggested to run

@sgiehl sgiehl added this to the 4.1.0 milestone Dec 10, 2020
@mattab
Copy link
Member

mattab commented Dec 14, 2020

btw it would be great to check across the whole codebase, as well as on the website (i've tried removing it from a few places on the site already but maybe more are left)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
4 participants