Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, problem with drakobot egg #4

Open
SMarc1 opened this issue Mar 11, 2025 · 3 comments
Open

Hello, problem with drakobot egg #4

SMarc1 opened this issue Mar 11, 2025 · 3 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@SMarc1
Copy link

SMarc1 commented Mar 11, 2025

drakobot bot uses nodejs 18.20, when the egg uses v22.14.0

Having version 22.14.0, it does not let the bot start.

@gOOvER
Copy link
Contributor

gOOvER commented Mar 11, 2025

Not an egg issue. bot works fine before the Update.

@gOOvER gOOvER closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2025
@SMarc1
Copy link
Author

SMarc1 commented Mar 11, 2025


NodeJS & MongoDB Image by gOOvER - https://discord.goover.dev

Running on: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Current timezone: Etc/UTC

NodeJS Version: v22.14.0
npm Version: 11.2.0
MongoDB Version: db version v7.0.17
Build Info: {
"version": "7.0.17",
"gitVersion": "f099987179b0e9919aa2fcba25afe48f35e53ae9",
"openSSLVersion": "OpenSSL 3.0.2 15 Mar 2022",
"modules": [],
"allocator": "tcmalloc",
"environment": {
"distmod": "ubuntu2204",
"distarch": "x86_64",
"target_arch": "x86_64"
}
}

:/home/container if [[ ! -z ${NODE_PACKAGES} ]]; then npm install ${NODE_PACKAGES}; fi; if [ -f /home/container/package.json ]; then npm install; fi; node /home/container/${JS_FILE}

starting MongoDB...

about to fork child process, waiting until server is ready for connections.
forked process: 34
child process started successfully, parent exiting
Connection to 127.0.0.1 27017 port [tcp/*] succeeded!

starting Bot...

npm error code ENOTEMPTY
npm error syscall rename
npm error path /home/container/node_modules/ffmpeg-static
npm error dest /home/container/node_modules/.ffmpeg-static-i8Eb2Whz
npm error errno -39
npm error ENOTEMPTY: directory not empty, rename '/home/container/node_modules/ffmpeg-static' -> '/home/container/node_modules/.ffmpeg-static-i8Eb2Whz'
npm error A complete log of this run can be found in: /home/container/.npm/_logs/2025-03-11T12_44_29_877Z-debug-0.log
npm error code ENOTEMPTY
npm error syscall rename
npm error path /home/container/node_modules/ffmpeg-static
npm error dest /home/container/node_modules/.ffmpeg-static-i8Eb2Whz
npm error errno -39
npm error ENOTEMPTY: directory not empty, rename '/home/container/node_modules/ffmpeg-static' -> '/home/container/node_modules/.ffmpeg-static-i8Eb2Whz'
npm error A complete log of this run can be found in: /home/container/.npm/_logs/2025-03-11T12_44_30_454Z-debug-0.log
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module 'js-yaml'
Require stack:

  • /home/container/utils/dashboardEnv.js
  • /home/container/index.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
    at Function._load (node:internal/modules/cjs/loader:1055:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1311:12)
    at require (node:internal/modules/helpers:136:16)
    at Object. (/home/container/utils/dashboardEnv.js:3:14)
    at Module._compile (node:internal/modules/cjs/loader:1554:14)
    at Object..js (node:internal/modules/cjs/loader:1706:10)
    at Module.load (node:internal/modules/cjs/loader:1289:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/container/utils/dashboardEnv.js',
    '/home/container/index.js'
    ]
    }
    Node.js v22.14.0
    {"t":{"$date":"2025-03-11T06:44:30.950-06:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
    {"t":{"$date":"2025-03-11T06:44:30.951-06:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}}
    {"t":{"$date":"2025-03-11T06:44:30.951-06:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
    {"t":{"$date":"2025-03-11T06:44:30.952-06:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
    {"t":{"$date":"2025-03-11T06:44:30.952-06:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
    There doesn't seem to be a server running with dbpath: /data/db
    system@satipohosting~ Server marked as offline...
    [SatipoHosting System]: ---------- Detected server process in a crashed state! ----------
    [SatipoHosting System]: Exit code: 1
    [SatipoHosting System]: Out of memory: false
    [SatipoHosting System]: Aborting automatic restart, last crash occurred less than 60 seconds ago.

@gOOvER
Copy link
Contributor

gOOvER commented Mar 11, 2025

delete node_modules and restart bot

@gOOvER gOOvER reopened this Mar 11, 2025
@gOOvER gOOvER self-assigned this Mar 11, 2025
@gOOvER gOOvER added the wontfix This will not be worked on label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants