Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Error when running import_logs.py as cronjob (no replies)

$
0
0
Hi PIWIK,
we have an issue when running import_logs.py as cronjob.
line in shell script:
/var/www/html/piwik/misc/log-analytics/import_logs.py -d --login=root --password=hmbtghmbtg --url=http://localhost/piwik $logfile --idsite=1 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots &>>$PIWIK_LOG

Error message from import-logs.py:
2014-11-10 16:58:02,396: [DEBUG] Accepted hostnames: all
2014-11-10 16:58:02,396: [DEBUG] Piwik URL is: http://localhost/piwik
2014-11-10 16:58:02,396: [DEBUG] No token-auth specified
2014-11-10 16:58:02,396: [DEBUG] Using credentials: (login = root, password = xxxxx)
2014-11-10 16:58:02,410: [DEBUG] Error when connecting to Piwik: HTTP Error 404: Not found
2014-11-10 16:58:04,422: [DEBUG] Error when connecting to Piwik: HTTP Error 404: Not found
2014-11-10 16:58:06,431: [DEBUG] Error when connecting to Piwik: HTTP Error 404: Not found
Fatal error: Not found


When running the same script from terminal it works fine.
Do you have any idea?
Kind regards
hullrich

Viewing all articles
Browse latest Browse all 4243

Trending Articles