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
Log import: invalid_indices / invalid datetime format #13019
Comments
Are you using Matomo 3.5.1 ? if you are, please post here the log line that bugs and triggers this error, and the command you used to import? |
Yes, version 3.5.1. Command: python /var/www/html/misc/log-analytics/import_logs.py --url=https://mymatomo.com --idsite=6 --recorders=2 access.log 90.195.17.228 - - [30/May/2018:14:43:53 +0000] "POST http://mydomain.com/stories/votej.php HTTP/1.1" 200 85 "https://mydomain.com/s/crossing-the-line-15" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299" 0.531 |
Hi! Anybody? :) |
How I understood. This url affecting: |
I'll close this one as it's already a couple of years old. |
Hi!
During the nginx log import I'm often face this error:
From console:
Fatal error: HTTP Error 500 Internal Server Error, response: {"status":"error","tracked":79,"invalid":0,"invalid_indices":[]}
You can restart the import of "access.log" from the point it failed by specifying --skip=200900 on the command line.
In nginx error log:
PHP message: Error in Matomo (tracker): Error query: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xF0\x9F\x98\x9Apa...' for column 'name' at row 1 In query: INSERT INTO mtm_log_action (name, hash, type, url_prefix) VALUES (?,CRC32(?),?,?) Parameters: array ( 0 => 'Wife swop 😚party', 1 => 'Wife swop 😚party', 2 => 8, 3 => NULL, )"
or
"PHP message: Error in Matomo (tracker): Error query: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'visit_total_interactions' at row 1 In query: UPDATE mtm_log_visit SET idvisitor = ?, visit_last_action_time = ?, visit_exit_idaction_url = ?, visit_total_actions = visit_total_actions + 1 , visit_total_interactions = visit_total_interactions + 1 , visit_total_time = ? WHERE idsite = ? AND idvisit = ? Parameters: array ( 0 => '°‘Üñ‰Ubi', 1 => '2018-05-27 19:41:00', 2 => 8212694, 3 => 74461, 4 => 6, 5 => '59079986', )"
Something wrong with log I guess?
The text was updated successfully, but these errors were encountered: