Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Auto-Upload] Pictures which are copied / moved to auto-upload-folder are not uploaded #14385

Open
4 tasks done
robin-nj opened this issue Jan 13, 2025 · 3 comments
Open
4 tasks done
Assignees
Labels

Comments

@robin-nj
Copy link

robin-nj commented Jan 13, 2025

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

  1. Set up an Auto-Upload Folder for pictures (here tested with internal and external storage) with 3 testpictures in each folder
  • PathToInternalStorage/FolderInternal/AutomaticUploadFolderInternal
  • PathToExternalStorage/FolderExternal/AutomaticUploadFolderExternal
  1. Let the Auto-Upload Mechanism do its work
  2. Copy or move an existing picture into the Auto-Upload Folder - copied and moved files are beforehand stored in
  • PathToInternalStorage/FolderInternal
  • PathToExternalStorage/FolderExternal
    respectively

(Filenames are named such that they can be identified in the logs)

Expected behaviour

The copied and moved pictures should be uploaded from the Auto-Upload-Folder as well.

Actual behaviour

The copied and moved pictures are not getting uploaded.

Android version

12

Device brand and model

Sony Xperia 5 II (XQ-AS52)

Stock or custom OS?

Stock

Nextcloud android app version

3.30.7 (F-Droid)

Nextcloud server version

30.0.4

Using a reverse proxy?

Yes

Android logs

logcat_nextcloud_autoupload.txt

Server error logs

Additional information

I also tried renaming the files off-log -> did not work.

Log was created over time of more than 15 minutes to catch possible recurring jobs.

Auto-Upload for the folders were created around 11:12
Files were copied around 11:15

Manual update of the "Uploads" section in-App (drag the screen to the bottom) at 11:20 and 11:30

@driverspy
Copy link

Same here

Server version: 29.0.0
Android APP version: 3.30.7

@kekec777
Copy link

kekec777 commented Jan 14, 2025

Well my auto-upload is actually not working at all right now
I have DCIM pictures that should sync when my phone is charging, and that is not working
I tried to test with an another folder, so it should have uploaded with "Also upload existing files" but nothing happens..

Server version: 30.0.4
Android app version: 3.30.7

@bilogic
Copy link

bilogic commented Jan 20, 2025

@alperozturk96

  • I have a screen recording MP4 in my /storage/emulated/0/Movies and some PNGs /storage/emulated/0/Pictures/Screenshots folder
  • It has been over 10 minutes and both still refuses to auto upload... how to find out why delay?
  • There are no visible clues as to what the issue might be, thus my report is not as helpful

I have tried:

  1. Re-enabling the folder's auto upload
  2. Pulling down to refresh the page
  3. Exit and enter the page
  4. Changing behavior of Original file will be... and back to delete
  5. Finally reboot - files were uploaded immediately after booting up

Given the dire situation, I propose making these changes to help us report better

  1. Add a manual upload for each folder triggered by going to the 3 dot menu and clicking Upload
  2. If auto upload is not working and Upload works, we will know it is a file watcher problem
  3. If Upload also does not work, then please advise us how to get the logs for you
  4. If the file cannot be accessed (perhaps locked by camera/OS etc), please overlay a lock icon on the affected files, this gives users more certainty and won't spam this repo with issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants