android icon indicating copy to clipboard operation
android copied to clipboard

GPS Coordinates not being uploaded via Auto Upload ONLY

Open axheli opened this issue 1 year ago • 22 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. Have Auto Upload on

  2. Take a photo

  3. Review Info under file No coordinates

  4. Upload the files manually the GPS coordinates come with it. So it looks like its only an issue with Auto Upload ONLY

Expected behaviour

Should have GPS coordinates

Actual behaviour

No coordinates being uploaded via Auto Upload

Android version

14

Device brand and model

Samsung S24 Ultra

Stock or custom OS?

Stock

Nextcloud android app version

3.30.6

Nextcloud server version

30.0.4

Using a reverse proxy?

No

Android logs

No response

Server error logs


Additional information

No response

axheli avatar Dec 27 '24 20:12 axheli

i can confirm this from my side, Auto Upload via the latest gplay Version strips the GPS Meta Data.

crosschecked the 20241218 Version from F-Droid which, this Version is still working

lovwyr avatar Dec 28 '24 23:12 lovwyr

Same issue here, also confirmed that GPS meta data is still being uploaded in the latest F-Droid version

Frank1967 avatar Dec 31 '24 15:12 Frank1967

I can confirm same issue here, Android 14 Xperia10, Server 28.Did not tested the f-droid version, but coordinates upload worked up to last update.

BjoernVV avatar Jan 02 '25 08:01 BjoernVV

Same issue here, didn't try the f-droid version. As I'm using subfolders with autopload, I'm still thinking how to overwrite all pictures without GPS data.

dom-re-port-git avatar Jan 03 '25 18:01 dom-re-port-git

Also same issue. No more GPS data in uploaded pictures. Using Samsung S24 with Android 14. The last picture with GPS was from the 15.12.2024, since 17.12.2024 coordinates are missing. Confusingly it seems, that my app got updated on the 5.12.2024 to the current version.

oxivanisher avatar Jan 06 '25 13:01 oxivanisher

Same issue here, no GPS data in uploaded pictures via Android app. Using Samsung S21 with Android 14.

sokolbb avatar Jan 06 '25 13:01 sokolbb

Same issue with v3.30.7, GPS coordinates lost after upload. Using Oneplus 9 Pro with Android 14

ralfi avatar Jan 06 '25 18:01 ralfi

@tobiasKaminsky Hiho, can you please explain and/or confirm this issue? Thank you!

ralfi avatar Jan 08 '25 07:01 ralfi

im having the same issue since the 15th of december. 14th and earlier are fine. i dont think its a nextcloud thing as my photos dont actually contain any gps data since then. i transferred them to my pc and used jexiftool on them. this is with photos taken from google camera and graphene os stock camera app. both have location setting on and have proper location permission.

kinghat avatar Jan 10 '25 05:01 kinghat

Can you test https://github.com/nextcloud/android/pull/14247 this? I think this will solve it, as nowadays for any background upload the new location permission is needed.

tobiasKaminsky avatar Jan 10 '25 09:01 tobiasKaminsky

Can you test #14247 this? I think this will solve it, as nowadays for any background upload the new location permission is needed.

If you meant to try downloading .apk from https://github.com/nextcloud/android/pull/14247 then link doesn't work there anymore.

sokolbb avatar Jan 10 '25 10:01 sokolbb

Same here, pictures taken mid-December and auto-uploaded have GPS data, but anything since show Unknown. I've downloaded the image from my phone a few different ways, even using adb pull to make sure nothing was possibly manipulating it, and every other method of getting the file has the GPS data. But the file in Nextcloud after auto upload does not.

I also just manually uploaded an image using the Nextcloud Android client and it has GPS data, so Auto Upload seems to be doing something specifically here.

I also have not rebuilt my Nextcloud container that I'm using here in a while, so nothing has changed there. It's almost like in stable-3.30.7 the files are being stripped out, although I offhand don't see any obvious code in the Nextcloud Android client which would do this.

khaytsus avatar Jan 10 '25 18:01 khaytsus

Oneplus 13, can confirm the issue is present with autoupload. F-Droid version works fine.

hedger avatar Jan 13 '25 12:01 hedger

This is handled via our next release, 3.30.8 RC1 It is currently in review and will be soon available for Beta users. Please sign up to it, to check it and provide feedback.

tobiasKaminsky avatar Jan 15 '25 08:01 tobiasKaminsky

I have manually installed version 3.30.8 RC1 of nextcloud and GPS data is correctly uploaded now. Do you know when it will be released as part of stable/main release instead of beta?

sokolbb avatar Jan 15 '25 11:01 sokolbb

How will this handle already uploaded files? Can it "fix" it and reupload all the corruptly uploaded ones, or do we have to fix it for every user manually?

oxivanisher avatar Jan 15 '25 12:01 oxivanisher

Geez I just realized this today, that the geotags are missing for a months now at least. Once again a bug so severe, you should consider to switch to another solution, for photo storage.

Byter3 avatar Jan 21 '25 10:01 Byter3

Geez I just realized this today, that the geotags are missing for a months now at least. Once again a bug so severe, you should consider to switch to another solution, for photo storage.

Google outright rejected their use of a permission they actively relied on, breaking established and intended behavior. See https://github.com/nextcloud/android/issues/14409 for more details.

Momi-V avatar Jan 25 '25 15:01 Momi-V

-> which means installing the FDroid version should be a possible workaround for now as this one still has the permission set.

aligator avatar Jan 26 '25 16:01 aligator

is it only for me or has the Fdroid Version now also stopped working? (last Upload 25.01.)

lovwyr avatar Feb 05 '25 17:02 lovwyr