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

import_logs.py doesn't work #7616

Closed
lmgichin opened this issue Apr 1, 2015 · 3 comments
Closed

import_logs.py doesn't work #7616

lmgichin opened this issue Apr 1, 2015 · 3 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@lmgichin
Copy link

lmgichin commented Apr 1, 2015

While trying to import logs :

./import_logs.py --idsite=2 --url=http://www.xxx.org /var/log/httpd/xxxxxx_log
Traceback (most recent call last):
File "./import_logs.py", line 2099, in
resolver = config.get_resolver()
File "./import_logs.py", line 880, in get_resolver
return StaticResolver(self.options.site_id)
File "./import_logs.py", line 1221, in init
'SitesManager.getSiteFromId', idSite=self.site_id
File "./import_logs.py", line 1204, in call_api
return cls._call_wrapper(cls._call_api, None, None, method, **kwargs)
File "./import_logs.py", line 1193, in _call_wrapper
raise Piwik.Error(message)
main.Error: Internal Server Error

@mattab
Copy link
Member

mattab commented Apr 1, 2015

Hi @lmgichin thanks for the report.

Here the problem is that the --url should point to your Piwik server. If you already have pointed it to your Piwik server, then there may be a problem accessing Piwik from the console. Check your server error log files on Piwik server.

@mattab
Copy link
Member

mattab commented Apr 1, 2015

we get this report very often in the forums. Maybe we could improve log analytics to help users know what to do when this error occurs...

@mattab
Copy link
Member

mattab commented Apr 8, 2015

Thanks for the report. created an issue in the log-analytics issue tracker: matomo-org/matomo-log-analytics#64

@mattab mattab closed this as completed Apr 8, 2015
@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants