android icon indicating copy to clipboard operation
android copied to clipboard

Automatic Upload only works with default Folders (Android 16)

Open fsesterh opened this issue 5 months ago • 16 comments

⚠️ 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

  1. create a custom folder "photos"
  2. 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

fsesterh avatar Aug 01 '25 07:08 fsesterh

Same issue on Pixel 7 Pro.

akavkl avatar Aug 01 '25 10:08 akavkl

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.

Canuteson avatar Aug 01 '25 21:08 Canuteson

Same issue for Signal, Threema and, if you change the folder structure by using alternative Gallery, also for the standard gallery

Ihon75 avatar Aug 18 '25 13:08 Ihon75

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.

fsesterh avatar Aug 18 '25 14:08 fsesterh

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).

WarnerV avatar Sep 19 '25 12:09 WarnerV

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.

devlux avatar Sep 25 '25 20:09 devlux

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)

WarnerV avatar Sep 25 '25 20:09 WarnerV

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.

devlux avatar Sep 26 '25 06:09 devlux

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.

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 avatar Sep 26 '25 09:09 MatthiasJSchmidt

@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)?

WarnerV avatar Sep 26 '25 13:09 WarnerV

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.

fsesterh avatar Sep 26 '25 13:09 fsesterh

@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 avatar Sep 26 '25 14:09 devlux

@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:

alperozturk96 avatar Oct 13 '25 14:10 alperozturk96

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.

epiniguin avatar Dec 03 '25 11:12 epiniguin

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.

alperozturk96 avatar Dec 03 '25 12:12 alperozturk96

Hello

We released RC versions. Could you please try with 3.35.0 RC2 and share your feedback with us?

alperozturk96 avatar Dec 08 '25 08:12 alperozturk96