android
android copied to clipboard
upgrade to 3.20.x breaks auto upload
Steps to reproduce
- have version 3.19.1 installed
- upgrade to 3.20.0 or 3.20.1
- auto upload no longer works
Expected behaviour
- this is a regression. autoupload should continue to work
Actual behaviour
- it no longer auto uploads any new pics
Can you reproduce this problem on https://try.nextcloud.com?
not uploading server logs as it doesn't even attempt to contact the server to upload.
Environment data
Android version: 10
Device model: moto g7 power
Stock or customized system:
Nextcloud app version: 3.20.x
Nextcloud server version: 23.0.4
Reverse proxy: no
workaround: downgraded to 3.19.1 and it is working fine again
I am also experiencing this on my Xiaomi Redmi Note, as is my partner.
Same here. Took a lot of photos recently, but I've noticed that none of them reached the server.
Same here since last app update.
Android version: 10 Device model: Cubot X30 Nextcloud app version: 3.20.1 Nextcloud server version: 23.0.4
Same here: Android version: 10 Device model: Honor 10 View Nextcloud app version: 3.20.1 Nextcloud server version: 23.0.3
Same issue (last time it did work according to the logs was the 17/04/2022): Android version: 10 Device Model: Samsung Galaxy S9 (Exynos variant) Nexcloud app version: 3.20.1 (excluded from power management) Nexcloud server version: 23.0.0
I'll try to reproduce this. Has anyone verified if it happens in a fresh install of 3.20.0? (not upgrade)
I wasn't able to reproduce this. Can anyone upload a logcat?
Same here too. Since 3.20.x my auto-upload folders are not backing up new files to my server. At first I thought it was related to MIUI saving settings, but after checking everything, not even with the app opened works.
if there was an existing logfile on the client i'd be happy to upload it but i'm not doing the adb thing to get you a log. i complained years ago when you first did away with logs on the client and was ignored.
I wasn't able to reproduce this. Can anyone upload a logcat?
See logcatOutput.txt (with redacted username/host/port/user-folders)
I wasn't able to reproduce this. Can anyone upload a logcat?
See logcatOutput.txt (with redacted username/host/port/user-folders)
Thanks! From this and another log that was shared with me privately, unfortunately I see no obvious cause of the problem; it seems like the media scan is triggered but the upload is never even queued. We'll have to try harder to reproduce this.
Same issue here.
- Server Nextcloud Nextcloud Hub II (23.0.4)
- Android App 3.20.1
- Android 10
- HUAWEI P smart 2019
Having this problem as well, but I was using an older version (tried upgrading to the 3.20.1 though, same problem). Upload was working perfectly fine. I think it may have stopped working after deleting all the pictures and videos I had on my phone (that's the only think related to the folders I have on auto-upload I've been doing recently). Now nothing of my auto-upload configured folders get uploaded. The settings are fine (auto-upload enabled and all the desired folders enabled and well configured, as always).
Edit: I uninstalled the app (which also removed all synced files and configuration from my device) and reinstalled again (latest version): auto upload working fine now again.
Hi, i had the same problem too...i tried to upgrade the server, make update of all android market, but without success. I can see the photo's folder, but auto upload doesn't work.
Some days ago, i received update of play store (i saw android web view and other android things) and now auto upload works again ! I don't know what happened !
Installed 3.20.1 tonight to try and fix the auto upload not working on 3.20. 3.20.1 does not find any media folders on my device! I can set up a custom folder linked to my camera save location and this uploads pictures taken automatically however I cannot differentiate between pictures and videos therefore they all end up in the same backup location. Perhaps this is 'new' intended behaviour? Anyway, I have reinstalled version 3.19.1 for now to see if the auto discovery of media folders will be reinstated? It was much more satisfactory as a modus operandi. James
Having this issue as well. As a workaround creating a custom rule for that folder like @jkpirie suggested works but I can't differentiate between images and videos that way like the default rules. Before I was sending videos to a different directory in Nextcloud but they were in the same one on the mobile device.
The default auto upload rules seem to just do nothing after the to 3.20.x . I have not yet tried reinstalling the application but I think that shouldn't be necessary, especially considering that removes any app configuration and local data as well.
same here, stopped working right after the upgrade to 3.20.0 on two of my devices
Lucky you people, it hasn't worked for years for me.
I got mine to work again. After granting the app permissions for accessing contacts and calendar it started uploading all the pending files. Berore that I had permissions enabled for camera and storage only.
Same problem for me on two devices, v 3.20.1. Enabling the contact and calendar permissions (which were disabled) as @xaavro suggested hasn't worked.
Note that in Settings -> Auto Upload, if I disable and re-enable a folder by hitting the cloud button, it prompts: "Your device may have battery optimisation enabled ...." . However this is false. I can confirm in the Android Battery Optimisation screen that the Nextcloud app is "Not optimised".
Note that in Settings -> Auto Upload, if I disable and re-enable a folder by hitting the cloud button, it prompts: "Your device may have battery optimisation enabled ...." . However this is false. I can confirm in the Android Battery Optimisation screen that the Nextcloud app is "Not optimised".
"Your device may have battery optimisation enabled ...."
Little update on the issue. Disabling again camera and contact permissions didn't break the auto-upload. Maybe changing them the first time somehow "refreshed" all permissions and made the app to work again?
Same here: Android version: 10 Device model: Poco F1 Nextcloud app version: 3.20.1 Nextcloud server version: 24.0.0 Granted all permissions to the app, and turned off battery saver last automatic upload 03/05
same problem
I found some directory not appear in 'setting' - 'auto upload' page.
solve the problem 1: stop app, kill process. 2: disable 'storage' permission and enable again for nextcloud app in system permission setting page. 3: launch app, it start auto upload.
same problem
I found some directory not appear in 'setting' - 'auto upload' page.
solve the problem 1: stop app, kill process. 2: disable 'storage' permission and enable again for nextcloud app in system permission setting page. 3: launch app, it start auto upload.
Here it worked, thank you
Worked for me too, thanks!
same problem
I found some directory not appear in 'setting' - 'auto upload' page.
solve the problem 1: stop app, kill process. 2: disable 'storage' permission and enable again for nextcloud app in system permission setting page. 3: launch app, it start auto upload.
worked for me!
but i had to do it this way:
- kill/force-stop app
- disable storage permission
- launch app
- add permission via bottom-bar within the nextcloud app
Worked for me as well. Looks like that completely stopping the app before attempting is a very important part of this fix because I'm almost sure I tried disabling and enabling permissions a few days ago and nothing happened. Thanks, @OrangeGeeker.
I can confirm this worked for me as well. I did as @kadrim suggested and let the app request the permissions again after removing them.
So the solution proposed by @OrangeGeeker also works for me. The files that were not uploaded since the app broke, however, remain unuploaded -- new files are uploaded. Is there a way to have the app upload these files?