Open
Labels
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Install nextcloud 33 and nextcloud Materia IOS app 33
- Try to load files in app
Expected behaviour
Show all files in the files section of the app.
Actual behaviour
The files section stays empty, and it reports 'no files here'.
- Other apps (WebApp and Desktop apps are not having any issues).
- Reinstalling the app does not fix the issue
- Issue is specific to the Files tab; other tabs render data correctly. when I click on 'Activity' I do see all activity from the server, and I also can see some files when I click on 'Shares'. It is just the main files section that stays empty.
Logs
There are no errors in the nextcloud app log, I also cannot see any weird behaviour in the traefik reverse proxy log. I only see the issue on the app in the files tab.
This is the app log
2026-03-24 20:45:09 [DEBUG] User: user1 https://cloud.mydomain.tld
2026-03-24 20:45:09 [DEBUG] Body: <?xml version="1.0" encoding="UTF-8"?>
<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
<d:prop><d:displayname /><nc:share-download-limits /><d:getlastmodified /><d:getetag /><d:getcontenttype /><d:resourcetype /><d:quota-available-bytes /><d:quota-used-bytes /><d:getcontentlength /><permissions xmlns="http://owncloud.org/ns"/><id xmlns="http://owncloud.org/ns"/><fileid xmlns="http://owncloud.org/ns"/><size xmlns="http://owncloud.org/ns"/><favorite xmlns="http://owncloud.org/ns"/><share-types xmlns="http://owncloud.org/ns"/><owner-id xmlns="http://owncloud.org/ns"/><owner-display-name xmlns="http://owncloud.org/ns"/><comments-unread xmlns="http://owncloud.org/ns"/><checksums xmlns="http://owncloud.org/ns"/><downloadURL xmlns="http://owncloud.org/ns"/><data-fingerprint xmlns="http://owncloud.org/ns"/><creation_time xmlns="http://nextcloud.org/ns"/><upload_time xmlns="http://nextcloud.org/ns"/><is-encrypted xmlns="http://nextcloud.org/ns"/><has-preview xmlns="http://nextcloud.org/ns"/><mount-type xmlns="http://nextcloud.org/ns"/><rich-workspace xmlns="http://nextcloud.org/ns"/><note xmlns="http://nextcloud.org/ns"/><lock xmlns="http://nextcloud.org/ns"/><lock-owner xmlns="http://nextcloud.org/ns"/><lock-owner-editor xmlns="http://nextcloud.org/ns"/><lock-owner-displayname xmlns="http://nextcloud.org/ns"/><lock-owner-type xmlns="http://nextcloud.org/ns"/><lock-time xmlns="http://nextcloud.org/ns"/><lock-timeout xmlns="http://nextcloud.org/ns"/><system-tags xmlns="http://nextcloud.org/ns"/><file-metadata-size xmlns="http://nextcloud.org/ns"/><file-metadata-gps xmlns="http://nextcloud.org/ns"/><metadata-photos-exif xmlns="http://nextcloud.org/ns"/><metadata-photos-gps xmlns="http://nextcloud.org/ns"/><metadata-photos-original_date_time xmlns="http://nextcloud.org/ns"/><metadata-photos-place xmlns="http://nextcloud.org/ns"/><metadata-photos-size xmlns="http://nextcloud.org/ns"/><metadata-files-live-photo xmlns="http://nextcloud.org/ns"/><hidden xmlns="http://nextcloud.org/ns"/><share-permissions xmlns="http://open-collaboration-services.org/ns"/><share-permissions xmlns="http://open-cloud-mesh.org/ns"/> </d:prop>
</d:propfind>
2026-03-24 20:45:09 [DEBUG] User: user1 https://cloud.mydomain.tld
9:45:09 success(1983 bytes)
2026-03-24 20:45:09 [DEBUG] Network response all headers: 2026-03-24 19:45:09 [AnyHashable("Content-Length"): 837, AnyHashable("referrer-policy"): no-referrer, AnyHashable("x-request-id"): GIxcD8ApJlYGwl4x4w7Q, AnyHashable("x-debug-token"): GIxcD8ApJlYGwl4x4w7Q, AnyHashable("Date"): Tue, 24 Mar 2026 19:45:09 GMT, AnyHashable("content-security-policy"): default-src 'none';, AnyHashable("Content-Encoding"): gzip, AnyHashable("report-to"): {"group":"cf-nel","max_age":604800,"endpoints":[{"url":""}]}, AnyHashable("nel"): {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}, AnyHashable("x-xss-protection"): 1; mode=block, AnyHashable("Alt-Svc"): h3=":443"; ma=86400, AnyHashable("Content-Type"): application/xml; charset=utf-8, AnyHashable("Priority"): u=3,i, AnyHashable("cf-ray"): 9e182cb4583dbe6e-AMS, AnyHashable("server-timing"): cfExtPri, AnyHashable("x-frame-options"): DENY, AnyHashable("Vary"): Brief,Prefer, accept-encoding, AnyHashable("x-user-id"): user1, AnyHashable("Server"): cloudflare, AnyHashable("x-permitted-cross-domain-policies"): none, AnyHashable("x-powered-by"): PHP/8.4.18, AnyHashable("cf-cache-status"): DYNAMIC, AnyHashable("x-robots-tag"): noindex, nofollow, AnyHashable("Strict-Transport-Security"): max-age=15552000, AnyHashable("x-content-type-options"): nosniff, AnyHashable("dav"): 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, nc-paginate, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar]
2026-03-24 20:45:09 [DEBUG] User: user1 https://cloud.mydomain.tld
2026-03-24 20:45:09 [DEBUG] Request started: PROPFIND https://cloud.mydomain.tld/remote.php/dav/files/user1
2026-03-24 20:45:09 [DEBUG] Headers: ["X-NC-CheckInterceptor": "true", "Depth": "1", "Authorization": "Basic XXXXXXXXXXXXXXXXXXXXXX=", "Accept": "application/xml", "OCS-APIRequest": "true", "User-Agent": "Mozilla/5.0 (iOS) Nextcloud-iOS/33.0.3", "X-NC-Account": "user1 https://cloud.mydomain.tld", "Content-Type": "application/xml"]
2026-03-24 20:45:09 [DEBUG] Body: <?xml version="1.0" encoding="UTF-8"?>
<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
<d:prop><d:displayname /><nc:share-download-limits /><d:getlastmodified /><d:getetag /><d:getcontenttype /><d:resourcetype /><d:quota-available-bytes /><d:quota-used-bytes /><d:getcontentlength /><permissions xmlns="http://owncloud.org/ns"/><id xmlns="http://owncloud.org/ns"/><fileid xmlns="http://owncloud.org/ns"/><size xmlns="http://owncloud.org/ns"/><favorite xmlns="http://owncloud.org/ns"/><share-types xmlns="http://owncloud.org/ns"/><owner-id xmlns="http://owncloud.org/ns"/><owner-display-name xmlns="http://owncloud.org/ns"/><comments-unread xmlns="http://owncloud.org/ns"/><checksums xmlns="http://owncloud.org/ns"/><downloadURL xmlns="http://owncloud.org/ns"/><data-fingerprint xmlns="http://owncloud.org/ns"/><creation_time xmlns="http://nextcloud.org/ns"/><upload_time xmlns="http://nextcloud.org/ns"/><is-encrypted xmlns="http://nextcloud.org/ns"/><has-preview xmlns="http://nextcloud.org/ns"/><mount-type xmlns="http://nextcloud.org/ns"/><rich-workspace xmlns="http://nextcloud.org/ns"/><note xmlns="http://nextcloud.org/ns"/><lock xmlns="http://nextcloud.org/ns"/><lock-owner xmlns="http://nextcloud.org/ns"/><lock-owner-editor xmlns="http://nextcloud.org/ns"/><lock-owner-displayname xmlns="http://nextcloud.org/ns"/><lock-owner-type xmlns="http://nextcloud.org/ns"/><lock-time xmlns="http://nextcloud.org/ns"/><lock-timeout xmlns="http://nextcloud.org/ns"/><system-tags xmlns="http://nextcloud.org/ns"/><file-metadata-size xmlns="http://nextcloud.org/ns"/><file-metadata-gps xmlns="http://nextcloud.org/ns"/><metadata-photos-exif xmlns="http://nextcloud.org/ns"/><metadata-photos-gps xmlns="http://nextcloud.org/ns"/><metadata-photos-original_date_time xmlns="http://nextcloud.org/ns"/><metadata-photos-place xmlns="http://nextcloud.org/ns"/><metadata-photos-size xmlns="http://nextcloud.org/ns"/><metadata-files-live-photo xmlns="http://nextcloud.org/ns"/><hidden xmlns="http://nextcloud.org/ns"/><share-permissions xmlns="http://open-collaboration-services.org/ns"/><share-permissions xmlns="http://open-cloud-mesh.org/ns"/> </d:prop>
</d:propfind>
2026-03-24 20:45:09 [DEBUG] User: user1 https://cloud.mydomain.tld
2026-03-24 20:45:09 [DEBUG] Network response result: 2026-03-24 19:45:09 success(55419 bytes)
2026-03-24 20:45:09 [DEBUG] Network response all headers: 2026-03-24 19:45:09 [AnyHashable("Content-Length"): 3303, AnyHashable("referrer-policy"): no-referrer, AnyHashable("x-request-id"): XXXXXXXXXXXXXXXXX, AnyHashable("x-debug-token"): XXXXXXXXXXXXXXXXX, AnyHashable("Date"): Tue, 24 Mar 2026 19:45:09 GMT, AnyHashable("content-security-policy"): default-src 'none';, AnyHashable("Content-Encoding"): gzip, AnyHashable("report-to"): {"group":"cf-nel","max_age":604800,"endpoints":[{"url":""}]}, AnyHashable("nel"): {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}, AnyHashable("x-xss-protection"): 1; mode=block, AnyHashable("Alt-Svc"): h3=":443"; ma=86400, AnyHashable("Content-Type"): application/xml; charset=utf-8, AnyHashable("Priority"): u=3,i, AnyHashable("cf-ray"): XXXXXXXXXXXXXXXXX-AMS, AnyHashable("server-timing"): cfExtPri, AnyHashable("x-frame-options"): DENY, AnyHashable("Vary"): Brief,Prefer, accept-encoding, AnyHashable("x-user-id"): user1, AnyHashable("Server"): cloudflare, AnyHashable("x-permitted-cross-domain-policies"): none, AnyHashable("x-powered-by"): PHP/8.4.18, AnyHashable("cf-cache-status"): DYNAMIC, AnyHashable("x-robots-tag"): noindex, nofollow, AnyHashable("Strict-Transport-Security"): max-age=15552000, AnyHashable("x-content-type-options"): nosniff, AnyHashable("dav"): 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, nc-paginate, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar]
2026-03-24 20:45:12 [DEBUG] User: user1 https://cloud.mydomain.tld
9:45:12 success(1983 bytes)
2026-03-24 20:45:12 [DEBUG] Network response all headers: 2026-03-24 19:45:12 [AnyHashable("Content-Length"): 837, AnyHashable("referrer-policy"): no-referrer, AnyHashable("x-request-id"): XXXXXXXXXXXXXXXXX, AnyHashable("x-debug-token"): XXXXXXXXXXXXXXXXX, AnyHashable("Date"): Tue, 24 Mar 2026 19:45:12 GMT, AnyHashable("content-security-policy"): default-src 'none';, AnyHashable("Content-Encoding"): gzip, AnyHashable("report-to"): {"group":"cf-nel","max_age":604800,"endpoints":[{"url":""}]}, AnyHashable("nel"): {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}, AnyHashable("x-xss-protection"): 1; mode=block, AnyHashable("Alt-Svc"): h3=":443"; ma=86400, AnyHashable("Content-Type"): application/xml; charset=utf-8, AnyHashable("Priority"): u=3,i, AnyHashable("cf-ray"): XXXXXXXXXXXXXXXXX-AMS, AnyHashable("server-timing"): cfExtPri, AnyHashable("x-frame-options"): DENY, AnyHashable("Vary"): Brief,Prefer, accept-encoding, AnyHashable("x-user-id"): user1, AnyHashable("Server"): cloudflare, AnyHashable("x-permitted-cross-domain-policies"): none, AnyHashable("x-powered-by"): PHP/8.4.18, AnyHashable("cf-cache-status"): DYNAMIC, AnyHashable("x-robots-tag"): noindex, nofollow, AnyHashable("Strict-Transport-Security"): max-age=15552000, AnyHashable("x-content-type-options"): nosniff, AnyHashable("dav"): 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, nc-paginate, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar]
2026-03-24 20:45:12 [DEBUG] Network response result: 2026-03-24 19:45:12 success(55419 bytes)
2026-03-24 20:45:12 [DEBUG] User: user1 https://cloud.mydomain.tld
2026-03-24 20:45:12 [DEBUG] Network response all headers: 2026-03-24 19:45:12 [AnyHashable("Content-Length"): 3303, AnyHashable("referrer-policy"): no-referrer, AnyHashable("x-request-id"): XXXXXXXXXXXXXXXXX, AnyHashable("x-debug-token"): XXXXXXXXXXXXXXXXX, AnyHashable("Date"): Tue, 24 Mar 2026 19:45:12 GMT, AnyHashable("content-security-policy"): default-src 'none';, AnyHashable("Content-Encoding"): gzip, AnyHashable("report-to"): {"group":"cf-nel","max_age":604800,"endpoints":[{"url":""}]}, AnyHashable("nel"): {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}, AnyHashable("x-xss-protection"): 1; mode=block, AnyHashable("Alt-Svc"): h3=":443"; ma=86400, AnyHashable("Content-Type"): application/xml; charset=utf-8, AnyHashable("Priority"): u=3,i, AnyHashable("cf-ray"): XXXXXXXXXXXXXXXXX -AMS, AnyHashable("server-timing"): cfExtPri, AnyHashable("x-frame-options"): DENY, AnyHashable("Vary"): Brief,Prefer, accept-encoding, AnyHashable("x-user-id"): user1, AnyHashable("Server"): cloudflare, AnyHashable("x-permitted-cross-domain-policies"): none, AnyHashable("x-powered-by"): PHP/8.4.18, AnyHashable("cf-cache-status"): DYNAMIC, AnyHashable("x-robots-tag"): noindex, nofollow, AnyHashable("Strict-Transport-Security"): max-age=15552000, AnyHashable("x-content-type-options"): nosniff, AnyHashable("dav"): 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, nc-paginate, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar]
Reasoning or why should it be changed/implemented?
Environment data
iOS version: e.g. iOS 17.6.1
26.3.1
Nextcloud iOS app version: see More > Settings
33.0.0.7
Server operating system:
docker -> running the latest docker (33.0)
Web server: Apache,
Database:
PHP version:
Nextcloud version: see Nextcloud admin page
- installed: true
- version: 33.0.0.16
- versionstring: 33.0.0
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false
Let me know if there is any other additional log you would like to have.
Reacted by Alp Sayin, nef78 and Junk F. Actory
Activity
JMBokhorst commentedon Apr 10, 2026
Does anybody has an idea how to fix this issue? With the version I am unable to use the app on my phone.
alpsayin commentedon Apr 18, 2026
Also seeing this issue. NC31 also with NC32 but probably that's not the factor here.
The nextcloud is hosted on a subdirectory not a subdomain. E.g.
https://example.com/nextcloud.
When switching from favourites tab, some folders are shown momentarily.
Android app and web interface shows listing just fine.
IPhone 12 mini / ios 26.2.1 / liquid glass
JMBokhorst commentedon May 1, 2026
I can also create a folder, which is shown very briefly and then it dissapears (the folder is created and visible from the web-ui / desktop).
Only thing I am not sure about is this:
I see in the logs that the PROPFIND request uses Depth: 0. Shouldn't the Depth be 1 for a file list?
aporcellini commentedon Nov 2, 2026
I can reproduce this issue on two iOS devices with Nextcloud iOS 35.2.2 and Nextcloud AIO 34.0.4.
Observed behavior
Important finding: Account-specific behavior
I created a second user account (
ios-test) on the same Nextcloud server. The Files tab works correctly with this account on the same iPhone, including after repeated refreshes.Server-side diagnostics
occ files:scan --home-onlycompleted without errors.PROPFINDwithDepth: 1returns HTTP 207.The server provides the directory entries correctly, but the iOS client does not display them for the original account.
Could this be related to account-specific metadata parsing or the client's local directory database?
I can provide additional sanitized diagnostic information if needed.
alpsayin commentedon Nov 2, 2026
@aporcellini good finding thank you for that. I can confirm I can reproduce. I'm gonna let an agent loose to find the root cause.
p.s. I'm not a nextcloud developer but I am a software engineer.
alpsayin commentedon Nov 2, 2026
@aporcellini that was a good find. I* found the cause and a workaround. Thank you!
TL:DR; Check the Readme.md (or README.md / readme.md) in each top-level folder of the affected account for XML disallowed control characters. Allowed is tab
0x09and line feed0x0A. Sanitise and/or remove the corrupted files.Chain of Events:
nc:rich-workspacein its Depth1PROPFIND.Readme.md.Templates/Readme.mdwas left over from briefly enabling server-side encryption, so it contained bytes that aren't valid in XML (0x10,0x16,0x1c).207with no errors.Workaround: Replacing the templates with the stock ones fixed it for me. Sample corrupted file attached. It's marked txt but it's binary "contaminated".
Suggested fixes:
These and/or other fixes are for NC devs to decide obviously.
*Analysis performed via Claude Opus 5.5 on an NC32.
corrupted-Templates-Readme.md.txt
aporcellini commentedon Nov 2, 2026
@alpsayin
Confirmed – issue resolved on Nextcloud 34.0.4 / iOS 35.2.2! 🎉
Many thanks to @alpsayin for identifying the root cause and providing the workaround!
I can confirm that this was exactly the issue affecting my Nextcloud installation. The Files tab had been unusable on both my iPhone and iPad for a very long time.
My findings:
/Readme.md/Photos/Readme.md/Templates/Readme.mdPROPFINDrequest includingnc:rich-workspacereturned HTTP 207, but the response contained invalid XML.nc:rich-workspacereturned valid results, including all 15 root directory entries with valid file IDs and ETags.Solution:
I deleted the three affected
Readme.mdfiles from my local Nextcloud folder.Initially, nothing changed because my Ubuntu desktop synchronization client was not running.
After starting the desktop client, the deletions synchronized to the Nextcloud server.
Immediately afterward, all folders and files appeared correctly in the Nextcloud iOS app.
I have now confirmed that the fix works on both my iPhone and iPad, including repeated refreshes of the file listing.
No additional server commands, configuration changes, database repairs, or changes to encryption settings were needed to resolve the issue.
This confirms that invalid XML control characters exposed through the
nc:rich-workspaceproperty caused the empty file listing in my case.I fully support the proposed fixes:
Thanks again, @alpsayin! After struggling with this issue for such a long time, having the official Nextcloud app working again on both devices is fantastic.
Hopefully, these findings will help the developers implement a permanent fix.
alpsayin commentedon Nov 2, 2026
The real preferred solution here is probably 2-fold.
Not to allow xml-parsing failures to break folder listing on iOS side.
An error could be logged into the app's debug logs, which was empty.
The NC builtin Text App could strip out invisible and/or control characters but this depends on the output.
If XML truly disallows non-tab, non-newline characters. Then yeah and a WRN could be logged with the server side.
But if not, it's probably not the server-side's responsibility to sanitise for a specific client's need.
All that said, the purpose here is to be able to display that Readme, so I personally see no problems server-side stripping invisible characters out.
And iOS would've displayed the garbage that was sitting there for 3 years and I would've deleted/restored them sooner.
I'll raise 1 or 2 PR(s) with my thinking, but I [hf]ear AI generated PRs are a bit frowned upon these days...No PRs, this will take too much of my own time and tokens.
NC contribution guidelines is basically suggesting to me that they'd rather spend their own time and own tokens. Fine by me.
fix(workspace): replace XML-invalid characters in rich-workspace content
fix(workspace): replace XML-invalid characters in rich-workspace content
alpsayin commentedon Nov 2, 2026
Server-side issue filed as nextcloud/text#9511
From iOS app logs. First two requests: corrupted Readme served, app logs success but never syncs; third: sanitized, sync starts.
Also an indicator that iOS side failure is silent.
So my understanding is that the PROPFIND also contains the folder listing.
What iOS app can do is to try and strip out invalid characters (sanitise) and then try to parse.
Regardless of it sanitises or not, it should at the very least log the XML-parsing failure.
fix(workspace): replace XML-invalid characters in rich-workspace content
alpsayin commentedon Nov 10, 2026
Properly fixed at nextcloud/text#9590