-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error during archiving GA imported site #75
Comments
There's some data in GA for that specific day that is causing an empty label to be imported for one of the Referrers reports. This causes archiving to fail. Here are some things you can do to get more information:
Once the piece of troublesome data is identified, a fix can be created. |
Hi, Where can I look through the matomo and/or GA reports? When I look in the Visits Log, I get the msg |
Not core/bootstrap.php, but in the root folder next to your matomo.php file.
The matomo reports are the reports you see in the matomo dashboard and elsewhere in the non-admin pages of matomo. Google Analytics reports are in Google Analytics. Somewhere in the referrer (aka, acquisition) reports there is some data that is causing problem for matomo.
The importer does not import raw data, there will never be data in the Visits Log for imported sites. |
Bootstrap.php: there is no such file in root of our matomo instance..? |
You can create one, if it's not there it's not loaded. If it is there, it is loaded. Add one w/
|
The only thing I can see is a very odd referrer: The cron.log has been truncated all the time: https://github.com/matomo-org/plugin-GoogleAnalyticsImporter/files/4362542/cron.log |
Removing these lines will have untruncate them: https://github.com/matomo-org/matomo/blob/3.x-dev/core/CronArchive.php#L1237-L1240
That looks strange, did you see it in GA or matomo? Can you also make sure these lines look the same for the file in your GoogleAnalyticsImporter plugin: https://github.com/matomo-org/plugin-GoogleAnalyticsImporter/blob/3.x-dev/RecordImporter.php#L166-L169 ? |
New logfile with no truncation:
In Matomo
We have the same lines |
@prathers due to our focus on Matomo 4 we are probably unable to troubleshoot this issue further. If you or anyone else can look into it further, we welcome a pull request on this. Or if anyone else experiences the issue please comment here |
I fully understand and will not claim any extra service. I bet you guys are busy enough already. |
Not totally sure, but this might be an issue for the GA importer:
During the cron archiving sites in our instance, it throws an error (in short):
Got invalid response from API request: ?module=API&method=API.get&idSite=9&period=week&date=last18&format=php&trigger=archivephp. Response was 'a:2:{s:6:"result";s:5:"error";s:7:"message";s:12021:"Label column not found in the table to add in addDataTable() - in plugin Referrers #0 /home/webstat/core/ArchiveProcessor/Loader.php(133)
Site 9 is an imported GA.
cron.log
Difficult to see where to start tracing..
The text was updated successfully, but these errors were encountered: