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

Autoarchiving error #10790

Closed
milexjaro opened this issue Oct 26, 2016 · 14 comments
Closed

Autoarchiving error #10790

milexjaro opened this issue Oct 26, 2016 · 14 comments
Labels
answered For when a question was asked and we referred to forum or answered it. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@milexjaro
Copy link

Hi, recently, after I migrated Piwik database, and calling an API, I got this following error:

abeae3d2-ae92-461f-8020-150576d0df7d

but if the parameter "trigger=archivephp" is removed, the API works fine, how do I deal with this issue? Is there any corruptions happened during auto-archiving? Thanks

@tsteur
Copy link
Member

tsteur commented Oct 26, 2016

Do you have any 3rd party plugins installed? Or is it maybe possible that the "Events" plugin is disabled? You can check in "Administration => Plugins"

@milexjaro
Copy link
Author

milexjaro commented Oct 27, 2016

"Events" plugin is already activated, and yup, I have 3rd party plugins: bottracker, advancecampaignreporting, and referrersmanager

@tsteur
Copy link
Member

tsteur commented Oct 27, 2016

Do you maybe see any errors in the webserver (apache / nginx )log if you have access to these? Maybe try to disable the other plugins and try to re-run it. Maybe it works then? Afterwards you can enable it again. Just to make sure it's not related to any of these plugins

@milexjaro
Copy link
Author

No errors were found in the log, And I have disabled the plugin, re-ran the archives, and still have the same error. So it's not related to any of these plugins I think.

@tsteur
Copy link
Member

tsteur commented Oct 30, 2016

Can you maybe try to update the file plugins/Actions/Archiver.php like this:

https://github.com/piwik/piwik/compare/2.x-dev...10790?quick_pull=1

It may help

@milexjaro
Copy link
Author

Thanks, I have done your suggestion but unfortunately, it didn't help

@milexjaro
Copy link
Author

So, I did the migration on 25th October 2016, and the archiving has gone wrong, if I requested the API.get method with archivephp trigger between 26th October 2016 till now, the log_link_visit_action.idaction_event_category is not detected even though it has occurred in the database

pasted image at 2016_10_31 02_21 pm

pasted image at 2016_10_31 03_21 pm

and when I requested between 25th October 2016 until now, it gave a different error like this

pasted image at 2016_10_31 02_19 pm

@tsteur
Copy link
Member

tsteur commented Nov 1, 2016

@milexjaro can you undo the change again? The query was wrong and falsely reported the column is missing.

I'm not really sure what the error could be and it's hard to guess. Is it maybe possible to get access to your server including database?

@mattab
Copy link
Member

mattab commented Nov 3, 2016

@milexjaro is the plugin Events activated in your piwik?

@tsteur
Copy link
Member

tsteur commented Nov 3, 2016

I asked this already in first comment ;)

@milexjaro
Copy link
Author

Apparently I've tried to undo the change again, and an API call from 26th October now gives the same error like from 25th October.

Sure, I will make an identical sandbox, and will notify you if the sandbox is ready, thanks

@milexjaro
Copy link
Author

Update: after I've tried to undo the change again, the archiving went well for 'day' period, other than that (week, month, year) didn't work at all, still have error action '11' not found.

@tsteur
Copy link
Member

tsteur commented Nov 6, 2016

In this case you might need to invalidate the reports for the days you experience this error and then maybe try again http://piwik.org/faq/how-to/faq_155/ The FAQ might help to invalidate reports. Otherwise a sandbox to test would be great

@mattab mattab added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Nov 11, 2016
@mattab mattab added this to the 3.0.0 milestone Nov 11, 2016
@mattab mattab closed this as completed Jun 19, 2017
@mattab
Copy link
Member

mattab commented Jun 19, 2017

see #11623

@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

No branches or pull requests

3 participants