Visitar URL original
[BUG] Image autoupload uploads images twice under certain conditions · Issue #3983 · owncloud/android · GitHub
Skip to content

[BUG] Image autoupload uploads images twice under certain conditions #3983

Closed

Description

@Dehumanizer77

Actual behaviour

When image autoupload is turned on, images are uploaded twice, the second time with (2) at the end of the file name.

Expected behaviour

Images get uploaded only once.

Steps to reproduce

It usually happens when both image and video autoupload is turned on, however for example right now I only have image autoupload turned on and it still happens. Also yesterday, I took two images, one was uploaded once and the second one got uploaded twice. Fiddling with enabling/disabling image and/or video autoupload sometimes fixes the issue.

Can this problem be reproduced with the official owncloud server?
not when I tried it now

Environment data

Android version:
12

Device model:
Xiaomi Poco F3

Stock or customized system:
Custom ROM (Pixel Experience 12)

ownCloud app version:
4.0-beta1 (but I have the problem with the latest stable version as well)

ownCloud server version:
10.11

Logs

ownCloud log (data/owncloud.log)

owncloud.2023-03-22.log

Activity

  1. JuancaG05 commented on Mar 23, 2023

    @JuancaG05
    Contributor

    Hi @Dehumanizer77! Thanks for opening a new issue for this! We'll take a look and let you know about our findings 😉

  2. web2wire commented on Mar 28, 2023

    @web2wire

    I have had this for several months now, it basically happens every time. The difference being for me I often get (2), (3) and several more versions of the same file. The original is sometimes, but not always zero sized. I am happy to provide further info if this helps.

  3. Dehumanizer77 commented on Apr 2, 2023

    @Dehumanizer77
    Author

    It's totally unreliable, sometimes it uploads the file fine, sometimes with zero size, sometimes multiple times, sometimes just once...

  4. vvzinovyev commented on Apr 5, 2023

    @vvzinovyev

    Hi. Same for me. I did not notice zero size on the original file. I get even (3), (4), (5) sometimes. Usually I just delete such files and the original ones seem to be OK. It happens for quite a while already - half a year for sure and survived a few app upgrades. Just upgraded to the most recent version recently. I have Samsung S10e.

  5. vvzinovyev commented on Apr 5, 2023

    @vvzinovyev

    Actually, I upgraded to v3.0.4, and first time in a while did not have these dupes today. Let's see..

  6. Dehumanizer77 commented on Apr 5, 2023

    @Dehumanizer77
    Author

    Since 4.0 beta does have the problem as well, I would be surprised if it was fixed in 3.0.4, but maybe some accidental change fixed it, let us know if the problem didn't reappear later.

  7. vvzinovyev commented on Apr 11, 2023

    @vvzinovyev

    So far only one file got a dupe since I upgraded to 3.0.4. This version is definitely better than whatever 2.x I had before.

  8. web2wire commented on Apr 24, 2023

    @web2wire

    I'm on 3.0.4 and still getting the same issues. Multiple dupes, sometimes zero sized, along with sometimes originals zero sized also. This is the most worrying for me as it means that images are not in fact being synced but the OwnCloud app thinks they have been. Until later when I go to import them for processing and find that the images are empty/broken and have to see if I've still got the originals on my phone.
    image
    image

  9. mihha commented on May 18, 2023

    @mihha

    I have a similar issue where one image is uploaded to the /CameraUploads folder and the same image is uploaded to the /Camera/Igor folder.

    That second folder is actually the one I configured in the ownCloud android client Settings and that is the folder I would expect to get uploaded files

    I can't get rid of the original /CameraUpload folder

  10. Dehumanizer77 commented on May 18, 2023

    @Dehumanizer77
    Author

    The original problem seems to be fixed now, at least with 4.0-beta4 I didn't notice duplicate files anymore.

  11. vvzinovyev commented on May 18, 2023

    @vvzinovyev

    The original problem seems to be fixed now, at least with 4.0-beta4 I didn't notice duplicate files anymore.

    Cool, installed, let's see!

  12. mihha commented on May 18, 2023

    @mihha

    I installed the latest 4.0 beta version, but this bug still exists

    image

    Good thing is that it seems that other issue (uploading files to the default /CameraUpload and custom folder set in the settings) is being fixed

  13. Dehumanizer77 commented on May 18, 2023

    @Dehumanizer77
    Author

    strange, so I'm just lucky now

  14. mihha commented on May 18, 2023

    @mihha

    It is getting worse

    After some time, I get this
    image

    image

  15. JuancaG05 commented on May 18, 2023

    @JuancaG05
    Contributor

    This is a known issue right now, no specific fix for it in the 4.0 version of the app. We'll check it ASAP and will keep you updated in this thread 🚀

  16. 50 remaining items

  17. jesmrec commented on Jun 4, 2025

    @jesmrec
    Member

    @jsiddall you run the app from the play store? or the instance we shared with a potential fix?

    The doubled app is a known problem

  18. jesmrec commented on Jun 5, 2025

    @jesmrec
    Member

    Well, we are on position to throw out all the discussed improvements above, that will be available in the upcoming 4.6.0 release. But, if any of you want to take a look in advance, you can get a build here (your feedback is welcome!!). I tested with several devices and got no duplications. Please, be aware of the background setup of your devices to allow the uploads to run when the app is not in front of your eyes.

    Pwd for the download: Kb%7G9|l[U-K

  19. joragua commented on Jun 5, 2025

    @joragua
    Member

    Yess! Feedback from users is always welcome and helps us a lot! Feel free to comment here if there are more problems 🍻

  20. reopened this on Jun 5, 2025
  21. jesmrec commented on Jul 22, 2025

    @jesmrec
    Member

    @Dehumanizer77 @web2wire @mihha @DerFuz @jsiddall @vvzinovyev JFYI, version 4.6.0 has been already released with the planned improvements regarding this issue. Could you take a look? your feedback is always welcome!! Thanks!

  22. Dehumanizer77 commented on Jul 22, 2025

    @Dehumanizer77
    Author

    Installed, will let you know in a few days :-)

  23. jsiddall commented on Jul 22, 2025

    @jsiddall

    @Dehumanizer77 @web2wire @mihha @DerFuz @jsiddall @vvzinovyev JFYI, version 4.6.0 has been already released with the planned improvements regarding this issue. Could you take a look? your feedback is always welcome!! Thanks!

    Just installed the update manually. For some reason Play didn't let me know there was an update ready. Anyway, on 4.6.0 now and will report back how things work.

  24. Dehumanizer77 commented on Jul 25, 2025

    @Dehumanizer77
    Author

    Well, the very first image that was uploaded with 4.6.0 has a duplicate with zero length :-/

  25. jsiddall commented on Jul 30, 2025

    @jsiddall

    @Dehumanizer77 @web2wire @mihha @DerFuz @jsiddall @vvzinovyev JFYI, version 4.6.0 has been already released with the planned improvements regarding this issue. Could you take a look? your feedback is always welcome!! Thanks!

    Just installed the update manually. For some reason Play didn't let me know there was an update ready. Anyway, on 4.6.0 now and will report back how things work.

    One week in and so far no duplicates or other errors, though there have only been a few images to upload so far.

  26. Dehumanizer77 commented on Aug 3, 2025

    @Dehumanizer77
    Author

    ok it looks like I did not have any more duplicates since the upgrade, good work

  27. removed this from the 4.6 - Current milestone on Aug 14, 2025
  28. jsiddall commented on Sep 15, 2025

    @jsiddall

    Almost 2 months of using 4.6 and still no duplicates. Thanks for fixing this!

  29. joragua commented on Oct 3, 2025

    @joragua
    Member

    I will close this issue since it seems to be fixed, as you mentioned. Please, feel free to reopen it if the bug shows up again. Thanks a lot for your engagement! 🙌🏻

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions