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
node-v14.9.0-linux-x64: not found #16
Comments
I am experiencing the same issue. Also with Docker. I am running this Docker-Container: https://github.com/linuxserver/docker-nextcloud (linuxserver/docker-nextcloud) |
What is your CPU architecture? |
My CPU architecture is x86-64 (Intel i9 9900) running Linux Kernel 5.10.x |
X86-64 Intel(R) Xeon(R) CPU X5550 @ 2.67GHz |
Can you run |
I can, here you go: root@nextcloud-server:/# ls -alh /config/www/nextcloud/apps/recognize/bin/
total 204M
drwxrwxr-x 1 abc abc 142 Apr 30 15:47 .
drwxrwxr-x 1 abc abc 244 Apr 30 15:47 ..
-rwxrwxr-x 1 abc abc 69M Apr 30 15:47 node-v14.9.0-linux-arm64
-rw-rw-r-- 1 abc abc 64M Apr 30 15:47 node-v14.9.0-linux-armv7l
-rwxrwxr-x 1 abc abc 71M Apr 30 15:47 node-v14.9.0-linux-x64
root@nextcloud-server:/# |
Mh, that looks all good. Does running the binary from your shell work? |
I haven't tried this until now, but apparently I can not execute it: root@nextcloud-server:/config/www/nextcloud/apps/recognize/bin# ls -la
total 207972
drwxrwxr-x 1 abc abc 142 Apr 30 15:47 .
drwxrwxr-x 1 abc abc 244 Apr 30 15:47 ..
-rwxrwxr-x 1 abc abc 72222880 Apr 30 15:47 node-v14.9.0-linux-arm64
-rw-rw-r-- 1 abc abc 67033444 Apr 30 15:47 node-v14.9.0-linux-armv7l
-rwxrwxr-x 1 abc abc 73700808 Apr 30 15:47 node-v14.9.0-linux-x64
root@nextcloud-server:/config/www/nextcloud/apps/recognize/bin# ./node-v14.9.0-linux-x64
bash: ./node-v14.9.0-linux-x64: No such file or directory
root@nextcloud-server:/config/www/nextcloud/apps/recognize/bin# Maybe the executable is corrupted?? root@nextcloud-server:/config/www/nextcloud/apps/recognize/bin# sha256sum *
5d231051649a6520c138429321c20c083f602adb085e66239debf39b51615d2c node-v14.9.0-linux-arm64
e4ff5964ebb5168371789b36955fd13b51413ffe492c4552a15aafafee3b201d node-v14.9.0-linux-armv7l
6e3e54c37801bde241e40d5b3c139b54b9637a887dbb8a64a2e860cda571d40c node-v14.9.0-linux-x64 |
My local x64 has the same checksum and I can execute it fine :/ 6e3e54c37801bde241e40d5b3c139b54b9637a887dbb8a64a2e860cda571d40c |
You may be missing some libraries, perhaps because you're running Alpine linux or something else.
Update: Maybe this helps: https://github.com/sgerrand/alpine-pkg-glibc |
That was a great tip. I have made a custom script, which installs the mentioned glibc libraries, now i can run the node executable (with some warnings i couldn't get rid of though). With the linuxserver docker container, the following script can be placed in this location to be automatically executed on startup: #!/bin/sh
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-2.33-r0.apk
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-bin-2.33-r0.apk
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-i18n-2.33-r0.apk
apk add glibc-2.33-r0.apk glibc-bin-2.33-r0.apk glibc-i18n-2.33-r0.apk
rm glibc-2.33-r0.apk glibc-bin-2.33-r0.apk glibc-i18n-2.33-r0.apk Now the node executable can run (with the mentioned warnings): root@nextcloud-server:/# cd /config/www/nextcloud/apps/recognize/bin/
root@nextcloud-server:/config/www/nextcloud/apps/recognize/bin# ./node-v14.9.0-linux-x64
./node-v14.9.0-linux-x64: /usr/lib/libstdc++.so.6: no version information available (required by ./node-v14.9.0-linux-x64)
./node-v14.9.0-linux-x64: /usr/lib/libstdc++.so.6: no version information available (required by ./node-v14.9.0-linux-x64)
./node-v14.9.0-linux-x64: /usr/lib/libstdc++.so.6: no version information available (required by ./node-v14.9.0-linux-x64)
./node-v14.9.0-linux-x64: /usr/lib/libstdc++.so.6: no version information available (required by ./node-v14.9.0-linux-x64)
./node-v14.9.0-linux-x64: /usr/lib/libstdc++.so.6: no version information available (required by ./node-v14.9.0-linux-x64)
./node-v14.9.0-linux-x64: /usr/lib/libstdc++.so.6: no version information available (required by ./node-v14.9.0-linux-x64)
./node-v14.9.0-linux-x64: /usr/lib/libstdc++.so.6: no version information available (required by ./node-v14.9.0-linux-x64)
./node-v14.9.0-linux-x64: /usr/lib/libstdc++.so.6: no version information available (required by ./node-v14.9.0-linux-x64)
Welcome to Node.js v14.9.0.
Type ".help" for more information.
>
(To exit, press ^C again or ^D or type .exit)
>
root@nextcloud-server:/config/www/nextcloud/apps/recognize/bin# I will try your plugin again and report if this issue can be closed. EDIT: I can confirm, that the plugin is working now. |
It work for me. My photos are tagged I think we can close this issue |
Now i have this message in my logs
|
I added this script and ran "occ recognize:classify" from docker console. It worked with the same version errors but then pegged both my CPUs and all ram at 100% ignoring the CPU core assignments I gave the the Nextcloud docker container. Any idea why this would be? Before script I was at 34% of 32 GBs ram usage then all 32GBs used. EDIT: I figured out I had to manually limit the cores it used with "occ recognize:classify --processors=8" |
Adding a recent observation - there is a newer 2.34 version of glibc available by sgerrand, but the supplied node version only works with 2.33. |
Hi,
I have a problem with the app. I am in a docker
My logs
However the file seems to be available
abc@923daf94994c:/$ ls /config/www/nextcloud/apps/recognize/bin/
node-v14.9.0-linux-arm64 node-v14.9.0-linux-armv7l node-v14.9.0-linux-x64
I tried to uninstall and install the app again but no result
The text was updated successfully, but these errors were encountered: