Piwik acrhive import broken after update


After updating from 2.0.3 to 2.1.0 version, the log archive is broken:

Processing logfile /home/piwik/logfiles/rr1.streamzilla.xlcdn.com.access.log.1
Traceback (most recent call last):
File “/opt/web-data/websites/piwik/misc/log-analytics/import_logs.py”, line 1718, in
config = Configuration()
File “/opt/web-data/websites/piwik/misc/log-analytics/import_logs.py”, line 570, in init
File “/opt/web-data/websites/piwik/misc/log-analytics/import_logs.py”, line 560, in _parse_args
self.options.piwik_token_auth = self._get_token_auth()
File “/opt/web-data/websites/piwik/misc/log-analytics/import_logs.py”, line 613, in _get_token_auth
credentials = open(filename, ‘r’).readline()
IOError: [Errno 2] No such file or directory: ‘/opt/web-data/websites/piwik/tmp/cache/token.php’

Indeed, the tmp directory is empty!. This results in a NON working Piwik. I can’t imagine that is is not tested. What is changed so that we can import our log files.

Kind regards.

(Matthieu Aubry) #2

Of course this is tested as part of our QA process Piwik Quality Assurance - Analytics Platform - Matomo

It works for hundreds of users, but it looks like in your case it does not work…

try add the parameter -ddd and paste output here?