Skip to content

App not uploading all images #14365

Open
Open

Description

@saltolenin

Cause of error

Exception in thread "main" android.content.res.Resources$NotFoundException: Resource ID #0x7f0a0420 type #0x12 is not valid
    at android.content.res.Resources.loadXmlResourceParser(Resources.java:2535)
    at android.content.res.Resources.getLayout(Resources.java:1335)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:536)
    at androidx.appcompat.app.AlertController.setupCustomContent(AlertController.java:644)
    at androidx.appcompat.app.AlertController.setupView(AlertController.java:475)
    at androidx.appcompat.app.AlertController.installContent(AlertController.java:233)
    at androidx.appcompat.app.AlertDialog.onCreate(AlertDialog.java:278)
    at android.app.Dialog.dispatchOnCreate(Dialog.java:810)
    at android.app.Dialog.show(Dialog.java:453)
    at com.owncloud.android.ui.activity.SyncedFoldersActivity.showPowerCheckDialog(SyncedFoldersActivity.kt:234)
    at com.owncloud.android.ui.activity.SyncedFoldersActivity.onDisablePowerSaveCheckClicked(SyncedFoldersActivity.kt:218)
    at com.owncloud.android.ui.activity.SyncedFoldersActivity.onCreateOptionsMenu$lambda$1(SyncedFoldersActivity.kt:211)
    at com.owncloud.android.ui.activity.SyncedFoldersActivity.$r8$lambda$q58-_n5tvnvo7t7SwBQVBpaIAdU(Unknown Source:0)
    at com.owncloud.android.ui.activity.SyncedFoldersActivity$$ExternalSyntheticLambda4.onMenuItemClick(D8$$SyntheticClass:0)
    at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:153)
    at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:984)
    at androidx.appcompat.view.menu.MenuPopup.onItemClick(MenuPopup.java:128)
    at android.widget.AdapterView.performItemClick(AdapterView.java:376)
    at android.widget.AbsListView.performItemClick(AbsListView.java:1282)
    at android.widget.AbsListView$PerformClick.run(AbsListView.java:3528)
    at android.widget.AbsListView.onTouchUp(AbsListView.java:4708)
    at android.widget.AbsListView.onTouchEvent(AbsListView.java:4423)
    at android.widget.ListView.onTouchEvent(ListView.java:1709)
    at androidx.appcompat.widget.DropDownListView.onTouchEvent(DropDownListView.java:230)
    at androidx.appcompat.widget.MenuPopupWindow$MenuDropDownListView.onTouchEvent(MenuPopupWindow.java:138)
    at android.view.View.dispatchTouchEvent(View.java:15076)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3917)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3581)
    at android.widget.AbsListView.dispatchTouchEvent(AbsListView.java:10706)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3923)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3597)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3923)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3597)
    at android.widget.PopupWindow$PopupDecorView.dispatchTouchEvent(PopupWindow.java:2947)
    at android.view.View.dispatchPointerEvent(View.java:15335)
    at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:7815)
    at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:7588)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6922)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6979)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6945)
    at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:7143)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6953)
    at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:7200)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6926)
    at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6979)
    at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6945)
    at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6953)
    at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6926)
    at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:10400)
    at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:10248)
    at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:10204)
    at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:10532)
    at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:259)
    at android.os.MessageQueue.nativePollOnce(Native Method)
    at android.os.MessageQueue.next(MessageQueue.java:335)
    at android.os.Looper.loopOnce(Looper.java:186)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8669)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

App information

  • ID: com.nextcloud.client
  • Version: 30300690
  • Build flavor: gplay

Device information

  • Brand: samsung
  • Device: a21s
  • Model: SM-A217F
  • Id: SP1A.210812.016
  • Product: a21snseea

Firmware

  • SDK: 31
  • Release: 12
  • Incremental: A217FXXSCDXE2

Activity

  1. drhirn commented on Jan 26, 2025

    @drhirn

    Not much content in the first post. But I too have the problem, that the Nextcloud app is not uploading all pictures. Some are, but not all. Made a series of 12 pictures yesterday. 10 were uploaded, two were missing.
    Problems started with the app version not "compatible" with PlayStore. Because of this I switched to F-Droid and since than the upload function is showing this behavior.
    Unfortunately I have no idea, why and under which circumstances this is happening. Upload is configured to start only when wifi-connected. I made some pictures at home. Some where uploaded, some not. Made some pictures without wifi and re-enabled wifi afterwards. Same.

    Is there a way to get some logfiles?

    Google Pixel 8
    Android 15
    Nextcloud 3.30.8 (since tomorrow) from F-Droid

  2. Leah96xxx commented on Jan 28, 2025

    @Leah96xxx

    I have this exact same issue as described by @drhirn only I have disabled any auto-upload restrictions like requiring charge or Wi-Fi. The F-droid version was installed following the permission issues with the Play Store version.

    I can confirm that Nextcloud has All Files access.

    Galaxy S22 Ultra, Android 14/One UI 6.1, Nextcloud 3.30.8 (F-Droid version)

    Looks like this was initially reported in another issue, #14359 which was closed with a "not our problem" response. I understand that Android battery management is annoying, but as mentioned in this comment in the aforementioned issue, it would be incredibly useful if there was an option to force the task to run as that would bypass Android's awkwardness. Either a button on the uploads page next to the pause button, or running when the page is refreshed by pulling down would be fine.

  3. drhirn commented on Jan 29, 2025

    @drhirn

    Hmm. If the upload-job runs while the app is active, at least then it should upload missing photos, right?
    And the pictures I described above where all taken at the same time. It was a series of pictures. So either none of them should have gotten uploaded or all of them. But not some of them.
    Not sure, if this has something to do with battery management.

    Nonetheless, you are right with the "manual upload"-thing.

  4. Leah96xxx commented on Jan 29, 2025

    @Leah96xxx

    That's part of the problem: the auto-upload still doesn't run even if the app is open in the foreground. It probably should, but it doesn't

  5. oxivanisher commented on Jan 31, 2025

    @oxivanisher

    I second all of that. I also have the problem (and see it with other users of my instance) where some but not all pictures are uploaded. And at least a button in the UI to force check for new file or so would be great. Because opening the app does not upload the missing pictures automatically.

  6. MateuszKubuszok commented on Feb 4, 2025

    @MateuszKubuszok

    Same issue. Luckily Memories app let me find which images that are on my phone were not synced (with an icon next to the picture), so I can easily find which I have to upload manually.

    Interestingly, all of them seem to be .HEIC files, .jpegs seem to sync just fine.

  7. bobbolous commented on Feb 9, 2025

    @bobbolous

    +1, same issue on Android with the PlayStore app.
    Some files upload, some don't.
    On my side all pictures are JPEG.

  8. drhirn commented on Feb 9, 2025

    @drhirn

    I realized today, that there are some ".pending"-files to upload which couldn't be found on the local file system. May it be, that the upload starts, before the Google Camera app has finished processing the pictures?
    I have enabled "upload existing files" in the folder settings to convince the Nextcloud app to upload these files later, but this also doesn't seem to work.

  9. superuzir commented on Feb 14, 2025

    @superuzir

    In my case, Nextcloud App gives up uploading anything after I cancel the uploading tasks. There is no way to make it upload the files again. I tried to disable/enable the auto-upload with no luck. However, if I enable auto-upload for another folder, it works well.

    So maybe it just gives up uploading if some network error happens too.

    Version 3.30.8

  10. oxivanisher commented on Feb 15, 2025

    @oxivanisher

    I installed 3.31.0 RC2 (gplay apk) and the "normal" uploads seem to work now (including GPS coordinates). This is not a final test, since it was pretty unreliable with the uploads, but my 5 randomly spaced tests all worked fine.
    But what still is a big issue, is that retriggering to upload all pictures is not possible in any way.
    To not post this to all the threads I found and commented concerning upload problems, I mention them here: #14251 #14359 #14267

  11. kinghat commented on Mar 9, 2025

    @kinghat

    this has been an issue for a few versions now. the images that are not uploaded are never uploaded thereafter even if later images do get uploaded correctly.

    just looking over the metadata on the images that arent uploaded and they seem to be missing the geo tagging as well. like that previous bug where geo was missing for all images is still around in some form 🤔

  12. oxivanisher commented on Mar 11, 2025

    @oxivanisher

    I installed 3.31.0 RC2 (gplay apk) and the "normal" uploads seem to work now (including GPS coordinates). This is not a final test, since it was pretty unreliable with the uploads, but my 5 randomly spaced tests all worked fine. But what still is a big issue, is that retriggering to upload all pictures is not possible in any way. To not post this to all the threads I found and commented concerning upload problems, I mention them here: #14251 #14359 #14267

    I spoke too soon. At least with the release version (3.31.0) it is only uploading some of the files. Especially if I take several pictures in short succession. It's so annoying ...

  13. 12 remaining items

  14. PhilLab commented on Sep 21, 2026

    @PhilLab
    Contributor

    @falolaf large upload logic rewrites have since been merged and should be available on PlayStore now as well. Can you retry whether this improved for you?

  15. falolaf commented on Sep 23, 2026

    @falolaf

    I have not had any issues with this lately.

  16. added
    needs infoWaiting for info from user(s). Issues with this label will auto-stale.
    on Sep 23, 2026
  17. kinghat commented on Sep 26, 2026

    @kinghat

    i havent seen recent issues with images but videos still get missed: 35.0.0

  18. bobbolous commented on Oct 1, 2026

    @bobbolous

    No issues with pictures or video uploads recently in real life usage.
    Also did a quick check with 100 photos and 40 (very short) videos. All got uploaded.
    Server: 34.0.4
    Android: Client 35.0.0 on Android 16

  19. alperozturk96 commented on Oct 2, 2026

    @alperozturk96
    Collaborator

    @saltolenin Hello,

    Is this issue still happening with v35.0.0?

  20. github-actions commented on Nov 1, 2026

    @github-actions

    This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

  21. JimboJoe commented on Nov 1, 2026

    @JimboJoe

    With v35.0.0, I had 3 occurrences of images partially uploaded (only first third of the photo) last week.

  22. removed
    needs infoWaiting for info from user(s). Issues with this label will auto-stale.
    on Nov 2, 2026
  23. alperozturk96 commented on Nov 20, 2026

    @alperozturk96
    Collaborator

    Hello,

    To find out exactly what's going wrong, I've created a PR with extra logging for uploads and network detection.

    1. Once the QA APK generated could you please install the QA APK: add logs for detect issues #18091
    2. Go to Settings → Logs and tap Delete to start with a clean log.
    3. Reproduce the problem
    4. Wait about 15–20 minutes so the app has time to try uploading.
    5. Open Settings → Logs again, search for "UploadDiagnostics", and share the filtered logs.
    6. Before attaching the logs, remove any sensitive information such as your server address and file paths.

    Please also tell us:

    • Your device model and Android version
    • Which camera app you use
    • Your auto upload settings for the affected folder: Wi-Fi only, charging only, and what happens when a file already exists
    • Which files are affected (names or timestamps): missing, only partly uploaded, or never uploaded

    Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions