nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.25k stars 1.76k forks source link

Auto-upload of Media (photo, video) does not work #13773

Open Chatter35 opened 1 week ago

Chatter35 commented 1 week ago

⚠️ Before posting ⚠️

Steps to reproduce

Switch on Auto Upload for Media Take a photo Wait some minutes until a photo/video should have been uploaded form Android to Nextcloud. Now: While photos/videos appear in the settings overview for Auto Upload - the media are NOT loaded to the Nexcloud server.

Manual work around: Create an own Auto Upload folder and select the identical Android source and Nexcloud target folder as in the original setting. Now, media get uploaded to Nextcloud.

Yet, RAW (.dng) photos and jps appear in the some "Camara" folder - but RAW photos are not loaded in "RAW" folder.

Expected behaviour

When media Auto upload is activated they should be loaded to Nextcloud. Ideally, jpg appears in "Camara" folder and dng in "RAW" folder.

Actual behaviour

No auto upload of media (photos and videos)

Android version

14

Device brand and model

Google Pixel 8 Pro

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

Stable version 3.30.1 from GitHub

Nextcloud server version

28.0.10

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

No response

Additional information

GrapheneOS

joshtrichards commented 6 days ago

Switch on Auto Upload for Media

Can you provide the precise settings you used since there are numerous variations?

but RAW photos are not loaded in "RAW" folder.

To clarify: Are you just having a problem with RAW/.dng photos?

Chatter35 commented 6 days ago

Switch on Auto Upload for Media

Can you provide the precise settings you used since there are numerous variations?

but RAW photos are not loaded in "RAW" folder.

To clarify: Are you just having a problem with RAW/.dng photos?

To clarify: Photos are not uploaded automatically although the option has been switched on. This pertains any format, i.e. jpg and dng. (Auto-upload of jpg and dng to separate folders has worked in the past - but I would see this as a 'nice to have'.)

joshtrichards commented 6 days ago

Great but we still the config details requested.

For example:

It sounds like the breakage is when using an auto detected folder only since it sounds like configuring a custom folder was a workaround?

What options are set on the relevant auto detected (broken) auto upload profile(s)? E.g. Also upload existing files, etc.

From the sounds of it this is a change in behavior for this device? When did it stop working as expected? Or is this new setup on this device?

Chatter35 commented 5 days ago

I have just tried again:

Taken two photos with Google Camara on GrapheneOS (w/o any Google Play Services): 1. jpg only, 2 RAW+jpg (i.e. three files in total). Surprisingly, the photos have been auto-uploaded instantly (from local folder „Pixel 8 Pro - DCIM - Camara“ to the folder „Nextcloud - AutoUpload - Camara“). So, it looks like auto-upload works fine again. Also, photos I have received via Singal Messenger have been auto-uploaded (into a Nextcloud folder „Pictures“).

Notably, I did not change any setting. But if I remember correctly, there was a recent update of GrapheneOS.

(Ideally, I would have wished that RAW photos could be directed via AutoUpload into another Nextcloud folder than „Camara“, which has worked in the past - but this might have been a function of the Galerie app by GrapheneOS.)

(One thing that still does NOT work: Internal 2-way-sync. When clicking on this link a white screen without any folder appears.)

Thank you for having followed up on this. For me the issue seems resolved now.

Cheers.