Icecast Erros Method Not Allowed


#1

I’m trying put the for icecast monitor , but returns the following error me

python /usr/share/piwik/misc/log-analytics/import_logs.py --show-progress --url=http://www.mydominio.com.br --idsite=1 --enable-http-errors --log-format-name=icecast2 --strip-query-string /var/log/icecast2/access.log

Aan someone help me?

File “/usr/share/piwik/misc/log-analytics/import_logs.py”, line 1748, in
resolver = config.get_resolver()
File “/usr/share/piwik/misc/log-analytics/import_logs.py”, line 650, in get_resolver
return StaticResolver(self.options.site_id)
File “/usr/share/piwik/misc/log-analytics/import_logs.py”, line 991, in init
’SitesManager.getSiteFromId’, idSite=self.site_id
File “/usr/share/piwik/misc/log-analytics/import_logs.py”, line 974, in call_api
return cls._call_wrapper(cls._call_api, None, None, method, **kwargs)
File “/usr/share/piwik/misc/log-analytics/import_logs.py”, line 963, in _call_wrapper
raise Piwik.Error(message)
main.Error: Method Not Allowed


(Matthieu Aubry) #2

the --url= should point towards your piwik server, can you try ?