iOS Issues (Hang) - Specific Folder - Files App integration

The title is relatively descriptive… to expand:

I’m accessing my Nextcloud instance via iOS (and iPadOS). Things work fine with the Nextcloud iOS app. However, with the iOS “Files App integration”, one particular folder won’t open. I get a throbber and nothing else.

I won’t bore everyone with the steps that I took to try to diagnose this, as in the end I have a workaround and possibly an explanation: counting the number of items in this particular directory, I noticed that there were more (104) in the problem directory than any of the other top-level directories in my Nextcloud. So, I threw several things out and consolidated down to 93 items (this includes both files and subdirectories, and counted from the shell, so includes . and .., you know).

That got around the problem. The Files App integration (and the two apps that I have that depend on it) now work normally. So, perhaps this is a problem report, and I’m happy to file one formally, though I’m not where where? I’m primarily reporting should anyone else run into this or have any insight.

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.7
  • Operating system and version (e.g., Ubuntu 24.04):
    • docker.io/library/nextcloud:stable id e777442ea4d1
  • Web server and version (e.g, Apache 2.4.25):
    • n/a (Container)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • n/a
  • PHP version (e.g, 8.3):
    • n/a
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Within last 3 days
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Podman, RHEL 9
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

iOS/iPadOS apps using Files App integration hang attempting to open/display contents of directory (Folder) with more than some number (93<n<104) of entries in that directory (at user’s root level).

Steps to replicate it (hint: details matter!):

  1. Increase entries in directory until threshold is reached.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

no relevant data

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

n/a

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

03e609d4787c 2601:0::ad - kmp [04/Aug/2025:20:18:16 +0000] "PROPFIND /remote.php/dav/files/kmp/Documentation HTTP/1.1" 207 5028 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/7.0.6"

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "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
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "home.kmpeterson.net"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.7.1",
        "overwrite.cli.url": "https:\/\/home.kmpeterson.net",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "maintenance": false,
        "loglevel": 1,
        "theme": "",
        "trashbin_retention_obligation": "auto,90",
        "maintenance_window_start": 1,
        "upgrade.disable-web": true
    }
}

Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 4.0.0
  - admin_audit: 1.21.0
  - app_api: 5.0.2
  - bruteforcesettings: 4.0.0
  - calendar: 5.3.6
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.2.0
  - contactsinteraction: 1.12.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - 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
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - mail: 5.1.8
  - nextcloud_announcements: 3.0.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - photos: 4.0.0
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - spreed: 21.1.1
  - support: 3.0.0
  - survey_client: 3.0.0
  - systemtags: 1.21.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0
Disabled:
  - encryption: 2.19.0
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - richdocuments: 8.6.5 (installed 8.6.5)
  - richdocumentscode: 24.4.1303 (installed 24.4.1303)
  - suspicious_login: 9.0.1
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - user_ldap: 1.22.0

Client Information

Nextcloud for iOS/iPadOS 7.0.6
iPadOS 18.6, device iPad Pro 11-inch (M4)

And

Thanks for your help!

The bug tracker is here: GitHub · Where software is built

So, if anyone can confirm this, this would be a nice bug report.
<93 elements in the users root folder, everything is ok,

104 elements, the file app integration (like when you save from a different app to Nextcloud)

Thanks, opened 3654!

Opened this issue in Github.

Today I discovered that it has been fixed (though no commits referenced the bug). Working now in app version 7.1.1+ and/or iPadOS 18.6.2.

Thanks again for the help!