Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import log files to Piwik #4919

Closed
anonymous-matomo-user opened this issue Mar 28, 2014 · 1 comment
Closed

Failed to import log files to Piwik #4919

anonymous-matomo-user opened this issue Mar 28, 2014 · 1 comment
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.

Comments

@anonymous-matomo-user
Copy link

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

@mattab
Copy link
Member

mattab commented Mar 31, 2014

It works for me in the latest beta. can you please try the beta? http://piwik.org/faq/how-to-update/faq_159/

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants