Error: Got invalid response from API request while processing

Hi there,

I have recently updated Piwik and after the update the stats are working partially. The import.py scripts seems to be importing data and the live map is updated. Only all long term trend related counters show no data at all within GUI. B.t.w. I’m using Piwik to import Shoutcast logs.

After running the import.py command I also run the command:
./console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url=‘http://x.x.x.x

Which produces the following errors:
INFO [2016-09-03 09:46:26] SUMMARY OF ERRORS
INFO [2016-09-03 09:46:26] Error: Got invalid response from API request: ?module=API&method=API.get&idSite=1&period=day&date=last1000&format=php&trigger=archivephp. Response was 'a:2:{s:6:“result”;s:5:“error”;s:7:“message”;s:117:“SQLSTATE[HY000]: General error: 3 Error writing file ‘/tmp/MYTbV8gm’ (Errcode: 28) - caused by plugin CustomVariables”;}'
INFO [2016-09-03 09:46:26] Error: Empty or invalid response ‘’ for website id 1, Time elapsed: 65.959s, skipping
ERROR [2016-09-03 09:46:26] 2 total errors during this script execution, please investigate and try and fix these errors.

Not sure if my issues are related to these errors?

Hello

your mysql is running out of memory, you can allocate more memory to Mysql or tmp partition