Duplicate first-level folders in Nextcloud external storage when sharing files
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by comparing folder listing behavior when browsing the external storage 20tb through Android’s share flow with browsing it directly in the Nextcloud app. The report names no source files or tests, so first trace the share flow and external storage listing entry points, then check how folder entries and modification dates are loaded. Done means each first-level folder appears once and its contents load normally when sharing from either reported app.
由索引模型根据 Issue 内容生成。
描述
⚠️ 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
- Open MyPeugeot or Google Photos on an Android 16 device.
- Select a file and use Share → Nextcloud.
- Navigate to an external storage folder named
20tb. - Observe that all first-level folders are listed twice, with different modification dates.
- Open either copy. The newer one initially appears empty, but its contents become visible after waiting.
- Both copies ultimately lead to the same files and subfolders.
Expected behaviour
Each folder should appear only once. The folder contents should load normally.
Actual behaviour
When sharing a file from MyPeugeot or Google Photos to Nextcloud, all first-level folders inside the external storage 20tb appear twice, with different modification dates.
The newer entries initially appear empty, but their contents become visible after waiting. Both entries lead to the same files and subfolders.
Subfolders at deeper levels are displayed only once. When browsing directly in the Nextcloud app, there are no duplicates.
The problem is reproducible from multiple apps.
Android version
16
Device brand and model
Motorola Edge 60
Stock or custom OS?
Stock
Nextcloud android app version
35.0.1
Nextcloud server version
34.0.3
Using a reverse proxy?
Yes
Android logs
No response
Server error logs
Additional information
The issue occurs only in the external storage 20tb, not in the regular Nextcloud folders.
It is reproducible when sharing files from both MyPeugeot and Google Photos.
The duplicate entries have different modification dates but eventually display identical contents. No actual duplicate folders have been observed on the server.
Android and server logs have not been collected yet. They can be provided if needed.
- 主要语言
- Kotlin
- 星标
- 5.7k
- 派生
- 2.1k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 135
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/android 的其他 Issue
-
0. Needs triage bug
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
nextcloud/android#17845 · 2 条评论 ·
维护者通常 1 天内回复
-
[Bug] Lock owned by another client (e.g. Text app) cannot be unlocked from the app可能已有人在做 @falkloewert 于 28 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
nextcloud/android#17837 · 2 个 reaction ·
维护者通常 1 天内回复
-
0. Needs triage
难度 2/5 1-3 小时 新手友好度 84/100
nextcloud/android#17533 · 1 条评论 ·
维护者通常 1 天内回复
-
RC 34.1.0-01: Duplicated wording in creation menu — "New" prefix + creator name produces "New New document" ("Neu Neues Dokument")可能已有人在做 @ChristianTannheimer 于 118 天前认领。 未关闭0. Needs triage bug
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
查看 nextcloud/android 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
Kotlin/kotlin-lsp#309 ·
-
area:data-quality importer size:S
难度 2/5 1-3 小时 新手友好度 72/100
enorm-labs/event-junkie#5136 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
Type: Possible bug
难度 2/5 1-3 小时 新手友好度 68/100
spacecowboy/Feeder#1318 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
wangzan101/Mika#644 ·
维护者通常 1 天内回复