-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
⚠️ Before posting ⚠️
- This is a bug, not a question or an enhancement.
- I've searched for similar issues and didn't find a duplicate.
- I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
- Attempt to change the auto upload destination directory for any folder while the auto upload for that folder is disabled.
Expected behaviour
- You should be able to change the destination directory.
Actual behaviour
- You cannot change the destination directory.
Android version
15
Device brand and model
Samsung Galaxy S24 Ultra
Stock or custom OS?
Stock
Nextcloud android app version
3.31.4
Nextcloud server version
31.0.5
Using a reverse proxy?
Yes
Android logs
Not relevant.
Server error logs
Not relevant.
Additional information
I use a self-hosted Nextcloud instance primarily to automatically back up photos/videos from my phone. I have a large number of folders set up in the Auto Upload, none of which use the default InstantUpload directory on the server. The feature generally works very well, HOWEVER, if configuring Auto Upload from fresh (e.g. new app install, new phone, or the app has just lost the Auto Upload settings for whatever reason like has recently happened) there is an issue:
The default destination directory for folders in Auto Upload is a subdirectory under the InstantUpload directory on the server. I do not use this. In order to change the destination directory, Auto Upload must be enabled for that folder, but herein lies the issue: as soon as you enable Auto Upload for that folder, it will immediately begin queuing files for upload to the currently configured destination directory, which in my case is incorrect. Once this upload starts, it cannot be easily cancelled.
The result of this is that I now have approximately 13,000 files trying to upload to the wrong place. Even if I change the destination directory during this process, it is not honoured until the current queue finishes. The issue is that the destination directory cannot be changed without enabling Auto Upload, but enabling Auto Upload will immediately begin uploading files to the wrong directory.