Martin Pöhlmann
{
"message": "unsupported Scan, storing driver.Value type <nil> into type *time.Time",
"errors": [
{
"name": "base",
"reason": "unsupported Scan, storing driver.Value type <nil> into type *time.Time"
}
]
}
Any ideas?Lucas Rodriguez
Martin Pöhlmann
fleet_1 | {"component":"crons","cron":"cleanups","details":"looping through ids: running visitFunc for queries: getting user_time p50 for query 1: timestamp: 2021-11-22T13:45:38+01:00: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'row_number, mm.* FROM (\n\t\tSELECT d.scheduled_query_id, d.user_time, d.executions' at line 4","err":"aggregating query stats","level":"error","ts":"2021-11-22T12:45:38.017855521Z"}
fleet_1 | {"component":"crons","cron":"cleanups","details":"looping through ids: running visitFunc for scheduled_queries: getting user_time p50 for scheduled_query 4: timestamp: 2021-11-22T13:45:38+01:00: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'row_number, mm.* FROM (\n\t\tSELECT d.scheduled_query_id, d.user_time, d.executions' at line 4","err":"aggregating scheduled query stats","level":"error","ts":"2021-11-22T12:45:38.019472394Z"}
Lucas Rodriguez
fleet prepare db
before running the new version of fleet?Martin Pöhlmann
command: sh -c "/usr/bin/fleet prepare db --no-prompt && /usr/bin/fleet serve"
Lucas Rodriguez
Martin Pöhlmann
Lucas Rodriguez
Martin Pöhlmann
Lucas Rodriguez
Martin Pöhlmann
Lucas Rodriguez
Martin Pöhlmann
Lucas Rodriguez
Martin Pöhlmann
Lucas Rodriguez
Martin Pöhlmann
Lucas Rodriguez
Martin Pöhlmann
Lucas Rodriguez
Flngen Flugen
Lucas Rodriguez
Martin Pöhlmann
Lucas Rodriguez
My Account
-> fleet version should show up in the bottom right.Martin Pöhlmann
Lucas Rodriguez
SELECT * FROM fleet.hosts h LEFT JOIN fleet.host_seen_times hst ON h.id = hst.host_id
(feel free to not include any sensitive data like hostnames)Martin Pöhlmann