-
Notifications
You must be signed in to change notification settings - Fork 47
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 with Recognize - fcntl64: symbol not found #1157
Comments
Hello 👋 Thank you for taking the time to open this issue with recognize. I know it's frustrating when software I look forward to working with you on this issue |
Hello @RikkiBC Thank you for the feedback and for bearing with us -- we have quite some workload at the moment on multiple fronts. This isssue seems to be related to the node binary. It seems that the binary that we install no longer works. This may be because you are on ARM64. The combination of Alpine linux (thanks to AIO) and ARM64 is somewhat problematic. If you can, you can try to open a shell inside the nextcloud container and install a proper alpine linux node.js package. In the recognize settings, you can then set the path to that binary. Edit: I see in your post above that node.js is already installed, then you only need to set the path to the working node.js binary in the recognize settings and things should work again. |
Yes, AIOs Nextcloud container includes node.js by default |
Thanks for the response @marcelklehr and @szaimen , and apologies for my own late response, I've been unexpectedly busy. Is there a simple way to find the location of the node.js included by AIO so I can link to that instead? |
try |
Hi @marcelklehr and @szaimen Apologies yet again for my tardiness. Once more, lots going on personally outside of this for me. I understand this has already been closed, but for you and anyone else who comes across this issue I thought I'd update here. I ran So it looks like it's ready to go again, which is great, thank you! Last question on this: How do I get background jobs to be scheduled to start again? I can't find anything around a command that just re-schedules the jobs, rather than starting crawling/classifying/etc from scratch. |
This is currently not possible. You'll need to start from scratch sadly. |
It is what it is 😄 I've hit the "Rescan All Files" button in the admin settings and it seems to be going without any more errors. There are some tens of thousands of photos to get through, and my server is in WASM mode... so I'll just check once or twise a day until it's done hah. Thanks again. |
Which version of recognize are you using?
7.0.3
Enabled Modes
Face recognition
TensorFlow mode
WASM mode
Downstream App
Memories App
Which Nextcloud version do you have installed?
29.0.3
Which Operating system do you have installed?
Ubuntu 22.04, running official NextcloudAIO in Docker
Which database are you running Nextcloud on?
PostrgreSQL
Which Docker container are you using to run Nextcloud? (if applicable)
No response
How much RAM does your server have?
10GB
What processor Architecture does your CPU have?
ARM64
Describe the Bug
A month ago, it looks like Recognize stopped working. I only just realised it as it's not often that I check on my recognised faces. In the admin section I saw these messages:
Please Note: It didn't originally say "Face recognition: 0 Queued files", it originally had something like 680~ queued files. It did still say 0 queued jobs though.
It also originally said that the models needed to be downloaded. Using the "
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ recognize:download-models
" command fixed that problem, however there were never any further jobs scheduled, and the error messages about "An error occurred during face recognition, please check the Nextcloud logs" was still there too.Please Also Note: There was another error message there too, originally: "There are queued files in the face recognition queue but no background job is scheduled to process them."
The following was then done in order.
1, attempted manual run of clustering
I tried to cluster faces with "
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ recognize:cluster-faces
", but of course that's not the issue - it just went through each user and let me know that there were no face detections found for them.2, checking Node
I checked Node in a few ways.
sudo docker exec --user www-data -it nextcloud-aio-nextcloud node --version
" returned "v20.13.1
"./var/www/html/custom_apps/recognize/bin/node
". I have not touched this since AIO was first set up, as, originally at least, it was fine.sudo docker exec --user www-data -it nextcloud-aio-nextcloud ls /var/www/html/custom_apps/recognize/bin/node
"./var/www/html/custom_apps/recognize/bin/node
".sudo docker exec --user www-data -it nextcloud-aio-nextcloud /var/www/html/custom_apps/recognize/bin/node --version
".Error relocating /var/www/html/custom_apps/recognize/bin/node: fcntl64: symbol not found
"3, manually running recrawl
Perhaps stupidly, I ran "
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ recognize:recrawl
" as, as far as I could tell, it was the only way to get Recognize to schedule a job again. It did... and also set me up for re-crawling aaall my old photos too. Sigh.After running recrawl, the "There are queued files in the face recognition queue but no background job is scheduled to process them." error message disappeared. Likewise, the number of jobs awaiting classification dropped to zero, before (after several minutes) climbing well into the thousands with 5 scheduled jobs.
4, manually stopping background jobs
I stopped the background jobs for now with "
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ recognize:clear-background-jobs
". It's at this point that we get to the screenshot I shared above.5, checking Nextcloud Error Logs
I couldn't see anything in the logs before this point. My logs only went back a week and it looks like the jobs stopped a while ago. But, thanks to Step 3 above, I now had some fresh logs to check.
It's the error "Classifier process output: Error relocating /var/www/html/custom_apps/recognize/bin/node: fcntl64: symbol not found" that really catches my eye.
fcntl64: symbol not found
is the same error I got when trying to check the node version at the end of Step 2 above.It's at this point I'm stuck. I hope I've provided enough info but I really don't know what the issue is or where to go from here. Searching "
fcntl64: symbol not found
" online isn't providing much assistance - my Google Fu might be weak right now, but all I'm finding are esoteric pages about stuff which looks unrelated.Please help.
Expected Behavior
Recognize continues working when it hasn't been touched (except maybe by AIO?).
To Reproduce
Not sure what caused this issue in the first place, sorry. I hope I added enough information in the Describe The Bug section, otherwise please ask for more details if needed.
Debug log
No response
The text was updated successfully, but these errors were encountered: