RealTime log shows visitors, all other stats read zero since 2.0

I think my issue is related.

My month views show no visitors for a month of September, but the week and day views show there are visitors.
It doesn’t make sense. This is true of dashboard and overview graph and tables. When i drill down in the visitor log, I can see them even in the month view.

Did this upgrade one at the command line. Ubuntu Server latest LTS, standard packages from repo.

I too am having this issue.

My Visitors Overview widget is showing up, but when navigating to any of the “tabs” on top, such as Vistors, Referrers, nothing will come up and I get a “Oops… problem during the request, please try again.”

When tracking down the failed request, I can find the bad post request in my browsers logs. Here’s an example:
my.piwik.domain.com/index.php?date=previous30&module=Actions&action=indexPageUrls&idSite=14&period=range

Nothing is returned from the server. No error log is generated, the request dies silently and I have not a clue why.

I also tried setting my default data range to “Previous 30 days”, but that didn’t change anything, still getting blank tabs/reports.

The funny thing is, on my dev server where I tested the upgrade before actually performing it, it works as expected. In fact it’s still working normally. My dev environment is in the same timezone as I am(US Eastern), but my live environment is in central time.

My Dev is running PHP 5.3.3, and my live is running 5.3.23.

My piwik status page reports everything is set up correctly. I have tried clearing out and setting some loose permissions on my piwik/tmp folder, and that has not fixed the problem.

I allowed piwik to update the code, then ran the database update via the command line. When I noticed this problem yesterday, I tried downloading and applying the code manually, to be sure a file transfer error was not the cause. This also produced the same results.

I can provide more information about my setup if requested.

Thank you so much for your time.

When the request dies silently, most likely is a error, check your server error logs ?

I checked the logs, nothing is reported.

I am from India, comparing to UTC, my time is +5.30. Piwik is starting its tracking function only after 5.30 in the morning. My server stats shows traffic during the time. Any solution for the same?

Same bug as I am talking about here: 301 Moved Permanently

We think we have found the issue! Can you please apply following change. Open file core/DataAccess/LogAggregator.php
replace at line 149


$this->dateStart = $params->getPeriod()->getDateStart();
        $this->dateEnd = $params->getPeriod()->getDateEnd();

by:


$this->dateStart = $params->getDateStart();
        $this->dateEnd = $params->getDateEnd();

(source = Fixes #4380, make sure site's timezone is applied when selecting log … · matomo-org/matomo@2f3bb08 · GitHub)

Then either delete the piwik_archive_*_2013_12 , or wait up to 24 hours to see if the bug is fixed.

Does it fix it?

It seems to work. I deleted piwik_archive_*_2013_12, started the Auto-Archiving cron and can now see statistical data for the time period 0:00 - 1:00 that was missing before (I am on UTC+1).

The fix worked for me as well.

I also manually run the piwik/misc/cron/archive.php?token_auth=API_KEY - but I must warn you - it does take some time (a few minutes for me).

I applied the fix and my dash immediately went from -68% to -4% (and similar results across all sites). I’ll know for sure in the morning, but I think that was the fix! =D

I didn’t have to delete any archive files for this change to occur.

Piwik 2.0.2 has been released with this patch!

The patch worked for me, but I also had to manually delete the piwik_archive_*_2013_12 for it to work.

Same problem here… Referrer websites won’t load links.

Screenshot:
http://r.imgurl.nl/i/b1wlwV.png