After Upgrading to 1.2.5 via Github I am getting some errors in the genieacs-ui.log file related to mongo.
2021-03-15T21:41:01.134Z [ERROR] Uncaught exception; pid=868 exceptionName="Mong
oError" exceptionMessage="Executor error during find command :: caused by :: Sor
t operation used more than the maximum 33554432 bytes of RAM. Add an index, or s
pecify a smaller limit." exceptionStack="MongoError: Executor error during find
command :: caused by :: Sort operation used more than the maximum 33554432 bytes
of RAM. Add an index, or specify a smaller limit.\n at MessageStream.message
Handler (/home/genieacs/genieacs/node_modules/mongodb/lib/cmap/connection.js:268
:20)\n at MessageStream.emit (events.js:314:20)\n at processIncomingData (
/home/genieacs/genieacs/node_modules/mongodb/lib/cmap/message_stream.js:144:12)\
n at MessageStream._write (/home/genieacs/genieacs/node_modules/mongodb/lib/c
map/message_stream.js:42:5)\n at doWrite (_stream_writable.js:403:12)\n at
writeOrBuffer (_stream_writable.js:387:5)\n at MessageStream.Writable.write
(_stream_writable.js:318:11)\n at Socket.ondata (_stream_readable.js:719:22)\
n at Socket.emit (events.js:314:20)\n at addChunk (_stream_readable.js:298
:12)"
2021-03-15T21:41:01.517Z [ERROR] Worker died; pid=868 exitCode=0
Here is the mongod version I am using
genieacs@acs:~/genieacs$ mongod --version
db version v4.2.10
git version: 88276238fa97b47c0ef14362b343c5317ecbd739
OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019
allocator: tcmalloc
modules: none
build environment:
distmod: debian10
distarch: x86_64
target_arch: x86_64