Comments (18)
@isaacolsen94 see #16
from recognize.
I can paste the entire output of the command if that will help?
No need, the weird thing is that it can execute occ
command and not node binary.. But I guess it just needs to be able to execute php for that.
There wouldn't be some execution protection or something on your volume/config/something? Maybe you should ask Unraid community (or wait to see if someone here might be able to help more)
from recognize.
from recognize.
Also running 22.1.0 and I'm having issues. A new install however so I can't say if it was working before. But support for the latest install would be awesome! Thank you!
from recognize.
It's already been changed in a previous commit, it will be ok when the new release will be ready (hopefully soon!).
Meanwhile latest package should still work if you install it manually, but doesn't it just appear as "untested apps" in Apps list anyway?
from recognize.
I'm new to Nextcloud so I just did a brand new install of version 22.1.0 and installed Recognize. From the settings page it tells me I have 0 of 0 pictures ready to go. I ran the command manually and I get this error:
Running array (
0 => '/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64',
1 => '/config/www/nextcloud/apps/recognize/src/classifier.js',
2 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.34.jpg',
3 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.35.jpg',
4 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.36.jpg',
5 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.37.jpg',
6 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.38.jpg',
7 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.42.jpg',
8 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.43.jpg',
9 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-16 20.48.54-1.jpg',
10 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-16 20.48.54.jpg',
11 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-16 20.48.57-1.jpg',
12 => '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-16 20.48.57.jpg',
)
Classifier process output: sh: exec: line 1: /config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64: not found
Classifier process output: sh: exec: line 1: /config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64: not found
I assumed it was because of 22.1.0 incompatibility, is it actually something else?
from recognize.
@isaacolsen94 Weird, but it seems to be unrelated to NC 22.
Could you try running the nodejs command yourself?
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64 '/config/www/nextcloud/apps/recognize/src/classifier.js' '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.34.jpg'
from recognize.
@isaacolsen94 Weird, but it seems to be unrelated to NC 22.
Could you try running the nodejs command yourself?
/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64 '/config/www/nextcloud/apps/recognize/src/classifier.js' '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.34.jpg'
How would one do this? Sorry not very familiar with nodejs
from recognize.
How would one do this? Sorry not very familiar with nodejs
@isaacolsen94 I mean, just execute it, this is the command, nodejs binary is the first part (/config/www/nextcloud/apps/recognize/bin/node-v14.9.0-linux-x64
)
If it exists I don't see why you'd have this error
from recognize.
I thought it might be a permissions error so changed node-v14* to 777 and still unable to find it
from recognize.
@isaacolsen94 you forgot the ./
in ./node-v14.9.0-linux-x64
needed when executing executable in current folder (your server is not on Windows, I hope 😄 )
From there the full command would be : ./node-v14.9.0-linux-x64 '/config/www/nextcloud/apps/recognize/src/classifier.js' '/data/iolsen/files/Photos/Isaacs Phone - Test/2020-04-13 08.19.34.jpg'
from recognize.
I thought it might be a permissions error so changed node-v14* to 777 and still unable to find it
from recognize.
Hm I'm lost haha.
What OS is your server running on?
Yeah I thought about permissions, but you should have a permission error then... Plus right now you're testing as root
EDIT : Maybe try running it as user abc
anyway (sudo -u abc
), it guess that's your webserver's user right? occ
command should also be run from this user
from recognize.
I'm running Unraid 6.9.2. And my user inside Nextcloud is 'iolsen' but I tried both and got this:
from recognize.
Unfortunately I don't know much about Unraid, are you executing it from nextcloud docker's console right now?
from recognize.
Unfortunately I don't know much about Unraid, are you executing it from nextcloud docker's console right now?
Yes I am. When I run 'occ recognize:classify' it runs fine, just can't seem to see that file. I can paste the entire output of the command if that will help?
from recognize.
@KruyKaze sorry we kinda hijacked your thread ;)
Does my first message answer to your problem or you have another issue?
from recognize.
v22 support is fixed in master, next release will support v22.
from recognize.
Related Issues (20)
- Clicking on recognized image does not thow full size image HOT 3
- Check for Tensorflow requirements failing wrongly? HOT 4
- Node.js after "One Click Installation" missing HOT 4
- Nextcloud Photos stucks when displaying photos containing recognised face HOT 2
- Assigning unknown face causes high CPU usage HOT 3
- Cannot upgrade to 6.1.1 HOT 2
- An error occurred during the request. Unable to proceed. Could not update app. 6.1.1 HOT 4
- Error loading models HOT 3
- Cannot view pictures, stuck with waiting screen HOT 6
- Error: Cannot find module 'fs/promises' HOT 3
- Prevent shared pictures from being recognized once by user HOT 6
- Support External Storage HOT 7
- Recognize results are lost when transferring files to other user HOT 21
- Recognize does not obey ignore files for external storage HOT 7
- Adjust "Platform" check for native TensorFlow support on Nextcloud Snap HOT 3
- JVM background processes cause server crashes HOT 2
- Movinet fails in GPU mode HOT 2
- Stuck at "Checking libtensorflow" in WASM mode HOT 7
- Add a way for user to judge: "This is not a person" HOT 4
- Error loading shared library ld-linux-x86-64.so.2: No such file or directory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recognize.