Closed jonwilts closed 9 months ago
Downgraded node.js to 16.20.2 and still getting the issue. Log file attached. First instance of the error occurs at 14:58 - more than 50 minute after restarting Nightscout - but then seems to occur regularly. nightscout.log
Ok - further investigation shows that this was caused by the update to mongodb-js and so is a duplicate of (or at least related to) 8111.
Updating to 15.0.2 appears to have solved the problem.
I am still seeing:
Oct 31 12:02:21 server nightscout[2369822]: (node:2369822) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead
Oct 31 12:02:21 server nightscout[2369822]: (Use node --trace-deprecation ... to show where the warning was created)
but nothing is broken.
Describe the bug
Updated to 15.0.0 earlier this week. Running locally on Ubuntu 22.04.3, using node.js 18.18.2.
Everything seems to be working fine. However, in the log file I'm repeatedly getting the following message:
To Reproduce
Hard to say. Install Nightscout 15.0.0 and run using node.js 18.18.2.
Expected behavior
Everything seems to be working ok - we appear to have normal nightscout functionality, but I'm assuming this log message means something isn't working as expected.
These messages did not appear previously (using 14.2.6).
Screenshots See log file snipped above.
Your setup information
Additional context