App shows duplicate root folders

Actual behaviour

  • Duplicate folders appear at root level in the app.

Expected behaviour

  • These folders should not be there

Additional information

The duplicate folders does not provide errors when entering them, but they are empty, whereas the real folders are not.

Steps to reproduce

  1. Unknown. This suddenly happened

Can this problem be reproduced with the official owncloud server?
Probably, but as I haven’t found a pattern I don’t know how.

Environment data

Android version: 15

Device model: Pixel 6 Pro

Stock or customized system: Stock

ownCloud app version: 4.5.1 (43b85792e)

ownCloud server version: 10.15.2 (owncloud/server on Docker)

Logs

Web server error log

This is what happens during a manual refresh in the app:

72.16.6.3 - - [16/Jun/2025:07:14:29 +0000] "GET /graph/v1.0/me/drives HTTP/1.1" 302 988 "-" "Mozilla/5.0 (Android) ownCloud-android/4.5.1"
172.16.6.3 - - [16/Jun/2025:07:14:29 +0000] "GET /apps/files/ HTTP/1.1" 200 37068 "-" "Mozilla/5.0 (Android) ownCloud-android/4.5.1"
172.16.6.3 - - [16/Jun/2025:07:14:29 +0000] "PROPFIND /remote.php/dav/files/myself/ HTTP/1.1" 207 3713 "-" "Mozilla/5.0 (Android) ownCloud-android/4.5.1"
172.16.6.3 - - [16/Jun/2025:07:14:29 +0000] "GET /graph/v1.0/me/drives HTTP/1.1" 302 988 "-" "Mozilla/5.0 (Android) ownCloud-android/4.5.1"
172.16.6.3 - - [16/Jun/2025:07:14:30 +0000] "GET /apps/files/ HTTP/1.1" 200 37066 "-" "Mozilla/5.0 (Android) ownCloud-android/4.5.1"

ownCloud log (data/owncloud.log)

I turned on logging everything, and the log became too big to post here. There were no errors.

Screenshot

EDIT:

I tested creating a new folder in the web interface and then refreshing the app.
This folder was only listed once.

I also cleared the “storage” and “cache” for the app (and had to sign in again) and now the folders are only listed once.

Even though the issue is fixed for now, I would still say there is an issue to resolve as I don’t know when this will happen again or the use case in which it happens.

@TheHvidsten thanks for reporting… it looks really weird, we will put an eye there. i never saw the issue, but, in case you reproduce it again, logs with http requests and responses could help to debug, where the problem is (log options in the settings view of the app).

Happy you fixed it by yourself.