Closed waldner closed 5 years ago
Maybe your webserver needs to have the index.php
, so could you add index.php
in your Matomo URL eg. change from:
/usr/bin/php5 /var/www/piwik/console -v core:archive --url=http://my.piwik.domain/
to
/usr/bin/php5 /var/www/piwik/console -v core:archive --url=http://my.piwik.domain/index.php
Does it work then?
It started working again after I migrated the whole thing to docker + php7. Don't know exactly what made it work though.
Thanks for letting us know
Running the following command:
An error is returned as follows:
And indeed, the result of fetching the indicated url (
?module=API&method=API.get&idSite=1&period=day&date=last52&format=php&trigger=archivephp
) is the piwik login page.I'm not sure how to go about this, similar reports usually are about empty responses or memory problems, but I don't see either of them here. Also, no errors in the web server logs.