Indexing and face recognition on TrueNAS

I have installed Nextcloud and Memories on a self-hosted TrueNAS server. The app is running and I have configured it on a mobile device (for photo backup) and desktop application for folder synching.
The app is working but photo recognition is underperforming. It detects only some faces from my 43.000 photos from some random folders.
I have already checked many documentation but still haven’t found the setting what I should set to get it work.
In Recognition Administration settings I have already enabled almost everything, except WASM mode because GPU mode is turned on.

Can anyone help me with this? I’m quite new to Nextcloud.

By the way why doesn’t photo backup work when my Android device is on battery saving mode and I should always disable it to sync the new photos?