8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I'm experiencing something similar to issue #3895, but in Amazon Linux 2023. Here's the output from nginx logs:
App 486034 output: innerError Error: Cannot find module '../build/Debug/pty.node' App 486034 output: Require stack: App 486034 output: - /var/www/ood/apps/sys/shell/node_modules/node-pty/lib/unixTerminal.js App 486034 output: - /var/www/ood/apps/sys/shell/node_modules/node-pty/lib/index.js App 486034 output: - /var/www/ood/apps/sys/shell/app.js App 486034 output: - /opt/ood/ondemand/root/usr/share/passenger/helper-scripts/node-loader.js App 486034 output: at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) App 486034 output: at Module._load (node:internal/modules/cjs/loader:1043:27) App 486034 output: at Module.require (node:internal/modules/cjs/loader:1298:19) App 486034 output: at Module.require (/opt/ood/ondemand/root/usr/share/passenger/helper-scripts/node-loader.js:80:25) App 486034 output: at require (node:internal/modules/helpers:182:18) App 486034 output: at Object.<anonymous> (/var/www/ood/apps/sys/shell/node_modules/node-pty/lib/unixTerminal.js:34:15) App 486034 output: at Module._compile (node:internal/modules/cjs/loader:1529:14) App 486034 output: at Module._extensions..js (node:internal/modules/cjs/loader:1613:10) App 486034 output: at Module.load (node:internal/modules/cjs/loader:1275:32) App 486034 output: at Module._load (node:internal/modules/cjs/loader:1096:12) { App 486034 output: code: 'MODULE_NOT_FOUND', App 486034 output: requireStack: [ App 486034 output: '/var/www/ood/apps/sys/shell/node_modules/node-pty/lib/unixTerminal.js', App 486034 output: '/var/www/ood/apps/sys/shell/node_modules/node-pty/lib/index.js', App 486034 output: '/var/www/ood/apps/sys/shell/app.js', App 486034 output: '/opt/ood/ondemand/root/usr/share/passenger/helper-scripts/node-loader.js' App 486034 output: ] App 486034 output: } App 486034 output: /var/www/ood/apps/sys/shell/node_modules/node-pty/lib/unixTerminal.js:40 App 486034 output: throw outerError; App 486034 output: ^ App 486034 output: App 486034 output: Error: /var/www/ood/apps/sys/shell/node_modules/node-pty/build/Release/pty.node: undefined symbol: _ZN2v88internal20CanHaveInternalFieldEi App 486034 output: at Module._extensions..node (node:internal/modules/cjs/loader:1651:18) App 486034 output: at Module.load (node:internal/modules/cjs/loader:1275:32) App 486034 output: at Module._load (node:internal/modules/cjs/loader:1096:12) App 486034 output: at Module.require (node:internal/modules/cjs/loader:1298:19) App 486034 output: at Module.require (/opt/ood/ondemand/root/usr/share/passenger/helper-scripts/node-loader.js:80:25) App 486034 output: at require (node:internal/modules/helpers:182:18) App 486034 output: at Object.<anonymous> (/var/www/ood/apps/sys/shell/node_modules/node-pty/lib/unixTerminal.js:29:11) App 486034 output: at Module._compile (node:internal/modules/cjs/loader:1529:14) App 486034 output: at Module._extensions..js (node:internal/modules/cjs/loader:1613:10) App 486034 output: at Module.load (node:internal/modules/cjs/loader:1275:32) { App 486034 output: code: 'ERR_DLOPEN_FAILED' App 486034 output: } App 486034 output: App 486034 output: Node.js v20.19.1 [ E 2025-06-04 20:21:24.7788 481707/T1f age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /var/www/ood/apps/sys/shell: The application process exited prematurely. Error ID: 06bb81d4 Error details saved to: /tmp/passenger-error-J7yd2s.html [ E 2025-06-04 20:21:24.7819 481707/Tf age/Cor/Con/CheckoutSession.cpp:282 ]: [Client 4-4] Cannot checkout session because a spawning error occurred. The identifier of the error is 06bb81d4. Please see earlier logs for details about the error.
We're installing from https://yum.osc.edu/ondemand/4.0/ondemand-release-web-4.0-1.amzn2023.noarch.rpm
I'm not seeing an obvious error in the dfn.rpm.log file, but I can provide it if need be (too long to paste in directly).
dfn.rpm.log
The text was updated successfully, but these errors were encountered:
Same issue as this discourse topic:
https://discourse.openondemand.org/t/error-launching-shell-in-4-0-3/4255/3
I believe it's because you have node 20 installed, when we built against node 18. @treydock I wonder if we need to cap the node version?
Sorry, something went wrong.
Oh, okay. I'm using the AWS samples repo of OOD in AWS parallel cluster that Doug wrote, so I'll follow up with him on specifics for a fix. Thanks!
I think if you just install nodejs 18 instead of nodejs 20 it should start working.
Yep, that did it. Specifically, in our OOD installation script, adding these lines after the OOD install should do the trick:
# Fix for node-pty module compatibility issues dnf install gcc-c++ make nodejs-devel -y -q cd /var/www/ood/apps/sys/shell npm rebuild node-pty cd -
This is from https://github.com/aws-samples/open-on-demand-on-aws/blob/main/scripts/install_ood.sh#L17-L21
No branches or pull requests
I'm experiencing something similar to issue #3895, but in Amazon Linux 2023. Here's the output from nginx logs:
We're installing from https://yum.osc.edu/ondemand/4.0/ondemand-release-web-4.0-1.amzn2023.noarch.rpm
I'm not seeing an obvious error in the
dfn.rpm.log
file, but I can provide it if need be (too long to paste in directly).The text was updated successfully, but these errors were encountered: