Skip to content

Upload file conflict persist independently on user choice #6510

Closed

Description

@kofaysi

Steps to reproduce

  1. Saved a Debug info into a folder
  2. NC app tries to upload
  3. Sync conflict dialogue comes up
  4. user choose all option: keep local, keep server, keep both and rename

Expected behaviour

  • files is synced

Actual behaviour

  • file is uploaded with numerical increment (2), (3),... but sync conflict dialogue comes up again within an hour time

Can you reproduce this problem on https://try.nextcloud.com?

  • Please create a test demo account and see if this still happens there.
  • If yes, please open up a bug report
  • If not, please verify server setup and ask for help on forum

Environment data

Android version: 7.1.3

Device model: LG-H850

Stock or customized system: OSe

Nextcloud app version: Dev channel 20200721

Nextcloud server version: 18 ecloud.global

Reverse proxy:

Logs

Screenshot_20200722-002437
The file creating conflict is to be supplied privately. It is a Debug info.

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

Activity

  1. kofaysi commented on Jul 22, 2020

    @kofaysi
    Author

    Yesterday, the time to the left file said 4 or "6 hour ago". The screenshot says year 1970 to my surprise.

  2. tobiasKaminsky commented on Jul 22, 2020

    @tobiasKaminsky
    Member

    This is indeed strange.
    Do you see this file in upload queue?
    Is this really on server?

  3. added
    needs info
    on Jul 22, 2020
  4. kofaysi commented on Jul 22, 2020

    @kofaysi
    Author

    It would be also nice to be able to see the filename, or/and open file preview by clicking on the thumbnail. It would help to check on details and decide on the sync action.

  5. tobiasKaminsky commented on Jul 22, 2020

    @tobiasKaminsky
    Member

    Filename is the same, as otherwise there would be no conflict ;-)
    File preview is technically a bit challenging as you already have on dialog…
    In such uncertain situations I would just save both and then review them in normal mode.

  6. kofaysi commented on Jul 22, 2020

    @kofaysi
    Author

    OK, thank for the note on the preview, dear Tobias. That is what I did: checked and saved both and reviewed and compared by download on the PC. In some time (1 hour?) the conflict appeared again. (And that is what this issue is about.)

  7. kofaysi commented on Jul 22, 2020

    @kofaysi
    Author

    The files indeed exist on both sides. I'm attaching screenshots about their existence on the mobile and at the cloud as well as some screenshots about their properties.

    Screenshot_20200722-105937_edit_edit
    Screenshot_20200722-105611_edit_edit
    Screenshot_20200722-105541_edit
    Screenshot_20200722-105453_edit
    (Some identification names were disguised.)

    The screenshot here states that all of the files with (#) extension were created 21 hours ago. Than should not be true. each (#) was created with at least 1 hour time difference.
    Screenshot_2020-07-22 Downloads - Files - e

    In the morning the NC Dev app was updated to v20200722 and the conflict appeared right now, too.

    I still keep the two files on the two places. I know that I can get rid off all files and start over, but I hope to help and shed light on the issue.

  8. kofaysi commented on Jul 22, 2020

    @kofaysi
    Author

    (It is indeed strange that I use NextCloud webinterface in English and Firefox Quantum in English locale, but the times on the list are named in Czech. This Czech settings may come from the Computer locate Date and Currency settings...?!)

  9. kofaysi commented on Jul 22, 2020

    @kofaysi
    Author

    Filename is the same, as otherwise there would be no conflict ;-)

    That is correct. But when analyzing any glitch or issue, one cannot see the filename on the conflict preview. The way I found to look up the filename and files up, is to cancel the conflict dialogue and find the most recent failed upload in the upload queue -- which at the time maybe is not the most recent, because other uploads could fails as well for other reasons more recently.

  10. tobiasKaminsky commented on Jul 24, 2020

    @tobiasKaminsky
    Member

    The (2) (3) only appear when you select "keep both" or?

  11. Queuecumber commented on Aug 3, 2020

    @Queuecumber

    I think I'm also having this issue, it's extremely annoying.

    I have the app auto uploading pictures, if I edit one of them then I get the conflict dialog, no matter what option I pick it bugs me again in a few minutes about a conflict. It's a recent breakage it was working fine for a long time. I have that folder set to "overwrite the remote version" in case of a conflict too so in theory I should never see that notification.

  12. Queuecumber commented on Aug 7, 2020

    @Queuecumber

    Even if I turn auto uploading off for that folder I keep getting the notification

  13. slovdahl commented on Aug 21, 2020

    @slovdahl

    I've seen random conflicts from time to time for auto uploaded folders (even though overwrite remote is selected). After the previous update (to 3.13.0), it has started to happen every day and all the time. Even after I manually resolve the conflicts, they keep popping up immediately after. I have added my whatsapp backups as an auto upload folder, see the following screenshots:

    Screenshot_20200821-171646
    Screenshot_20200821-171734

  14. AndyScherzinger commented on Aug 21, 2020

    @AndyScherzinger
    Member

    @tobiasKaminsky wrote a fix that should ship with 3.13.1

  15. tobiasKaminsky commented on Aug 24, 2020

    @tobiasKaminsky
    Member

    Fixed via #6771

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds info

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions