Uploads created through a third-party SAF write stay in "Waiting to upload" with no stated reason
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 46/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
Start by tracing the upload status handling for DELAYED_FOR_WIFI in the Android app, beginning with the log entries from UploadsStorageManager and AutoUpload. Check how the upload list turns stored statuses into user visible text and how queued uploads resume when network constraints change. Done means the UI explains the Wi-Fi wait and the upload resumes, or offers a manual start, after the constraint is satisfied.
索引モデルが issue の本文から書いたものです。
説明
Steps to reproduce
- Another app creates a file through the storage access framework in a folder served by the Nextcloud app (
ACTION_CREATE_DOCUMENT+ write viaContentResolver.openOutputStream), e.g. a ~60 MB backup file. - Nextcloud creates the document on the server (0 bytes) and hands out a write handle; the writing app then writes the full content.
- Wait with the device on mobile data.
Actual behaviour
- The full content lands in the local cache file of the Nextcloud app (the file is complete and valid there).
- The upload is queued and the upload list shows
Warte auf Hochladen("Waiting to upload") for days, without any error or explanation. - The file on the server stays at 0 bytes.
- Force-stopping and restarting the app does not start the queue.
- Only logcat shows the reason:
Upload Finished | RemoteCode: DELAYED_FOR_WIFI, i.e. the upload waits for a Wi-Fi constraint. The UI never says so.
Expected behaviour
- The upload list should show that the upload waits for a network constraint, not a generic "waiting" state.
- The queue should resume by itself once the constraint is satisfied (or the user should be able to start it manually).
- A pending SAF write should not leave a 0-byte file on the server indefinitely without any visible warning in the file list.
Relevant logs
UploadsStorageManager: updateUpload returns with: 1 for file: .../noop-backup-20261116-223951.noopbak
UploadsStorageManager: Updating ... with status:UPLOAD_FAILED and result:DELAYED_FOR_WIFI
🔄📤AutoUpload: upload failed ... (DELAYED_FOR_WIFI)
SyncedFolderProvider: Updating /storage/emulated/0/Documents/NOOP-Backups with enabled=true
The same "waiting" state was visible in the upload list for eight files written this way between Nov 11 and Nov 16, while the server kept 0-byte placeholders for all of them.
Environment data
- Nextcloud Android app version: 35.0.2 (com.nextcloud.client), installed 2026-10-29
- Device: Pixel 9 Pro
- Android version: 17 (SDK 37)
- Server: Nextcloud 35.0.2.2 (AIO), self-hosted
- Network at the time: mobile data (LTE), device in the battery optimisation allow list
- 主要言語
- Kotlin
- スター
- 5.7k
- フォーク
- 2.1k
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 149
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/android のほかの issue
-
0. Needs triage enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
0. Needs triage enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nextcloud/android#18094 · リアクション 1 件 ·
メンテナーはふだん 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再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nextcloud/android#17837 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
nextcloud/android#17533 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
nextcloud/android の issue をすべて見る
似ている issue
-
accessibility agent-ready area:android bug fleet
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
level-98/mailcrane#412 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
DojoCodingLabs/hermit#23 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
signalapp/Signal-Android#15148 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信