You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 23, 2020. It is now read-only.
When the nodebb forum fetches a new id it uses the $inc fuction which results in an error:
[analytics] Encountered error while writing analytics to data store MongoError: Cannot apply $inc to a value of non-numeric type. {_id: ObjectId('5dffcc527842867f4963185c')}
has the field 'uniqueIPCount' of non-numeric type string
Any idea how should we know which field values should to be converted into numbers? Or do we have to manually rewrite config? In that case, could other objects also have this problem?
The text was updated successfully, but these errors were encountered:
After migrating my redis db to mongo it seems the nodebb expects quite a few fields as numbers (not strings).
I.e. "global" _key looks like this:
When the nodebb forum fetches a new id it uses the
$inc
fuction which results in an error:Any idea how should we know which field values should to be converted into numbers? Or do we have to manually rewrite config? In that case, could other objects also have this problem?
The text was updated successfully, but these errors were encountered: