Skip to content

Node.js binary cannot be executed #1009

Answered by winkloid
winkloid asked this question in Q&A
Discussion options

You must be logged in to vote

In the meantime I was able to found a solution for this problem: The problem was that Alpine Linux, on whose base image the Nextcloud LSIO image is based, works with musl instead of glibc. As a result, the binaries that can be downloaded from the Node.JS website by default cannot be executed and the aforementioned error is output. My solution was to put a binary on the system that can also be used under Alpine Linux with musl. The obvious solution was to use the Alpine package manager, with which I installed a compatible node.JS version: apk add nodejs. The binary can now be found under /usr/bin/node. After setting this path in my Nextcloud Admin Panel for Recognize the error is gone:

No…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SayantanRC
Comment options

Answer selected by winkloid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants