Skip to content

Auto upload for media stopped working on 3.30.6 #14333

Description

@Kveri

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

Activity

  1. svenb1234 commented on Jan 7, 2025

    @svenb1234

    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 ?

  2. Kveri commented on Jan 7, 2025

    @Kveri
    Author

    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.

  3. Kveri commented on Jan 7, 2025

    @Kveri
    Author

    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)

  4. Whisprin commented on Jan 8, 2025

    @Whisprin

    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.

  5. frie commented on Jan 8, 2025

    @frie

    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.

  6. MegaV0lt commented on Jan 9, 2025

    @MegaV0lt

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

  7. alperozturk96 commented on Jan 10, 2025

    @alperozturk96
    Collaborator

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

    #14334

  8. Kveri commented on Jan 10, 2025

    @Kveri
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions