0% found this document useful (0 votes)
5 views8 pages

PM2 Logs and Error Analysis

The PM2 logs indicate that the application 'lb_v2_4003' exited with an error and was restarted, but encountered a TypeError related to invalid argument types. Additionally, there are warnings about unsupported MongoDB OP_QUERY commands, suggesting that the client driver may need an upgrade. The logs also show the creation of various log files and indicate that the AWS SDK for JavaScript (v2) will enter maintenance mode in 2023, advising migration to v3.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views8 pages

PM2 Logs and Error Analysis

The PM2 logs indicate that the application 'lb_v2_4003' exited with an error and was restarted, but encountered a TypeError related to invalid argument types. Additionally, there are warnings about unsupported MongoDB OP_QUERY commands, suggesting that the client driver may need an upgrade. The logs also show the creation of various log files and indicate that the AWS SDK for JavaScript (v2) will enter maintenance mode in 2023, advising migration to v3.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

root@ip-192-168-1-61:/home/ubuntu# pm2 logs

[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines
option)
/root/.pm2/[Link] last 15 lines:
PM2 | 2025-05-01T20:14:08: PM2 log: App [lb_v2_4002:2] online
PM2 | 2025-05-01T20:14:20: PM2 log: App [lb_v2_4003:3] exited with code [1]
via signal [SIGINT]
PM2 | 2025-05-01T20:14:20: PM2 log: App [lb_v2_4003:3] starting in -fork
mode-
PM2 | 2025-05-01T20:14:20: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The
"data" argument must be of type string or an instance of Buffer, TypedArray, or
DataView. Received type number (3450087)
PM2 | at [Link] ([Link]:5)
PM2 | at /usr/lib/node_modules/pm2/lib/God/[Link]:12
PM2 | at
/usr/lib/node_modules/pm2/node_modules/async/internal/[Link]:16
PM2 | at next
(/usr/lib/node_modules/pm2/node_modules/async/[Link]:29)
PM2 | at
/usr/lib/node_modules/pm2/node_modules/async/internal/[Link]:16
PM2 | at WriteStream.<anonymous>
(/usr/lib/node_modules/pm2/lib/[Link]:13)
PM2 | at [Link] ([Link]:28)
PM2 | at [Link] ([Link]:15)
PM2 | at /usr/lib/node_modules/pm2/node_modules/graceful-fs/graceful-
[Link]:14
PM2 | at /usr/lib/node_modules/pm2/node_modules/graceful-fs/graceful-
[Link]:16
PM2 | 2025-05-01T20:14:20: PM2 log: App [lb_v2_4003:3] online

/root/.pm2/logs/[Link] last 15 lines:


/root/.pm2/logs/[Link] last 15 lines:
/root/.pm2/logs/[Link] last 15 lines:
/root/.pm2/logs/[Link] last 15 lines:
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load4-out__2025-[Link]"
has been created
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load6-out__2025-[Link]"
has been created
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load2-out__2025-[Link]"
has been created
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load2-err__2025-[Link]"
has been created
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load1-err__2025-[Link]"
has been created
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load4-err__2025-[Link]"
has been created
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load6-err__2025-[Link]"
has been created
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load5-err__2025-[Link]"
has been created
7|pm2-logr | "/var/www/[Link].v2/pm2-log/load3-err__2025-[Link]"
has been created
7|pm2-logr | "/root/.pm2/pm2__2025-[Link]" has been created
7|pm2-logr | "pm2__2024-[Link]" has been deleted
7|pm2-logr | "/root/.pm2/pm2__2025-[Link]" has been created
7|pm2-logr | "pm2__2024-[Link]" has been deleted
7|pm2-logr | "/root/.pm2/pm2__2025-[Link]" has been created
7|pm2-logr | "pm2__2024-[Link]" has been deleted
/var/www/[Link].v2/pm2-log/[Link] last 15 lines:
4|lb_v2_40 | 2025-05-01T19:57:40: ok: 0,
4|lb_v2_40 | 2025-05-01T19:57:40: errmsg: 'Unsupported OP_QUERY command: find.
The client driver may require an upgrade. For more details see
[Link]
4|lb_v2_40 | 2025-05-01T19:57:40: code: 352,
4|lb_v2_40 | 2025-05-01T19:57:40: codeName: 'UnsupportedOpQueryCommand'
4|lb_v2_40 | 2025-05-01T19:57:40: }
4|lb_v2_40 | 2025-05-01T19:57:52: false
4|lb_v2_40 | 2025-05-01T19:57:52: Express server listening on port 4004 with the
single worker 3449295
4|lb_v2_40 | 2025-05-01T19:58:35: db_vBench: start try to connect.
4|lb_v2_40 | 2025-05-01T19:58:35: db_vBench: Connected
4|lb_v2_40 | 2025-05-01T19:58:45: false
4|lb_v2_40 | 2025-05-01T19:58:45: Express server listening on port 4004 with the
single worker 3449531
4|lb_v2_40 | 2025-05-01T20:14:08: db_vBench: start try to connect.
4|lb_v2_40 | 2025-05-01T20:14:08: db_vBench: Connected
4|lb_v2_40 | 2025-05-01T20:14:20: false
4|lb_v2_40 | 2025-05-01T20:14:20: Express server listening on port 4004 with the
single worker 3449875

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


4|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load4/[Link]/node_modules/mongodb/lib/
[Link]:22
4|lb_v2_40 | 2025-05-01T20:14:08: at handleCallback
(/var/www/[Link].v2/load4/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:5)
4|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load4/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:22
4|lb_v2_40 | 2025-05-01T20:14:08: at queryCallback
(/var/www/[Link].v2/load4/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:16)
4|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load4/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
4|lb_v2_40 | 2025-05-01T20:14:08: at processTicksAndRejections
(internal/process/task_queues.js:77:11)
4|lb_v2_40 | 2025-05-01T20:14:20: (node:3449875) Warning: Accessing non-existent
property 'count' of module exports inside circular dependency
4|lb_v2_40 | 2025-05-01T20:14:20: (Use `node --trace-warnings ...` to show where
the warning was created)
4|lb_v2_40 | 2025-05-01T20:14:20: (node:3449875) Warning: Accessing non-existent
property 'findOne' of module exports inside circular dependency
4|lb_v2_40 | 2025-05-01T20:14:20: (node:3449875) Warning: Accessing non-existent
property 'remove' of module exports inside circular dependency
4|lb_v2_40 | 2025-05-01T20:14:20: (node:3449875) Warning: Accessing non-existent
property 'updateOne' of module exports inside circular dependency
4|lb_v2_40 | 2025-05-01T20:14:20: (node:3449875) NOTE: We are formalizing our plans
to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
4|lb_v2_40 | 2025-05-01T20:14:20:
4|lb_v2_40 | 2025-05-01T20:14:20: Please migrate your code to use AWS SDK for
JavaScript (v3).
4|lb_v2_40 | 2025-05-01T20:14:20: For more information, check the migration guide
at [Link]

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


6|lb_v2_40 | 2025-05-01T19:57:52: Express server listening on port 4006 with the
single worker 3449283
6|lb_v2_40 | 2025-05-01T19:58:29: db_vBench: start try to connect.
6|lb_v2_40 | 2025-05-01T19:58:29: db_vBench: Connected
6|lb_v2_40 | 2025-05-01T19:58:29: Error [MongoError]: Unsupported OP_QUERY command:
find. The client driver may require an upgrade. For more details see
[Link]
6|lb_v2_40 | 2025-05-01T19:58:29: at [Link]
(/var/www/[Link].v2/load6/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:11)
6|lb_v2_40 | 2025-05-01T19:58:29: at queryCallback
(/var/www/[Link].v2/load6/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:36)
6|lb_v2_40 | 2025-05-01T19:58:29: at
/var/www/[Link].v2/load6/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
6|lb_v2_40 | 2025-05-01T19:58:29: at processTicksAndRejections
(internal/process/task_queues.js:77:11) {
6|lb_v2_40 | 2025-05-01T19:58:29: ok: 0,
6|lb_v2_40 | 2025-05-01T19:58:29: errmsg: 'Unsupported OP_QUERY command: find.
The client driver may require an upgrade. For more details see
[Link]
6|lb_v2_40 | 2025-05-01T19:58:29: code: 352,
6|lb_v2_40 | 2025-05-01T19:58:29: codeName: 'UnsupportedOpQueryCommand'
6|lb_v2_40 | 2025-05-01T19:58:29: }
6|lb_v2_40 | 2025-05-01T20:14:20: false
6|lb_v2_40 | 2025-05-01T20:14:20: Express server listening on port 4006 with the
single worker 3449888

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


6|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load6/[Link]/node_modules/mongodb/lib/
[Link]:22
6|lb_v2_40 | 2025-05-01T20:14:08: at handleCallback
(/var/www/[Link].v2/load6/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:5)
6|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load6/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:22
6|lb_v2_40 | 2025-05-01T20:14:08: at queryCallback
(/var/www/[Link].v2/load6/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:16)
6|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load6/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
6|lb_v2_40 | 2025-05-01T20:14:08: at processTicksAndRejections
(internal/process/task_queues.js:77:11)
6|lb_v2_40 | 2025-05-01T20:14:20: (node:3449888) Warning: Accessing non-existent
property 'count' of module exports inside circular dependency
6|lb_v2_40 | 2025-05-01T20:14:20: (Use `node --trace-warnings ...` to show where
the warning was created)
6|lb_v2_40 | 2025-05-01T20:14:20: (node:3449888) Warning: Accessing non-existent
property 'findOne' of module exports inside circular dependency
6|lb_v2_40 | 2025-05-01T20:14:20: (node:3449888) Warning: Accessing non-existent
property 'remove' of module exports inside circular dependency
6|lb_v2_40 | 2025-05-01T20:14:20: (node:3449888) Warning: Accessing non-existent
property 'updateOne' of module exports inside circular dependency
6|lb_v2_40 | 2025-05-01T20:14:20: (node:3449888) NOTE: We are formalizing our plans
to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
6|lb_v2_40 | 2025-05-01T20:14:20:
6|lb_v2_40 | 2025-05-01T20:14:20: Please migrate your code to use AWS SDK for
JavaScript (v3).
6|lb_v2_40 | 2025-05-01T20:14:20: For more information, check the migration guide
at [Link]

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


5|lb_v2_40 | 2025-05-01T19:41:09: db_vBench: Connected
5|lb_v2_40 | 2025-05-01T19:41:18: false
5|lb_v2_40 | 2025-05-01T19:41:18: Express server listening on port 4005 with the
single worker 3448918
5|lb_v2_40 | 2025-05-01T19:57:40: db_vBench: start try to connect.
5|lb_v2_40 | 2025-05-01T19:57:40: db_vBench: Connected
5|lb_v2_40 | 2025-05-01T19:57:52: false
5|lb_v2_40 | 2025-05-01T19:57:52: Express server listening on port 4005 with the
single worker 3449281
5|lb_v2_40 | 2025-05-01T19:58:35: db_vBench: start try to connect.
5|lb_v2_40 | 2025-05-01T19:58:35: db_vBench: Connected
5|lb_v2_40 | 2025-05-01T19:58:45: false
5|lb_v2_40 | 2025-05-01T19:58:45: Express server listening on port 4005 with the
single worker 3449524
5|lb_v2_40 | 2025-05-01T20:14:08: db_vBench: start try to connect.
5|lb_v2_40 | 2025-05-01T20:14:08: db_vBench: Connected
5|lb_v2_40 | 2025-05-01T20:14:20: false
5|lb_v2_40 | 2025-05-01T20:14:20: Express server listening on port 4005 with the
single worker 3449882

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


5|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load5/[Link]/node_modules/mongodb/lib/
[Link]:22
5|lb_v2_40 | 2025-05-01T20:14:08: at handleCallback
(/var/www/[Link].v2/load5/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:5)
5|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load5/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:22
5|lb_v2_40 | 2025-05-01T20:14:08: at queryCallback
(/var/www/[Link].v2/load5/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:16)
5|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load5/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
5|lb_v2_40 | 2025-05-01T20:14:08: at processTicksAndRejections
(internal/process/task_queues.js:77:11)
5|lb_v2_40 | 2025-05-01T20:14:20: (node:3449882) Warning: Accessing non-existent
property 'count' of module exports inside circular dependency
5|lb_v2_40 | 2025-05-01T20:14:20: (Use `node --trace-warnings ...` to show where
the warning was created)
5|lb_v2_40 | 2025-05-01T20:14:20: (node:3449882) Warning: Accessing non-existent
property 'findOne' of module exports inside circular dependency
5|lb_v2_40 | 2025-05-01T20:14:20: (node:3449882) Warning: Accessing non-existent
property 'remove' of module exports inside circular dependency
5|lb_v2_40 | 2025-05-01T20:14:20: (node:3449882) Warning: Accessing non-existent
property 'updateOne' of module exports inside circular dependency
5|lb_v2_40 | 2025-05-01T20:14:20: (node:3449882) NOTE: We are formalizing our plans
to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
5|lb_v2_40 | 2025-05-01T20:14:20:
5|lb_v2_40 | 2025-05-01T20:14:20: Please migrate your code to use AWS SDK for
JavaScript (v3).
5|lb_v2_40 | 2025-05-01T20:14:20: For more information, check the migration guide
at [Link]

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


2|lb_v2_40 | 2025-05-01T20:14:08: at handleCallback
(/var/www/[Link].v2/load2/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:5)
2|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load2/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:22
2|lb_v2_40 | 2025-05-01T20:14:08: at queryCallback
(/var/www/[Link].v2/load2/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:16)
2|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load2/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
2|lb_v2_40 | 2025-05-01T20:14:08: at processTicksAndRejections
(internal/process/task_queues.js:77:11)
2|lb_v2_40 | 2025-05-01T20:14:20: (node:3449907) Warning: Accessing non-existent
property 'count' of module exports inside circular dependency
2|lb_v2_40 | 2025-05-01T20:14:20: (Use `node --trace-warnings ...` to show where
the warning was created)
2|lb_v2_40 | 2025-05-01T20:14:20: (node:3449907) Warning: Accessing non-existent
property 'findOne' of module exports inside circular dependency
2|lb_v2_40 | 2025-05-01T20:14:20: (node:3449907) Warning: Accessing non-existent
property 'remove' of module exports inside circular dependency
2|lb_v2_40 | 2025-05-01T20:14:20: (node:3449907) Warning: Accessing non-existent
property 'updateOne' of module exports inside circular dependency
2|lb_v2_40 | 2025-05-01T20:14:20: (node:3449907) NOTE: We are formalizing our plans
to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
2|lb_v2_40 | 2025-05-01T20:14:20:
2|lb_v2_40 | 2025-05-01T20:14:20: Please migrate your code to use AWS SDK for
JavaScript (v3).
2|lb_v2_40 | 2025-05-01T20:14:20: For more information, check the migration guide
at [Link]
2|lb_v2_40 | 2025-05-01T20:17:15: (node:3449907) [DEP0066] DeprecationWarning:
[Link]._headers is deprecated

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


1|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load1/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:22
1|lb_v2_40 | 2025-05-01T20:14:08: at queryCallback
(/var/www/[Link].v2/load1/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:16)
1|lb_v2_40 | 2025-05-01T20:14:08: at
/var/www/[Link].v2/load1/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
1|lb_v2_40 | 2025-05-01T20:14:08: at processTicksAndRejections
(internal/process/task_queues.js:77:11)
1|lb_v2_40 | 2025-05-01T20:14:21: (node:3449900) Warning: Accessing non-existent
property 'count' of module exports inside circular dependency
1|lb_v2_40 | 2025-05-01T20:14:21: (Use `node --trace-warnings ...` to show where
the warning was created)
1|lb_v2_40 | 2025-05-01T20:14:21: (node:3449900) Warning: Accessing non-existent
property 'findOne' of module exports inside circular dependency
1|lb_v2_40 | 2025-05-01T20:14:21: (node:3449900) Warning: Accessing non-existent
property 'remove' of module exports inside circular dependency
1|lb_v2_40 | 2025-05-01T20:14:21: (node:3449900) Warning: Accessing non-existent
property 'updateOne' of module exports inside circular dependency
1|lb_v2_40 | 2025-05-01T20:14:21: (node:3449900) NOTE: We are formalizing our plans
to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
1|lb_v2_40 | 2025-05-01T20:14:21:
1|lb_v2_40 | 2025-05-01T20:14:21: Please migrate your code to use AWS SDK for
JavaScript (v3).
1|lb_v2_40 | 2025-05-01T20:14:21: For more information, check the migration guide
at [Link]
1|lb_v2_40 | 2025-05-01T20:15:06: (node:3449900) [DEP0066] DeprecationWarning:
[Link]._headers is deprecated
1|lb_v2_40 | 2025-05-01T20:20:06: db_vBench : error in
connectionmongodb://appdcmngusr:j11(nEwl!)vMnG@[Link]:27017/admin

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


3|lb_v2_40 | 2025-05-01T20:14:20: db_vBench: Connected
3|lb_v2_40 | 2025-05-01T20:14:23: false
3|lb_v2_40 | 2025-05-01T20:14:23: Express server listening on port 4003 with the
single worker 3450087
3|lb_v2_40 | 2025-05-01T20:22:14: db_vBench: start try to connect.
3|lb_v2_40 | 2025-05-01T20:22:14: db_vBench: Connected
3|lb_v2_40 | 2025-05-01T20:22:14: Error [MongoError]: Unsupported OP_QUERY command:
find. The client driver may require an upgrade. For more details see
[Link]
3|lb_v2_40 | 2025-05-01T20:22:14: at [Link]
(/var/www/[Link].v2/load3/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:11)
3|lb_v2_40 | 2025-05-01T20:22:14: at queryCallback
(/var/www/[Link].v2/load3/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:36)
3|lb_v2_40 | 2025-05-01T20:22:14: at
/var/www/[Link].v2/load3/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
3|lb_v2_40 | 2025-05-01T20:22:14: at processTicksAndRejections
(internal/process/task_queues.js:77:11) {
3|lb_v2_40 | 2025-05-01T20:22:14: ok: 0,
3|lb_v2_40 | 2025-05-01T20:22:14: errmsg: 'Unsupported OP_QUERY command: find.
The client driver may require an upgrade. For more details see
[Link]
3|lb_v2_40 | 2025-05-01T20:22:14: code: 352,
3|lb_v2_40 | 2025-05-01T20:22:14: codeName: 'UnsupportedOpQueryCommand'
3|lb_v2_40 | 2025-05-01T20:22:14: }

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


3|lb_v2_40 | 2025-05-01T20:14:20: at handleCallback
(/var/www/[Link].v2/load3/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:5)
3|lb_v2_40 | 2025-05-01T20:14:20: at
/var/www/[Link].v2/load3/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:22
3|lb_v2_40 | 2025-05-01T20:14:20: at queryCallback
(/var/www/[Link].v2/load3/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:16)
3|lb_v2_40 | 2025-05-01T20:14:20: at
/var/www/[Link].v2/load3/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
3|lb_v2_40 | 2025-05-01T20:14:20: at processTicksAndRejections
(internal/process/task_queues.js:77:11)
3|lb_v2_40 | 2025-05-01T20:14:23: (node:3450087) Warning: Accessing non-existent
property 'count' of module exports inside circular dependency
3|lb_v2_40 | 2025-05-01T20:14:23: (Use `node --trace-warnings ...` to show where
the warning was created)
3|lb_v2_40 | 2025-05-01T20:14:23: (node:3450087) Warning: Accessing non-existent
property 'findOne' of module exports inside circular dependency
3|lb_v2_40 | 2025-05-01T20:14:23: (node:3450087) Warning: Accessing non-existent
property 'remove' of module exports inside circular dependency
3|lb_v2_40 | 2025-05-01T20:14:23: (node:3450087) Warning: Accessing non-existent
property 'updateOne' of module exports inside circular dependency
3|lb_v2_40 | 2025-05-01T20:14:23: (node:3450087) NOTE: We are formalizing our plans
to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
3|lb_v2_40 | 2025-05-01T20:14:23:
3|lb_v2_40 | 2025-05-01T20:14:23: Please migrate your code to use AWS SDK for
JavaScript (v3).
3|lb_v2_40 | 2025-05-01T20:14:23: For more information, check the migration guide
at [Link]
3|lb_v2_40 | 2025-05-01T20:22:16: (node:3450087) [DEP0066] DeprecationWarning:
[Link]._headers is deprecated

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


1|lb_v2_40 | 2025-05-01T20:20:06: at processTicksAndRejections
(internal/process/task_queues.js:95:5)
1|lb_v2_40 | 2025-05-01T20:20:06: at async [Link]
(/var/www/[Link].v2/load1/[Link]/controllers/
[Link]:18)
1|lb_v2_40 | 2025-05-01T20:20:06: TypeError: Cannot read property 'db' of null
1|lb_v2_40 | 2025-05-01T20:20:06: at [Link]
(/var/www/[Link].v2/load1/[Link]/controllers/
[Link]:22)
1|lb_v2_40 | 2025-05-01T20:20:06: at processTicksAndRejections
(internal/process/task_queues.js:95:5)
1|lb_v2_40 | 2025-05-01T20:26:08: Error [MongoError]: Unsupported OP_QUERY command:
find. The client driver may require an upgrade. For more details see
[Link]
1|lb_v2_40 | 2025-05-01T20:26:08: at [Link]
(/var/www/[Link].v2/load1/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:11)
1|lb_v2_40 | 2025-05-01T20:26:08: at queryCallback
(/var/www/[Link].v2/load1/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:36)
1|lb_v2_40 | 2025-05-01T20:26:08: at
/var/www/[Link].v2/load1/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
1|lb_v2_40 | 2025-05-01T20:26:08: at processTicksAndRejections
(internal/process/task_queues.js:77:11) {
1|lb_v2_40 | 2025-05-01T20:26:08: ok: 0,
1|lb_v2_40 | 2025-05-01T20:26:08: errmsg: 'Unsupported OP_QUERY command: find.
The client driver may require an upgrade. For more details see
[Link]
1|lb_v2_40 | 2025-05-01T20:26:08: code: 352,
1|lb_v2_40 | 2025-05-01T20:26:08: codeName: 'UnsupportedOpQueryCommand'
1|lb_v2_40 | 2025-05-01T20:26:08: }

/var/www/[Link].v2/pm2-log/[Link] last 15 lines:


2|lb_v2_40 | 2025-05-01T20:21:08: ok: 0,
2|lb_v2_40 | 2025-05-01T20:21:08: errmsg: 'Unsupported OP_QUERY command: find.
The client driver may require an upgrade. For more details see
[Link]
2|lb_v2_40 | 2025-05-01T20:21:08: code: 352,
2|lb_v2_40 | 2025-05-01T20:21:08: codeName: 'UnsupportedOpQueryCommand'
2|lb_v2_40 | 2025-05-01T20:21:08: }
2|lb_v2_40 | 2025-05-01T20:27:14: Error [MongoError]: Unsupported OP_QUERY command:
find. The client driver may require an upgrade. For more details see
[Link]
2|lb_v2_40 | 2025-05-01T20:27:14: at [Link]
(/var/www/[Link].v2/load2/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:11)
2|lb_v2_40 | 2025-05-01T20:27:14: at queryCallback
(/var/www/[Link].v2/load2/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/[Link]:36)
2|lb_v2_40 | 2025-05-01T20:27:14: at
/var/www/[Link].v2/load2/[Link]/node_modules/mongodb/
node_modules/mongodb-core/lib/connection/[Link]:18
2|lb_v2_40 | 2025-05-01T20:27:14: at processTicksAndRejections
(internal/process/task_queues.js:77:11) {
2|lb_v2_40 | 2025-05-01T20:27:14: ok: 0,
2|lb_v2_40 | 2025-05-01T20:27:14: errmsg: 'Unsupported OP_QUERY command: find.
The client driver may require an upgrade. For more details see
[Link]
2|lb_v2_40 | 2025-05-01T20:27:14: code: 352,
2|lb_v2_40 | 2025-05-01T20:27:14: codeName: 'UnsupportedOpQueryCommand'
2|lb_v2_40 | 2025-05-01T20:27:14: }

You might also like