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

Only visitor log updates #5015

Closed
anonymous-matomo-user opened this issue Apr 17, 2014 · 10 comments
Closed

Only visitor log updates #5015

anonymous-matomo-user opened this issue Apr 17, 2014 · 10 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

Well after posting twice to the forum without being published (admin needs to approve my post???)

I went from 2.1.1-B10 to 2.2..0 final.
Only my visitor lof updates, nothing else.

What I did so far:

  • Disabled all non PIWIK plug-ins (no change)
  • Did run cron archive (cron worked finally, but no change)
  • Emptied the /tmp (no change)
  • No mention in the error log

It's like it's the previous bug I send again.....

@anonymous-matomo-user
Copy link
Author

Went back to 2.1.1-B10 and all is working again.
I tried &debug on 2.2.0 but that didn't give me any output.

I guess I need to wait until this is fixed. Never going to update any piwik version again on a production server.

@anonymous-matomo-user
Copy link
Author

I just updated to 2.2.0 and I have exactly the same problem.

I can see the visitor logs in the summary but everything else is like there is no visit. The charts remains to 0.

Please help!

Thank you!

@ygrenier
Copy link

Hi,

We have the same problem.

INFO CoreConsole[2014-04-23 06:38:26] [991e4] Total visits for today across archived websites: 0
INFO CoreConsole[2014-04-23 06:38:26] [991e4] Archived today's reports for 0 websites
INFO CoreConsole[2014-04-23 06:38:26] [991e4] Archived week/month/year for 0 websites
INFO CoreConsole[2014-04-23 06:38:26] [991e4] Skipped 13 websites: no new visit since the last script execution
INFO CoreConsole[2014-04-23 06:38:26] [991e4] Skipped 0 websites day archiving: existing daily reports are less than 150 seconds old
INFO CoreConsole[2014-04-23 06:38:26] [991e4] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
INFO CoreConsole[2014-04-23 06:38:26] [991e4] Total API requests: 0

The console say there is "no new visit since the last script execution" since we update Piwik to 2.2.0, but we got more than 1500 lines in the visitor logs from this date.

For some reason we can't rollback our install, and we can't control the server, so we need to wait an update.

UPDATE
The server admin change the cronjob to the old /misc/cron/archive.php, and our stats reports are back. So we use this configuration for the moment.

Thanks.

@mattab
Copy link
Member

mattab commented Apr 27, 2014

Thanks for the report. Please try update your cron job as explained in: http://piwik.org/docs/setup-auto-archiving/

If the core:archive command works, but still does not archive anything, maybe you can post the core:archive log output (on pastebin) as maybe it will help us troubleshoot.

@ygrenier
Copy link

Hi,

This is the full log, we are sure there is at least one visit :

INFO CoreConsole[2014-04-28 08:50:02] [84764] ---------------------------
INFO CoreConsole[2014-04-28 08:50:02] [84764] INIT
INFO CoreConsole[2014-04-28 08:50:02] [84764] Piwik is installed at: http://XXX.XXX.com/index.php
INFO CoreConsole[2014-04-28 08:50:02] [84764] Running Piwik 2.2.0 as Super User
INFO CoreConsole[2014-04-28 08:50:03] [84764] ---------------------------
INFO CoreConsole[2014-04-28 08:50:03] [84764] NOTES
INFO CoreConsole[2014-04-28 08:50:03] [84764] - Reports for today will be processed at most every 150 seconds. You can change this value in Piwik UI > Settings > General Settings.
INFO CoreConsole[2014-04-28 08:50:03] [84764] - Reports for the current week/month/year will be refreshed at most every 3600 seconds.
INFO CoreConsole[2014-04-28 08:50:03] [84764] - Archiving was last executed without error 4 min 59s ago
INFO CoreConsole[2014-04-28 08:50:03] [84764] - Will process 0 websites with new visits since 4 min 58s
INFO CoreConsole[2014-04-28 06:50:03] [84764] ---------------------------
INFO CoreConsole[2014-04-28 06:50:03] [84764] START
INFO CoreConsole[2014-04-28 06:50:03] [84764] Starting Piwik reports archiving...
INFO CoreConsole[2014-04-28 06:50:03] [84764] Done archiving!
INFO CoreConsole[2014-04-28 06:50:03] [84764] ---------------------------
INFO CoreConsole[2014-04-28 06:50:03] [84764] SUMMARY
INFO CoreConsole[2014-04-28 06:50:03] [84764] Total visits for today across archived websites: 0
INFO CoreConsole[2014-04-28 06:50:03] [84764] Archived today's reports for 0 websites
INFO CoreConsole[2014-04-28 06:50:03] [84764] Archived week/month/year for 0 websites
INFO CoreConsole[2014-04-28 06:50:03] [84764] Skipped 13 websites: no new visit since the last script execution
INFO CoreConsole[2014-04-28 06:50:03] [84764] Skipped 0 websites day archiving: existing daily reports are less than 150 seconds old
INFO CoreConsole[2014-04-28 06:50:03] [84764] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
INFO CoreConsole[2014-04-28 06:50:03] [84764] Total API requests: 0
INFO CoreConsole[2014-04-28 06:50:03] [84764] done: 0/0, 0 vtoday, 0 wtoday, 0 wperiods, 0 req, 74 ms, no error
INFO CoreConsole[2014-04-28 06:50:03] [84764] Time elapsed: 0.075s
INFO CoreConsole[2014-04-28 06:50:03] [84764] ---------------------------
INFO CoreConsole[2014-04-28 06:50:03] [84764] SCHEDULED TASKS
INFO CoreConsole[2014-04-28 06:50:03] [84764] Starting Scheduled tasks...
INFO CoreConsole[2014-04-28 06:50:04] [84764]  No task to run
INFO CoreConsole[2014-04-28 06:50:04] [84764] done
INFO CoreConsole[2014-04-28 06:50:04] [84764] ---------------------------

This Piwik install run on a French server (so actually we have -2 hours offset with GMT), and I can see that it's start with the local time (8:50:02) but from the line 11 it's the GMT time used (6:50:03). Perhaps this is the source problem.

We're waiting for 2 hours to see if the stats are processed, and I come back to keep you informed.

@mattab
Copy link
Member

mattab commented Apr 28, 2014

please apply this patch and wait few hours: 22e8a7a

1 similar comment
@mattab
Copy link
Member

mattab commented Apr 28, 2014

please apply this patch and wait few hours: 22e8a7a

@ygrenier
Copy link

OK after apply the patch, our stats are processed.

Thanks,

@tsteur
Copy link
Member

tsteur commented May 5, 2014

so this can be closed?

@ygrenier
Copy link

ygrenier commented May 5, 2014

For me this can be closed.

Thanks.

@anonymous-matomo-user anonymous-matomo-user added this to the 2.2.1 - Piwik 2.2.1 milestone Jul 8, 2014
This issue was closed.
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. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

4 participants