# Problems with Recognize and Photos apps

**URL:** <https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757>\
**Category:** ℹ️ Support\
**Tags:** postgresql, app\_api, docker, turn, aio, talk-app, nc31\
**Created:** [August 22, 2025, 10:00am UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757 "2025-08-22T10:00:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Termindiego25](https://help.nextcloud.com/user_avatar/help.nextcloud.com/termindiego25/32/62745_2.png) [@Termindiego25](https://help.nextcloud.com/u/Termindiego25)\
**Post date:** [August 22, 2025, 10:00am UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/1 "2025-08-22T10:00:15Z")

</div>

Good morning everyone! I’m having some issues with the Photos and Recognize apps, so I’d like to ask for some help.

I’m using Nextcloud-AIO v11.5.0 with Docker v28.3.2 on Debian v12 and have Nextcloud v31.0.7 installed (I think it’s the latest version available, but I try to keep it up to date).

The Photos app is v4.0.0, and Recognize is v9.0.3. I also use the Cloudflare tunnel to connect to my Nextcloud instance, but I don’t think that’s related to this (though I think it’s worth mentioning just in case).

I installed Nextcloud using the AIO Docker image and am stepping through some apps to get them working. Now it’s Photos’ turn, which seems to be working fine, but I decided to try Recognize to group my media files by people’s faces.

People’s faces are displayed in Photos \> People, but when I try to click on a face to see all related photos, nothing is displayed. It tries to load, and then the screen goes blank.

 ![image](https://help.nextcloud.com/uploads/default/original/3X/3/9/39f6479422636b4c2aea4b6fa3e079316b3a1ca2.png)  
 ![image](https://help.nextcloud.com/uploads/default/original/3X/0/a/0af40a740f0af3c726ec47c2410235aa3a8cce75.png)

How can I fix this? I can view photos and videos normally in all media, for example, but they’re not showing up in the face cluster.

I’d also like to ask how to troubleshoot an error related to Recognize and memory usage.  
When Recognize runs the Cluster Faces background job, it usually ends with the error “Cron job used more than 300 MB of RAM after executing job OCA\Recognize\BackgroundJobs\ClusterFacesJob.” While searching for the error, I tried setting the PHP\_MEMORY\_LIMIT and NEXTCLOUD\_MEMORY\_LIMIT environment variables to 2048 MB, but the error persists. Do you know what could be happening?

 ![image](https://help.nextcloud.com/uploads/default/original/3X/1/b/1b072e12bfa7ba5f32e8d58d78178f4052a78543.png)  
 ![image](https://help.nextcloud.com/uploads/default/original/3X/a/c/acd93bb2b1e2407494cefedff5f2ae670e0b8410.png)

Here’s some other information the template suggests you provide, if you need more information just ask and I’ll try to provide it:

System config:

```auto
{
    "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": " ***REMOVED SENSITIVE VALUE***",
            "password": " ***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "nextcloud.domain.com",
        "overwriteprotocol": "https",
        "passwordsalt": " ***REMOVED SENSITIVE VALUE***",
        "secret": " ***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.domain.com"
        ],
        "datadirectory": " ***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.7.1",
        "overwrite.cli.url": "https:\/\/nextcloud.domain.com\/",
        "dbname": " ***REMOVED SENSITIVE VALUE***",
        "dbhost": " ***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": " ***REMOVED SENSITIVE VALUE***",
        "dbpassword": " ***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": " ***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "updatechecker": false,
        "loglevel": 2,
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita",
            "0": "OC\\Preview\\Imaginary",
            "23": "OC\\Preview\\ImaginaryPDF"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": 30,
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "updatedirectory": "\/nc-updater",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "files_external_allow_create_new_local": true,
        "trusted_proxies": " ***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": " ***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": " ***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": {
            "1": "extract",
            "2": "printer"
        },
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": " ***REMOVED SENSITIVE VALUE***",
        "mail_domain": " ***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": true,
        "mail_smtphost": " ***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": " ***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": " ***REMOVED SENSITIVE VALUE***",
        "DOMAIN": "nextcloud.domain.com"
    }
}

```

Apps:

```auto
Enabled:
  - activity: 4.0.0
  - admin_audit: 1.21.0
  - bruteforcesettings: 4.0.0
  - camerarawpreviews: 0.8.7
  - checksum: 1.2.6
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.2.5
  - contactsinteraction: 1.12.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - deck: 1.15.2
  - epubviewer: 1.8.0
  - extract: 1.3.6
  - federatedfilesharing: 1.21.0
  - files: 2.3.1
  - files_3dmodelviewer: 0.0.15
  - files_antivirus: 6.0.3
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - forms: 5.1.2
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - metadata: 0.22.0
  - nextcloud-aio: 0.8.0
  - nextcloud_announcements: 3.0.0
  - notes: 4.12.3
  - notifications: 4.0.0
  - notify_push: 1.2.0
  - oauth2: 1.19.1
  - oidc_login: 3.2.2
  - password_policy: 3.0.0
  - photos: 4.0.0
  - printer: 0.0.5
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recognize: 9.0.3
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - richdocuments: 8.7.4
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - spreed: 21.1.3
  - support: 3.0.0
  - survey_client: 3.0.0
  - suspicious_login: 9.0.1
  - systemtags: 1.21.1
  - tasks: 0.16.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - twofactor_totp: 13.0.0-dev.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - whiteboard: 1.1.3
  - workflowengine: 2.13.0
Disabled:
  - app_api: 5.0.2 (installed 5.0.2)
  - encryption: 2.19.0
  - federation: 1.21.0 (installed 1.21.0)
  - files_downloadlimit: 4.0.0 (installed 4.0.0)
  - twofactor_nextcloud_notification: 5.0.0 (installed 5.0.0)
  - user_ldap: 1.22.0

```

---

<div class="post-metadata">

**Author:** ![Termindiego25](https://help.nextcloud.com/user_avatar/help.nextcloud.com/termindiego25/32/62745_2.png) [@Termindiego25](https://help.nextcloud.com/u/Termindiego25)\
**Post date:** [September 2, 2025, 4:43pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/2 "2025-09-02T16:43:22Z")

</div>

Hey! I’m just a little stuck on this. Could someone help me solve these issues?

---

<div class="post-metadata">

**Author:** ![AbrahamV5](https://help.nextcloud.com/letter_avatar/abrahamv5/32/6_22734026db12803ebb3e059622ac3534.png) [@AbrahamV5](https://help.nextcloud.com/u/AbrahamV5)\
**Post date:** [September 9, 2025, 1:44am UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/3 "2025-09-09T01:44:34Z")

</div>

Having the same issue.

The mantainers of the Photos App are aware of this in [https://github.com/nextcloud/photos/issues/3105](https://github.com/nextcloud/photos/issues/3105)

Some guy in the GitHub issue recomend use “memories” app instead as an alternative.

---

<div class="post-metadata">

**Author:** ![Termindiego25](https://help.nextcloud.com/user_avatar/help.nextcloud.com/termindiego25/32/62745_2.png) [@Termindiego25](https://help.nextcloud.com/u/Termindiego25)\
**Post date:** [September 9, 2025, 1:48pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/4 "2025-09-09T13:48:15Z")

</div>

Thank you for the GitHub issue. I will keep an eye on the progress.

Regarding memory errors, does anyone know how to resolve them? I increased the limit with environment variables, as shown in the screenshots, but it is still giving me errors about maximum memory exceeded

---

<div class="post-metadata">

**Author:** ![vawaver](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vawaver/32/71824_2.png) [@vawaver](https://help.nextcloud.com/u/vawaver)\
**Post date:** [September 9, 2025, 1:57pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/5 "2025-09-09T13:57:06Z")

</div>

Maybe it is offtopic but if you use Nexcloud AIO you can try increase memory limit as I have im my `docker-compose.yml` file …. here → [Testing Large File Synchronization with Nextcloud AIO and NGINX Proxy — June 2025 Update](https://help.nextcloud.com/t/testing-large-file-synchronization-with-nextcloud-aio-and-nginx-proxy-june-2025-update/226681)

```auto
    environment:
      - APACHE_PORT=11000
      - NEXTCLOUD_MEMORY_LIMIT=4096M

```

Maybe it helps.

---

<div class="post-metadata">

**Author:** ![Termindiego25](https://help.nextcloud.com/user_avatar/help.nextcloud.com/termindiego25/32/62745_2.png) [@Termindiego25](https://help.nextcloud.com/u/Termindiego25)\
**Post date:** [September 9, 2025, 2:18pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/6 "2025-09-09T14:18:39Z")

</div>

Hello @vawaver and thank you for your answer.

I have already set _ **NEXTCLOUD\_MEMORY\_LIMIT** _ to _ **2048M** _, the same as _ **PHP\_MEMORY\_LIMIT** _.  
This is wya I don’t understand the given errors, as the limit should be greater than 300MB as thrown in the error log.

These are the environment variables I’m using to try to solve some errors or warnings shown in the Logs or Overview tab:

```auto
APACHE_PORT: 11000
APACHE_IP_BINDING=0.0.0.0
APACHE_ADDITIONAL_NETWORK=""
SKIP_DOMAIN_VALIDATION: true
NEXTCLOUD_DATADIR: "/storage/nextcloud"
NEXTCLOUD_MOUNT: "/storage/" 
PHP_MEMORY_LIMIT: 2048M 
NEXTCLOUD_MEMORY_LIMIT: 2048M 
NC_default_phone_region: es
NC_default_language: es 
NC_default_locale: es_ES

```

Actually, the NC\_default\_\* are not working, as the warnings are still shown in the Overview tab

---

<div class="post-metadata">

**Author:** ![marraz](https://help.nextcloud.com/letter_avatar/marraz/32/6_22734026db12803ebb3e059622ac3534.png) [@marraz](https://help.nextcloud.com/u/marraz)\
**Post date:** [September 21, 2025, 1:21pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/7 "2025-09-21T13:21:47Z")

</div>

The error is hardcoded, so no matter the variables it will still show up, if you already increase the memory limit then you can ignore the error

---

<div class="post-metadata">

**Author:** ![marraz](https://help.nextcloud.com/letter_avatar/marraz/32/6_22734026db12803ebb3e059622ac3534.png) [@marraz](https://help.nextcloud.com/u/marraz)\
**Post date:** [September 21, 2025, 1:22pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/8 "2025-09-21T13:22:26Z")

</div>

Hi, this particular issue is not related to the memory usage, it’s a code bug in v31, I issue a fix since I was also experiencing this, but from what a see in the code, it should be fix in v32 and if my PR is approve, it will be fix for v31 too.

---

<div class="post-metadata">

**Author:** ![Termindiego25](https://help.nextcloud.com/user_avatar/help.nextcloud.com/termindiego25/32/62745_2.png) [@Termindiego25](https://help.nextcloud.com/u/Termindiego25)\
**Post date:** [September 21, 2025, 1:34pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/9 "2025-09-21T13:34:24Z")

</div>

Okay, thank you.  
I will wait until v32 to check if this still happens

---

<div class="post-metadata">

**Author:** ![pintycar](https://help.nextcloud.com/user_avatar/help.nextcloud.com/pintycar/32/55643_2.png) [@pintycar](https://help.nextcloud.com/u/pintycar)\
**Post date:** [October 7, 2025, 3:00pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/10 "2025-10-07T15:00:10Z")

</div>

Have you tried v32? I’ve updated my aio installation yesterday and I’m still seeing these errors populating the log files… ☹ Thanks in advance to anyone that is able to help

---

<div class="post-metadata">

**Author:** ![Termindiego25](https://help.nextcloud.com/user_avatar/help.nextcloud.com/termindiego25/32/62745_2.png) [@Termindiego25](https://help.nextcloud.com/u/Termindiego25)\
**Post date:** [October 7, 2025, 3:11pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/11 "2025-10-07T15:11:15Z")

</div>

Hi! I updated Nextcloud to v32, but not through AIO (since there’s no new version), so I was waiting for the official update to be released to see if this still happened.

So far, the errors are still appearing

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [January 5, 2026, 3:12pm UTC](https://help.nextcloud.com/t/problems-with-recognize-and-photos-apps/230757/12 "2026-01-05T15:12:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
