Automatic Upload only works with default Folders (Android 16)
⚠️ 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
- create a custom folder "photos"
- set the camera path to sync photos to this folder
RESULT: Nothing gets synced.
- Nextcloud HAS full access to ALL files.
- Manually Sharing a photo/file and selecting the folder configured for automatic sync works instantly!
Expected behaviour
This should work.
Actual behaviour
What seems to happen instead is that nextcloud wants to shove everything under SofortUpload/[App/Folder]. I.e. if you activate automatic upload for WhatsApp Images and you DO NOT change the path the App will create
"./SofortUpload/WhatsApp Images"
! Then files are uploaded immediately !
Changing the path breaks uploads for WhatsApp images.
Even worse, if you disable the sync and remove "./SofortUpload/WhatsApp Images" and then reactivate the sync nextcloud will not create the folder again. Manualle creating "./SofortUpload/WhatsApp Images" does not help. You cannot sync this stuff again, ever.
Android version
16
Device brand and model
Pixel 9 Pro
Stock or custom OS?
Stock
Nextcloud android app version
3.32.2
Nextcloud server version
31.0.7
Using a reverse proxy?
I don't know
Android logs
No response
Server error logs
Additional information
No response
Same issue on Pixel 7 Pro.
Automatic backups of photos used to organize my photos by year and month: This worked through May. This week i discovered "Automatic Upload" was not activated in my NextCloud mobile app and my photos have not been backing up automatically. I turned it back on, and my photos now default to uploading to an "InstantUpload/Camera" directory, and are not further organized automatically. What changed? Am I crazy? I thought maybe it had been the NextCloud Photos mobile app that was backing up my photos but I don't even see an option there. I definitely don't want to have to manually sort all of my photos in NextCloud by date.
Same issue for Signal, Threema and, if you change the folder structure by using alternative Gallery, also for the standard gallery
Update: After a while the client startet upload to my manually created "SofortUpload/Camera" again. Idk why or when exactly. But at least this means that if you break this once you have the chance of it starting to work again. Still not able to move the folder out of the "SofortUpload/" path though.
Being on the English version, ./InstantUpload/Camera/ is suggested. However, for me it:
- It doesn't create the remote folders
- After I manually create the matching remote folder, the 'autoupload' icon appears on the folder
- Nothing is ever synced
Manual upload works fine though. I'm on OnePlus 13 (Android 15).
it's really sad to see such basic use cases just break by installing a new version.
the user chosen folder is not used and also the config to store the files in subfolders is not respected.
I can unfortunately confirm that also on 3.34.0 RC2 the behavior hasn't changed: not a single auto-upload has been made (OnePlus 13, Android 15)
I've found a manual workaround:
- reinstall the app from scratch
- before activating auto upload make sure to have the settings defined properly
so for me the issue seems that somehow the settings were resetted during the update and that I then reactivated auto upload before checking the settings first.
I've found a manual workaround:
* reinstall the app from scratch * before activating auto upload make sure to have the settings defined properlyso for me the issue seems that somehow the settings were resetted during the update and that I then reactivated auto upload before checking the settings first.
same here. Worked after manual remove/reinstall and reconfigure with 3.32.0. Upgraded to 3.33.0 -> again only partial uploads on one device, no upload on other device. Now 3.34.0 is coming, would mean to reinstall and reconfigure again -> quite umcomfortable
the only device that works properly is the one that as Beta-Program enabled.
@MatthiasJSchmidt @devlux
This doesn't seem to work for me.
-> Do you use custom folders for upload? If not, what's the folder name? Might it be that "SofortUpload" works but "AutoUpload" doesn't? -> Are you getting the app from Google or from F-Droid (and is there any difference)?
For me it started working with "SofortUpload" after a couple of days again after I ran into this issue. Has been working since then. Just...weird.
@WarnerV yes, I use a custom folder (Photos) and I use the f-droid version but I think the only difference between f-droid and google play is that the first does not rely on google play services and does not support push notifications (logic wise I think they should behave the same).
@devlux @fsesterh @WarnerV @MatthiasJSchmidt
Hello.
We’ve made several fixes to the auto-upload logic and would appreciate your feedback. You can download the updated QA version here:
Hi! I my case in Android 16 not all photos from the default Camera folder are synchronized. "All permissions" is turned on. Sometimes Nextcloud synchronizes all photos that I made, sometimes it synchronizes only part of them.
For example, I made 4 photos 2 hours ago. There was not wifi connection at that time. After the WIFI appeared, Nextcloud synchronized only 1 photo from these 4 photos. I have been waiting for 30 minutes but it does not synchronize other 3 photos and there is nothing in the queue.
Hello
The entire auto-upload logic has been updated with significant improvements and enhancements. These changes will be included in version 3.35.0.
In the meantime, you can test the latest development version available on F-Droid.
We would greatly appreciate your feedback once we release the 3.35.0 RC1.
Hello
We released RC versions. Could you please try with 3.35.0 RC2 and share your feedback with us?