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

core:archive error: Segment 'visitorFirstVisitTime' is not a supported segment. #17257

Closed
mattab opened this issue Feb 24, 2021 · 6 comments
Closed
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. invalid For issues or pull requests that are no longer relevant to Matomo core.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Feb 24, 2021

Started on Jan 24th

Got the following error (every hour) on demo2 when the archive runs via cron

ERROR [2021-02-24 00:49:02] 1173217 Uncaught exception: /home/piwik-demo2/storage/www/demo2.piwik.org/core/Segment.php(210): Segment 'visitorFirstVisitTime' is not a supported segment.
Segment 'visitorFirstVisitTime' is not a supported segment.

[Exception]
Segment 'visitorFirstVisitTime' is not a supported segment.

core:archive [--url="..."] [--skip-idsites[="..."]] [--skip-all-segments] [--force-idsites[="..."]] [--skip-segments-today] [--force-periods[="..."]] [--force-date-last-n="..."] [--force-date-range[="..."]] [--force-idsegments="..."] [--concurrent-requests-per-website[="..."]] [--concurrent-archivers[="..."]] [--disable-scheduled-tasks] [--accept-invalid-ssl-certificate] [--php-cli-options[="..."]] [--force-all-websites] [--force-report[="..."]]

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 24, 2021
@mattab mattab added this to the 4.2.1 milestone Feb 24, 2021
@diosmosis
Copy link
Member

@mattab this might be due to the recent change to code checkout when we released 4.2.1. The premium plugins no longer exist (they were untracked files, so they were probably removed).

@diosmosis diosmosis assigned diosmosis and unassigned diosmosis Feb 24, 2021
@diosmosis
Copy link
Member

@tsteur fyi, this is a configuration issue on demo2 so shouldn't be a blocker for a 4.2.1 release

@tsteur tsteur assigned mattab and unassigned mattab Feb 25, 2021
@tsteur
Copy link
Member

tsteur commented Feb 25, 2021

👍 do we need to do something or is it @mattab or was it maybe only a one time issue?

@diosmosis
Copy link
Member

there was a change made on demo2 to automatically remove untracked files so pulls would always work. unfortunately premium plugins are untracked files, so they got deleted too. So I guess we have to change the command back and reinstall the premium plugins? i'm not sure how premium plugins got on there to begin with (manually installed?)

@tsteur
Copy link
Member

tsteur commented Feb 25, 2021

@mattab I have removed git add -A .; git stash and install the plugins again so assuming this is fixed. It might be overall not needed what you added there as it may be fine that when we're testing something we wouldn't want it to be overwritten every time and otherwise you could maybe add a git checkout or something.

@tsteur tsteur modified the milestones: 4.2.1, 4.3.0 Feb 26, 2021
@mattab
Copy link
Member Author

mattab commented Feb 28, 2021

Ok makes sense. I will close the issue for now.

@mattab mattab closed this as completed Feb 28, 2021
@mattab mattab added the invalid For issues or pull requests that are no longer relevant to Matomo core. label Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. invalid For issues or pull requests that are no longer relevant to Matomo core.
Projects
None yet
Development

No branches or pull requests

3 participants