Failed to import log files to Piwik #4919
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
worksforme
The issue cannot be reproduced and things work as intended.
Hi,
My Piwik version is 2.1.0. When using the python script to import the log files, I got the following error message. Can anyone help how to fix the problem? Let me know if you need any additional info.
Thank you very much!
2014-03-28 02:01:36,136: [DEBUG] Accepted hostnames: all
2014-03-28 02:01:36,136: [DEBUG] Piwik URL is: http://<piwik URL>/
2014-03-28 02:01:36,136: [DEBUG] No token-auth specified
2014-03-28 02:01:36,136: [DEBUG] Authentication token token_auth is: None
2014-03-28 02:01:36,136: [DEBUG] Resolver: static
2014-03-28 02:01:36,247: [DEBUG] response for SitesManager.getSiteFromId: {u'message': u"You can't access this resource as it requires an 'view' access for the website id = 3.", u'result': u'error'}
Fatal error: cannot get the main URL of this site: invalid site ID: 3
The command I used is:
python /usr/share/nginx/www/piwik/misc/log-analytics/import_logs.py --url=http://<piwik URL>/ access.log --idsite=3 --login=<user> --password=<password> --dry-run
The text was updated successfully, but these errors were encountered: