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

Error when recognize image #34

Closed
alexpong0630 opened this issue Jul 7, 2021 · 4 comments
Closed

Error when recognize image #34

alexpong0630 opened this issue Jul 7, 2021 · 4 comments

Comments

@alexpong0630
Copy link

alexpong0630 commented Jul 7, 2021

Hello,

I got this message after installation. My nextcloud is installed in a docker container.

Classifier process output: sh: exec: line 1: /config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64: not found

But the file exists

root@b3b5321e5ad5:/root# 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

and I try to reinstall the app use command line

root@b3b5321e5ad5:/# occ app:install recognize
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-arm64: line 1: ELF????@: not found
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-arm64: line 2: syntax error: unexpected ")"
sh: /config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64: not found
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-arm64: line 1: ELF????@: not found
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-arm64: line 2: syntax error: unexpected ")"
sh: /config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64: not found
recognize 1.4.2 installed
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-arm64: line 1: ELF????@: not found
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-arm64: line 2: syntax error: unexpected ")"
sh: /config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64: not found
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-arm64: line 1: ELF????@: not found
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-arm64: line 2: syntax error: unexpected ")"
sh: /config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64: not found
recognize enabled
@marcelklehr
Copy link
Member

Are you using an alpine linux docker image?

@alexpong0630
Copy link
Author

Yes. Is there any chance to make it work? I am looking for image classification for a long time.

@marcelklehr
Copy link
Member

Alpine linux is missing glibc by default, I recommend switching to a different container image. Alternatively, you can have a look at how others solved this: #16

@alexpong0630
Copy link
Author

Thanks. It works after installing glibc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants