I had the problem that the Recognize app was working a bit sluggish with the mixed approach of having buttons in the app administration and the instructions with occ commands. None of it was working well, and also not the combination of it.
I had it up and running once, the it somehow got stuck and did not recognize new faces. So i decided to âresetâ the app, remove all existing faces and clusters and start from scratch. This did not work at all. I ended up with a Recognize app that only recognized new photos and only added the new faces to the clusters. The old photos, around 130k, were not recognized anymore, not even after waiting a few weeks.
So I made a backup of all database tables with âoc_recognize_â, then truncated those and started all over. Also this did not work. But i found some recognize entries in the âocc_appconfigâ table of nextcloud itself with already filled in values for âclusterFaces.lastRunâ, âfaces.lastFileâ, âImagenet.lastFileâ, âmovienet.lastFileâ, âmusicnn.lastFileâ, landmarks.lastFile" and set them all to zero (0).
It seems that Recognize âremembersâ forever in the âoc_appconfigâ table where it last stopped and what it recognized already, making it impossible with app buttons or occ commands to start all over, since it clearly just continues with the newly uploaded pictures. In other words: there is NO (easy available) hard reset!
Once I tuncated all âoc_recognize*â tables and ADDITIONALLY deleted the last run Files from âoc_appconfigâ, Recognize finally started all over again and now (after 4 days!) has all the files to recognize in place and shows faces from old photos again.
This app might needs some serious overhaul and some better explanation parts, in my opinion
ps: If you try this, please make a backup of your existing database tables and values first! Good luck!
I feel your pain. I went down that same rabbit hole in 2024 and eventually realized that the occ recognize:reset commands often fail because the underlying integration is just too fragile for large libraries.
The technical debt of Recognize is significant: staying stuck on CUDA 11.8 in 2026 is a major security risk and a performance killer for anyone with modern hardware. In my experience, Nextcloud is an amazing all-in-one platform, but they simply donât have the manpower to keep their AI and media branch on the same cutting-edge level as specialized apps. Immich, on the other hand, focuses almost exclusively on media and AI, which shows in the results.
My Hybrid Strategy: I stopped trying to force Nextcloud to do the heavy AI lifting. Instead, I use a hybrid setup: Nextcloud for file sync and storage, and Immich for the media viewing and recognition. Since Immich focuses only on this part, itâs years ahead in terms of speed and accuracy.
Key results from my benchmarks:
Performance: 49h vs 296h processing time for ~110k images.
Accuracy: 99.8% detection rate and support for faces in videos (which Recognize still lacks).
Modern Stack: Full support for current CUDA versions and OCR.
I wrote a detailed guide on how to mount your Nextcloud data into Immich so you donât have to move your files, but you get a world-class AI experience: