Repository navigation
Open
Labels
Description
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
Reacted by dniwelive, Dufour Cyprien, Anders Stedtlund and 2xlink
Activity
drhirn commentedon Jan 26, 2025
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
Leah96xxx commentedon Jan 28, 2025
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.
drhirn commentedon Jan 29, 2025
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.
Leah96xxx commentedon Jan 29, 2025
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
oxivanisher commentedon Jan 31, 2025
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.
MateuszKubuszok commentedon Feb 4, 2025
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.
bobbolous commentedon Feb 9, 2025
+1, same issue on Android with the PlayStore app.
Some files upload, some don't.
On my side all pictures are JPEG.
drhirn commentedon Feb 9, 2025
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.
superuzir commentedon Feb 14, 2025
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
oxivanisher commentedon Feb 15, 2025
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
kinghat commentedon Mar 9, 2025
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 🤔
oxivanisher commentedon Mar 11, 2025
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 ...
12 remaining items
PhilLab commentedon Sep 21, 2026
@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?
falolaf commentedon Sep 23, 2026
I have not had any issues with this lately.
kinghat commentedon Sep 26, 2026
i havent seen recent issues with images but videos still get missed:
35.0.0bobbolous commentedon Oct 1, 2026
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
alperozturk96 commentedon Oct 2, 2026
@saltolenin Hello,
Is this issue still happening with v35.0.0?
github-actions commentedon Nov 1, 2026
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!
JimboJoe commentedon Nov 1, 2026
With v35.0.0, I had 3 occurrences of images partially uploaded (only first third of the photo) last week.
alperozturk96 commentedon Nov 20, 2026
Hello,
To find out exactly what's going wrong, I've created a PR with extra logging for uploads and network detection.
Please also tell us:
Thank you for your help.