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 for media stopped working on 3.30.6 #14333

Closed
4 tasks done
Kveri opened this issue Jan 7, 2025 · 8 comments
Closed
4 tasks done

Auto upload for media stopped working on 3.30.6 #14333

Kveri opened this issue Jan 7, 2025 · 8 comments

Comments

@Kveri
Copy link

Kveri commented Jan 7, 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. Take a new photo using camera

Expected behaviour

It is auto-uploaded.

Actual behaviour

It is not auto-uploaded.

Android version

15

Device brand and model

Oneplus 12

Stock or custom OS?

Stock

Nextcloud android app version

3.30.6

Nextcloud server version

29.0.2 RC2

Using a reverse proxy?

No

Android logs

No response

Server error logs

Additional information

Standard camera folder (/storage/emulated/0/DCIM/) auto-upload for media (pictures, videos) does not work since around Dec 18th for me. It worked just fine on version 3.30.5 but not anymore on 3.30.6. I looked through changes introduced in 3.30.6, specifically the dialog if the folder is read-only - the options dialog now says 'Original file will be...' = 'kept in original folder, as it is readonly', which I'm fine with and that's how I had it before as well - no change done from my side. However, the auto-upload does not work at all.

It almost looks like that it isn't just not moving the files, but not even uploading them.

I also reviewed other issues, some of them seem to be talking about non-media file and others about custom folder. I used standard Camera folder with standard media files. However, please close if this is really a duplicate.

Maybe related to #14099 ?

@svenb1234
Copy link

svenb1234 commented Jan 7, 2025

Had the same. I think disabling and enabling helped for new photos, taken after the switch.
However, if one does not notice immediately and wants to use the "upload existing pictures" it does not work until you remove the app and re-install it.

Duplicate of #14331 ?

@Kveri
Copy link
Author

Kveri commented Jan 7, 2025

Had the same. I think disabling and enabling helped for new photos, taken after the switch. However, if one does not notice immediately and wants to use the "upload existing pictures" it does not work until you remove the app and re-install it.

Duplicate of #14331 ?

Yeah, for me it stopped working mid-Dec, I realized it today. I re-installed the app (3.30.6), auto-upload still didn't work but I did manual 'Sync' which uploaded all photos. However, even then auto-upload does not work. 'Uploads' section is empty, even if I kill and restart app and run it for 30 minutes. I do see the new photo just taken in settings under the 'Camera' folder, but it never even tries to upload it. Even when I disable auto-upload for that 'Camera' folder and then re-enable it, it still does not upload.

@Kveri
Copy link
Author

Kveri commented Jan 7, 2025

Update: it seems the newest photo was auto-uploaded (I'm still on 3.30.6, not 3.30.7). I'm now not sure if it was because I disabled and enabled auto-upload for that folder or if it would happen without it as well. I just took another new photo and going to wait if it auto-uploads (so far 10 minutes and no luck)

@Whisprin
Copy link

Whisprin commented Jan 8, 2025

This is probably a side effect of the "All files access" being removed because of Google (#14135).
It should be handled better with future app updates, e.g. an improved warning message or user notification.

@Kveri Do you perhaps recall if you granted "All files access" to Nextcloud before the upgrade to 3.30.6? The permission was still present in 3.30.5 and removed from 3.30.6 onwards.

fyi all photos uploaded with version 3.30.6 or later have their location metadata removed
only the Google Play build is affected by any of this.

@frie
Copy link

frie commented Jan 8, 2025

I just installed 3.30.6 from FDroid - auto uploads work as far as I could observe. Using the playstore version (3.30.7) auto uploads did not work hat all.

@MegaV0lt
Copy link

MegaV0lt commented Jan 9, 2025

Not working here too!
Deactivating and activating auto upload does not change behavior ;-(

@alperozturk96
Copy link
Collaborator

alperozturk96 commented Jan 10, 2025

This seems to be the same issue, so I’ll go ahead and close this ticket. Let’s continue with the provided link.

#14334

@Kveri
Copy link
Author

Kveri commented Jan 10, 2025

actually I think this may be a different issue as I have 'Photos and videos permission' set to 'Always allow all'. However, after re-installing Nextcloud app from GPlay and doing full Instant Upload folder 'Sync' action it seems that photos are now auto-uploaded automatically. So in nutshell the issue I reported seems to be no longer an issue. I don't understand why, but it works. (Still using 3.30.6 and disabled auto-update of the app).

Thanks!

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

No branches or pull requests

7 participants