recognize rights problem

Hello,

Nextcloud version : 31.0.2
Talk Server version : - not sure if I have it Custom Signaling server configured: - not sure if I have it
Custom TURN server configured: - not sure if I have it Custom STUN server configured: - not sure if I have it

The issue you are facing:
since the begining I installed recognize I have had issues not working at all.
I desistalled and installed it several times.
I thought it was due I used a RPI4 4GB and I installed a RPI4- 8GB without luck.

Environment is:

  • RPI4 with 8GB
  • OS: OMV 7.7.1-3, Linux kernel 6.6.74
  • Nextcloud in a container

Compose file:

  services:
    nextcloud:
      image: lscr.io/linuxserver/nextcloud:latest
      container_name: nextcloud
      environment:
        - PUID=1001
        - PGID=100
        - TZ=Europe/Madrid
      volumes:
        - /mnt/containers/data/nextcloud/appdata:/config # BACKUP
        - /srv/dev-disk-by-uuid-8ca1af93-fefd-403c-9533-997d0060322f/containers/nextcloud/data:/data # BACKUP
        - /mnt/containers/data/nextcloud/custom_apps:/custom_apps # BACKUP
        - type: tmpfs # SKIP_BACKUP
          target: /tmp:exec # SKIP_BACKUP
      ports:
        - 180:80
        - 1443:443
      restart: unless-stopped

Nextcloud works OK and I have access to files without any issue.

Is this the first time you’ve seen this error? since begining

The output of your Nextcloud log:

[core] Error: Error while running background job OCA\Recognize\BackgroundJobs\ClassifyFacesJob (id: 15773, arguments: {"storageId":3,"rootId":133})
	from ? by ? at 21 mar 2025, 9:35:12
[recognize] Warning: Problem with faces classifier
	from ? by ? at 21 mar 2025, 9:35:12
[recognize] Warning: Classifier process output: nice: ‘/config/www/nextcloud/apps/recognize/node_modules/yaml/dist/nodes’: Permission denied
	from ? by ? at 21 mar 2025, 9:35:12

From container console I see:

root@2ff8d7ce8a3b:/config/www/nextcloud/apps/recognize/node_modules/yaml/dist/nodes# ls -la
total 96
drwxr-xr-x 2 abc abc 4096 Mar 21 16:21 .
drwxr-sr-x 8 abc abc 4096 Feb 26 10:31 ..
-rw-r--r-- 1 abc abc 1046 Feb 26 10:31 Alias.d.ts
-rw-r--r-- 1 abc abc 3419 Feb 26 10:31 Alias.js
-rw-r--r-- 1 abc abc 2921 Feb 26 10:31 Collection.d.ts
-rw-r--r-- 1 abc abc 5221 Feb 26 10:31 Collection.js
-rw-r--r-- 1 abc abc 2299 Feb 26 10:31 Node.d.ts
-rw-r--r-- 1 abc abc 1382 Feb 26 10:31 Node.js
-rw-r--r-- 1 abc abc 1273 Feb 26 10:31 Pair.d.ts
-rw-r--r-- 1 abc abc 1232 Feb 26 10:31 Pair.js
-rw-r--r-- 1 abc abc 1663 Feb 26 10:31 Scalar.d.ts
-rw-r--r-- 1 abc abc  759 Feb 26 10:31 Scalar.js
-rw-r--r-- 1 abc abc 2411 Feb 26 10:31 YAMLMap.d.ts
-rw-r--r-- 1 abc abc 5105 Feb 26 10:31 YAMLMap.js
-rw-r--r-- 1 abc abc 2532 Feb 26 10:31 YAMLSeq.d.ts
-rw-r--r-- 1 abc abc 3667 Feb 26 10:31 YAMLSeq.js
-rw-r--r-- 1 abc abc  240 Feb 26 10:31 addPairToJSMap.d.ts
-rw-r--r-- 1 abc abc 3947 Feb 26 10:31 addPairToJSMap.js
-rw-r--r-- 1 abc abc 1400 Feb 26 10:31 identity.d.ts
-rw-r--r-- 1 abc abc 1794 Feb 26 10:31 identity.js
-rw-r--r-- 1 abc abc  879 Feb 26 10:31 toJS.d.ts
-rw-r--r-- 1 abc abc 1292 Feb 26 10:31 toJS.js
root@2ff8d7ce8a3b:/config/www/nextcloud/apps/recognize/node_modules/yaml/dist/nodes#

At recognize administration GUI:

## Status

The machine learning models have been downloaded successfully.

Could not execute the Node.js binary. You may need to set the path to a working binary manually.

## Face recognition

An error occurred during face recognition, please check the Nextcloud logs.

Face recognition: 11515 Queued files, Last classification: never, Scheduled background jobs: 0,

There are queued files in the face recognition queue but no background job is scheduled to process them.

Face clustering: 0 faces left to cluster, Last clustering run: 1/1/1970, Scheduled background jobs: 0,
<small>A minimum of 120 faces per user is necessary for clustering to kick in</small>

I am a rookie in nextcloud and I do not know what and where to check.

I appreciate any help

BR