Auto upload stopped working
⚠️ Before posting ⚠️
- [x] This is a bug, not a question or an enhancement.
- [x] I've searched for similar issues and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
- Update Nextcloud app to version 3.35.0 (from F-Droid)
- Take photos
- Wait for several hours
- Nothing gets uploaded
Expected behaviour
Photos should be uploaded to my Nextcloud server automatically.
Actual behaviour
Photos don't get uploaded.
Android version
15
Device brand and model
Xiaomi Redmi Note 8T
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
3.35.0
Nextcloud server version
32.0.5
Using a reverse proxy?
No
Android logs
I took a test photo, waited for a while and then searched the logcat output for relevant information. This is what I found. I hope it's useful since I'm not an expert in interpreting these logfiles.
Server error logs
Additional information
My custom ROM is ProjectMatrixx v11.2.5. Auto upload worked more or less reliably until the latest update. I also noticed that the list of previous uploads suddenly shows dates from December 1969 for all the uploaded files. Might be the same issue as in https://github.com/nextcloud/android/issues/16333.
Same issue here on a Pixel 9a with latest Android 16.
Same issue on Galaxy S24.
The issue is still present in the recent update. Some folders get uploaded perfectly fine tho not the camera roll.
Updated my Android App on my Google Pixel 7 Pro via F-Droid. But bug still exists. Using Version 3.35.1. Android 16.patchlevel 5th December.
Same problem here on Galaxy S25 Ultra, no new photos uploaded from last 2 updates.
Updated to 3.35.2 and some pictures were uploaded... Some not. Galaxy S24.
3.35.2 / Camera Roll still not uploading. Pixel 9a.
It is even worse... Some files just upload as 0...
I get "server reported size 1.9 MB but size was 0" error...
unfortunately this is broken since a long time: https://github.com/nextcloud/android/issues/15291
the workaround is to reinstall from scratch (uninstall, install, setup autoupload) after an update: https://github.com/nextcloud/android/issues/15291#issuecomment-3336978197
unfortunately this is broken since a long time: #15291
the workaround is to reinstall from scratch (uninstall, install, setup autoupload) after an update: #15291 (comment)
Interesting. For me auto upload used to work until the update to 3.35.0 got installed via F-Droid. My setup with custom folders survived several updates so it seems I was never affected by this bug. I will try the workaround anyway and reinstall from scratch when I find the time to.
Interesting. For me auto upload used to work until the update to 3.35.0 got installed via F-Droid. My setup with custom folders survived several updates so it seems I was never affected by this bug. I will try the workaround anyway and reinstall from scratch when I find the time to.
Same here, worked up until the update to 3.35.0. As a dev by myself I appreciate all the effort that goes into this app, but how can such a core function be broken for such a long time? Is it a platform issue?
unfortunately this is broken since a long time: #15291
the workaround is to reinstall from scratch (uninstall, install, setup autoupload) after an update: #15291 (comment)
Thanks for info, but I did it right now and still autoupload does not work. I appreciate devs work on this app but things could be more polished now after 8 years of development. Anyway I am waiting for fix, now its not working.
EDIT: 2 hours after reinstalling the app, the auto upload started to work.
Hello
Could you please try this PR?
And from Settings → Logs → via "auto upload", "upload", "ContentObserverWork" keyword filter logs and share with us the logs. This is important to find issues.
I've got the same issue with NC app version 3.35.2 on a Google Pixel 8.
Hello
Could you please try this PR?
And from Settings → Logs → via "auto upload", "upload", "ContentObserverWork" keyword filter logs and share with us the logs. This is important to find issues.
I would like to test this, but cannot download the linked apk file. The server is unreachable.
Hello Could you please try this PR? And from Settings → Logs → via "auto upload", "upload", "ContentObserverWork" keyword filter logs and share with us the logs. This is important to find issues.
I would like to test this, but cannot download the linked apk file. The server is unreachable.
I was able to download qa apk from this link. Direct download link: https://www.kaminsky.me/nc-dev/android-artifacts/16393.apk
Hello Could you please try this PR? And from Settings → Logs → via "auto upload", "upload", "ContentObserverWork" keyword filter logs and share with us the logs. This is important to find issues.
I would like to test this, but cannot download the linked apk file. The server is unreachable.
I was able to download qa apk from this link. Direct download link: https://www.kaminsky.me/nc-dev/android-artifacts/16393.apk
Now it worked and I was able to get the logs. Must have been a short downtime. I configured the app the same way as the release version and took a test photo. Auto upload worked instantly.
Same problem here, and the APK fixed the issue.
I don't really want to rant, but... With every version auto upload becomes buggier and buggier. I haven't had a single photo auto uploaded since 3 weeks. And today it started autouploading all videos over again, but created storage/emulated/0/DCIM/camera within /Autoupload/Video creating second copies there. What's more cancelling them from the status screen doesn't do anything. Well the list of currently uploading files has emptied, but they still getting uploaded. So i can't cancel it...
I just say it again. At the moment there are absolutely no need for any fancy UI changes or anything else in Android apps. All the work on all Android apps need to be suspended. Auto upload is tier 1 function. Most important one. But it is completely broken beyond repair. It needs to be redesigned and redone from the scratch. It's likely will be much more faster and reliable to redo it than chasing thousands of issues.
Is anyone else having #16424 ?