Run archive.sh get the error

hi, sir

run the archive.sh one hour, but there is something wrong with the response:
ERROR: Got invalid response from API request: http://127.0.0.1/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=week&date=last9&format=php&token_auth=xxxxxxxxxxxxxxxxxxx&trigger=archivephp. Response was ‘’"

excuse, what’s the probably problem it ?

thanks for your answer

is there any error in your webserver error logs ?

There is some message in httpd error_log:
child pid xxxxx exit signal Segmentation fault (11)

…tks for ur answer

i found the another error when run the archive.sh

START
Starting Piwik reports archiving…
ERROR: Got invalid response from API request: http://127.0.0.1/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last2&format=php&token_auth=xxxxxxxxxxxxxxxx&trigger=archivephp. Response was ‘curl_exec: Empty reply from server’

Piwik dashboard that i can’t see anything ~ all the reports are displayed “Zero”…

help

Upgrade to latest piwik, latest PHP on the server, and then use archive.php instead of .sh – see: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

hi, Matt

I’ve used the archive.php to do analysis,=> php /var/www/html/misc/cron/archive.php --url=http://127.0.0.1
(i just including “archive.php” in archive.sh)

and there is another question:
now my piwik version is 1.7.1
I will upgrade it to 1.8.3, in the release note that i found db schema has changed (create report tables, alter some tables)
finally,Is something else should i notice at upgrade process ??

thanks a lot

please upgrade it will fix some issues!