Ios: App uploads photos twice

Created on 23 May 2017  路  14Comments  路  Source: nextcloud/ios

  • enable auto upload and pressing the "upload all existing photos" button
  • having some files to be uploaded
  • check the server logs:

    • PUT -> response 201 (new file created)

    • PUT to the same file -> response 204 (file overwritten) -> not needed

    • GET to the same file -> not needed

cc @marinofaggiana

App version was build with 792a3a3

3. to review bug

All 14 comments

cc @cguerra @maej90

Bug why ? who has found this and why, this is not a bug this is a choice, If I send to server 10.000 photos i need send 10.000 request to server exists file ?
The correct procedure is ? rewrite ? skip ? question ?

Bug why ? who has found this and why, this is not a bug this is a choice, If I send to server 10.000 photos i need send 10.000 request to server exists file ?
The correct procedure is ? rewrite ? skip ? question ?

But you send 30.000 requests. We started the app and hooked up a proxy to monitor the network traffic. That is what we have seen. Why should you upload a file, upload it 2 seconds later again and then after this directly download it? This happened for dozens of files and was only triggered by enabling the "upload all existing photos" and then no interaction with the app happened.

Download ? are you sure that the folder isn't favorite (sync files?) mmm no here is a strange ... it's possible reproduce the issue ?

Thanks

Download ? are you sure that the folder isn't favorite (sync files?) mmm no here is a strange ... it's possible reproduce the issue ?

We did this on a device that I currently don't have - will retry next week, but I'm pretty sure it will happen again.

for security today I see this issue but now I have the 2.17.3 ... after I try. Thanks

For me is correct ... 4 file on camera roll, Send all ... only 4 upload, nothing download, no resend ...

schermata 2017-06-02 alle 14 20 02

please if possible, more information. thanks

I just experience in the past months a lot of those "WebDAV locked errors". Recently I noticed that some files are queued twice and then sometimes are being processed in parallel, which causes obviously a "Locked" error, because the iOS app wants tp upload to the very same location. Removing one of those two entries solves the issue:

18-05-12 00-28-46 0541

@marinofaggiana Could you check why some files are queued twice? This is quite critical, because this is the main reason I need to go into the app to check if the upload worked and fix the problem manually.

Yes @MorrisJobke I know this issue, is in ToDo the remake of queue.

Yes @MorrisJobke I know this issue, is in ToDo the remake of queue.

Is there any ETA when this will make it into the app?

Sure next month after the File Provider Extension

@marinofaggiana Any updates on this?

yes, I have correct several month ago :-)

yes, I have correct several month ago :-)

Then close the ticket if this is solved :)

Was this page helpful?
0 / 5 - 0 ratings