Skip to content

Navigating files/folders through other apps produces double listings or shows no content at all. #17051

@RobertZenz

Description

@RobertZenz

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Have the NextCloud app installed and configured.
  2. Navigate the cloud storage through another app, for example the builtin Files app or Material Files where it is added as External Storage.

Expected behaviour

The directories and files should be listed as expected.

Actual behaviour

Some times directory contents are listed twice, or no directory content is shown at all, even though it works correctly in the NextCloud app directly.

Android version

16

Device brand and model

Samsung Galaxy Tab S6 Lite

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

33.1.0

Nextcloud server version

32.0.9

Using a reverse proxy?

No

Android logs

Accessing a directory with no content being shown leads to the following log repeating over and over:

05-14 15:35:00.490  5730  7715 D RefreshFolderOperation: ⬇ eTag is changed or ignored, fetching folder: USERNAME@NEXTCLOUD.HOST/cloud/THAT/FOLDER/I/ACCESSED/
05-14 15:35:00.501  5730  7715 D RefreshFolderOperation: Remote folder path: /THAT/FOLDER/I/ACCESSED/ changed - starting update of local data 
05-14 15:35:00.507  5730  7715 D FileDataStorageManager: getFolderContent - start
05-14 15:35:00.518  5730  7715 D FileDataStorageManager: getFolderContent - finished
05-14 15:35:00.522  5730  7715 E RefreshFolderOperation: DecryptedMetadata for file 9910 not found!
05-14 15:35:00.522  5730  7715 D FileDataStorageManager: Saving folder /THAT/FOLDER/I/ACCESSED/ with 28 children and 0 files to remove
05-14 15:35:00.536  5730  7715 D FileDataStorageManager: Sending 29 operations to FileContentProvider
05-14 15:35:00.536  5730  7715 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@c48af7a (temporary: false)
05-14 15:35:00.549  5730  7715 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@c48af7a
05-14 15:35:00.549  5730  7715 D FileDataStorageManager: saving file: /THAT/FOLDER/I/ACCESSED/
05-14 15:35:00.561  5730  7715 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
05-14 15:35:00.561  5730  7715 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
05-14 15:35:00.566  5730  5771 D DocumentsStorageProvider: queryChildDocuments(), id=31b2fccbc99010679162a61a6520b18c/9922
05-14 15:35:00.568  5730  5771 D FileDataStorageManager: getFolderContent - start
05-14 15:35:00.572  5730  5771 D FileDataStorageManager: getFolderContent - finished
05-14 15:35:00.574  5730  7715 D DocumentsStorageProvider: run ReloadFolderDocumentTask(), id=31b2fccbc99010679162a61a6520b18c/9922
05-14 15:35:00.575  5730  7715 D RefreshFolderOperation: Checking changes in USERNAME@NEXTCLOUD.HOST/cloud/THAT/FOLDER/I/ACCESSED/
05-14 15:35:00.575  5730  7715 D OwnCloudClient #0: REQUEST PROPFIND /cloud/remote.php/dav/files/USERNAME/THAT/FOLDER/I/ACCESSED/
05-14 15:35:00.698  5730  7715 D RefreshFolderOperation: Ignoring eTag. mRemoteFolderChanged is true.
05-14 15:35:00.699  5730  7715 I RefreshFolderOperation: Checked USERNAME@NEXTCLOUD.HOST/cloud/THAT/FOLDER/I/ACCESSED/ : changed
05-14 15:35:00.700  5730  7715 D OwnCloudClient #0: REQUEST PROPFIND /cloud/remote.php/dav/files/USERNAME/THAT/FOLDER/I/ACCESSED/
05-14 15:35:00.876  5730  7715 I ReadFolderRemoteOperation: Synchronized /THAT/FOLDER/I/ACCESSED/: Operation finished with HTTP status code 207 (success)
05-14 15:35:00.876  5730  7715 D RefreshFolderOperation: ⬇ eTag is changed or ignored, fetching folder: USERNAME@NEXTCLOUD.HOST/cloud/THAT/FOLDER/I/ACCESSED/
05-14 15:35:00.887  5730  7715 D RefreshFolderOperation: Remote folder path: /THAT/FOLDER/I/ACCESSED/ changed - starting update of local data 
05-14 15:35:00.897  5730  7715 D FileDataStorageManager: getFolderContent - start
05-14 15:35:00.904  5730  7715 D FileDataStorageManager: getFolderContent - finished
05-14 15:35:00.908  5730  7715 E RefreshFolderOperation: DecryptedMetadata for file 9910 not found!
05-14 15:35:00.908  5730  7715 D FileDataStorageManager: Saving folder /THAT/FOLDER/I/ACCESSED/ with 28 children and 0 files to remove
05-14 15:35:00.918  5730  7715 D FileDataStorageManager: Sending 29 operations to FileContentProvider
05-14 15:35:00.918  5730  7715 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@c48af7a (temporary: false)
05-14 15:35:00.930 30390 30390 D BoundBrokerSvc: onRebind: Intent { act=com.google.android.gms.libs.gmscorelogger.service.START dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentDirectBootAwareApiService }
05-14 15:35:00.944  5730  7715 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@c48af7a
05-14 15:35:00.944  5730  7715 D FileDataStorageManager: saving file: /THAT/FOLDER/I/ACCESSED/
05-14 15:35:00.957  5730  7715 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
05-14 15:35:00.957  5730  7715 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
05-14 15:35:00.961  5730  5771 D DocumentsStorageProvider: queryChildDocuments(), id=31b2fccbc99010679162a61a6520b18c/9922
05-14 15:35:00.966  5730  5771 D FileDataStorageManager: getFolderContent - start
05-14 15:35:00.981  5730  5771 D FileDataStorageManager: getFolderContent - finished
05-14 15:35:00.984  5730  7715 D DocumentsStorageProvider: run ReloadFolderDocumentTask(), id=31b2fccbc99010679162a61a6520b18c/9922
05-14 15:35:00.986  5730  7715 D RefreshFolderOperation: Checking changes in USERNAME@NEXTCLOUD.HOST/cloud/THAT/FOLDER/I/ACCESSED/
05-14 15:35:00.987  5730  7715 D OwnCloudClient #0: REQUEST PROPFIND /cloud/remote.php/dav/files/USERNAME/THAT/FOLDER/I/ACCESSED/
05-14 15:35:01.141  5730  7715 D RefreshFolderOperation: Ignoring eTag. mRemoteFolderChanged is true.
05-14 15:35:01.141  5730  7715 I RefreshFolderOperation: Checked USERNAME@NEXTCLOUD.HOST/cloud/THAT/FOLDER/I/ACCESSED/ : changed
05-14 15:35:01.143  5730  7715 D OwnCloudClient #0: REQUEST PROPFIND /cloud/remote.php/dav/files/USERNAME/THAT/FOLDER/I/ACCESSED/
05-14 15:35:01.318  5730  7715 I ReadFolderRemoteOperation: Synchronized /THAT/FOLDER/I/ACCESSED/: Operation finished with HTTP status code 207 (success)
05-14 15:35:01.318  5730  7715 D RefreshFolderOperation: ⬇ eTag is changed or ignored, fetching folder: USERNAME@NEXTCLOUD.HOST/cloud/THAT/FOLDER/I/ACCESSED/
05-14 15:35:01.331  5730  7715 D RefreshFolderOperation: Remote folder path: /THAT/FOLDER/I/ACCESSED/ changed - starting update of local data 
05-14 15:35:01.337  5730  7715 D FileDataStorageManager: getFolderContent - start
05-14 15:35:01.345  5730  7715 D FileDataStorageManager: getFolderContent - finished
05-14 15:35:01.349  5730  7715 E RefreshFolderOperation: DecryptedMetadata for file 9910 not found!
05-14 15:35:01.349  5730  7715 D FileDataStorageManager: Saving folder /THAT/FOLDER/I/ACCESSED/ with 28 children and 0 files to remove
05-14 15:35:01.359  5730  7715 D FileDataStorageManager: Sending 29 operations to FileContentProvider
05-14 15:35:01.360  5730  7715 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@c48af7a (temporary: false)
05-14 15:35:01.374  5730  7715 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@c48af7a
05-14 15:35:01.374  5730  7715 D FileDataStorageManager: saving file: /THAT/FOLDER/I/ACCESSED/
05-14 15:35:01.385  5730  7715 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
05-14 15:35:01.385  5730  7715 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
05-14 15:35:01.390  5730  5771 D DocumentsStorageProvider: queryChildDocuments(), id=31b2fccbc99010679162a61a6520b18c/9922
05-14 15:35:01.392  5730  5771 D FileDataStorageManager: getFolderContent - start
05-14 15:35:01.396  5730  5771 D FileDataStorageManager: getFolderContent - finished

Server error logs

Additional information

This has started happening a month or two back, most likely with the 33 release. Directory or file size doesn't seem to matter, it appears to be rather random. Some times navigating to the directory again produces the content, some times it doesn't. Accessing the directories through the NextCloud app always works.

Android version doesn't matter, I'm seeing this on 10 and 16. Whether the server is in the LAN or WAN doesn't matter, happens on both. Third party app doesn't matter, this happens in Material Files and through the builtin Files app. This happened also on a new Android 16 installation with 33 being the first version installed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions