stats query: 1:17 invalid expression COUNT(*)

Hi all I read somewher that these log entries for v0.12 disco server are not supported as at time of writing, this release was not yet official. Is disco 0.12 now official ? If yes, do we have to care with these entries. With 0.13 in the oven maybe it is no a big concern ? The problem is that my disco sometimes hangs, generating a huge weird log

Stats: NaN announces/s, NaN queries/s, NaN answers/s, NaN errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: 0.00 announces/s, 0.00 queries/s, 0.00 answers/s, 0.00 errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: 0.00 announces/s, 0.05 queries/s, 0.00 answers/s, 0.00 errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: NaN announces/s, NaN queries/s, NaN answers/s, NaN errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: 0.00 announces/s, 0.00 queries/s, 0.00 answers/s, 0.00 errors/s
stats query: 1:17 invalid expression COUNT(*)

This is a known issue, the SQL needs to be adjusted for the built in backend. It affects stats writing only.

https://github.com/syncthing/discosrv/issues/34

Fixed by updating the database package. Rebuild from source and it should work.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.