2.8.3: import_logs.py - Fatal error: Internal Server Error

Hi,

After migrating from piwik 2.3 to 2.8 (with db upgrades that took about 1.5 hours) and still now that
we are on 2.8.3, I still get his error:

Fatal error: Internal Server Error
You can restart the import of “/tmp/piwik11832” from the point it failed by specifying --skip=3200 on the command line.

When doing this command:

time ./import_logs.py --url=http://piwik.gpc.edu/piwik --idsite=48 --recorders=8 --enable-http-errors --enable-http-redirects --enable-static --enable-reverse-dns /tmp/piwik11832 --enable-bots

If I add the parameter ‘–skip=3200’, I still get the same error and recommendation of ‘–skip=3200’. I do not
see anything in /var/log/httpd/error_log.

Any suggestions of where to look for more information or do? This is true on all the ‘-idsites’ I have tried it on,
just different lines numbers. Should I rebuild our db from scratch?

Thanks,
Douglas

Hi,

I added the ‘-d’ option to the import_logs.py command and got:

9600 lines parsed, 1652 lines recorded, 65 records/sec (avg), 0 records/sec (current)
2014-11-04 08:38:01,705: [DEBUG] Error when connecting to Piwik: HTTP Error 500: Internal Server Error
2014-11-04 08:38:01,730: [DEBUG] Error when connecting to Piwik: HTTP Error 500: Internal Server Error
9600 lines parsed, 1652 lines recorded, 63 records/sec (avg), 0 records/sec (current)
2014-11-04 08:38:02,779: [DEBUG] Error when connecting to Piwik: HTTP Error 500: Internal Server Error
9600 lines parsed, 1652 lines recorded, 61 records/sec (avg), 0 records/sec (current)
2014-11-04 08:38:04,014: [DEBUG] Error when connecting to Piwik: HTTP Error 500: Internal Server Error
Fatal error: Internal Server Error
You can restart the import of “/tmp/piwik11832” from the point it failed by specifying --skip=3200 on the command line.

This is the last several lines of output. I even tried ‘-ddd’ as suggested in one article, but no difference in output.

Let me know if there is anything else I can do to help resolve this. As of right now, we can’t process logs.
One slight “improvement”, it now says ‘–skip=3215’.

Thanks,
Douglas

Fatal error: Internal Server Error

when you get this error you should have something in your server error log file, can you check?

We got this same error and we had to disable LDAP auth. Apache’s error log indicated this (Error in Piwik (tracker): Authentication by password hash is not supported when authenticating by LDAP.
)