ios icon indicating copy to clipboard operation
ios copied to clipboard

Unable to upload files from iOS when file is in iCloud

Open fe-ax opened this issue 8 years ago • 26 comments

Expected behaviour

Uploading from iOS when picture is in iCloud will be uploaded

Actual behaviour

Uploading from iOS when picture is in iCloud will not be uploaded but the badge says 1, the transfer transactions screen is empty

Steps to reproduce

Install nextcloud on iOS. Setup photo storage optimalisation. Wait until photo's are in the iCloud and not on the mobile device anymore try to upload a video to the nextcloud.

iOS version

iPhone X on iOS 11.1.2

App version

2.19.0 (now 2.19.1)

Server configuration

Operating system: CentOS 7

Web server: Apache 2.4

Database: MariaDB 5.5.56

PHP version: PHP 7.0.26

Nextcloud version: (see Nextcloud admin page) Nextcloud 12.0.4

fe-ax avatar Dec 21 '17 12:12 fe-ax

Just to update. The badge is now there for more than 5 hours. Is there something I can check or do to give more details on this issue?

fe-ax avatar Dec 21 '17 14:12 fe-ax

Please check for v2.19.1 and try it. Should be available soon.

rakekniven avatar Dec 21 '17 18:12 rakekniven

It didn't seem to fix it, the same thing is happening although now it shows badge (3) since I tried 3 times now.

fe-ax avatar Dec 21 '17 21:12 fe-ax

Updated iOS to 11.2.1, nothing changed. Cleared cache, badges disappeared. When uploading a file from iCloud badge turned 1 and nothing else happens again. When I shoot a video and upload that one, the file is uploaded correctly

fe-ax avatar Dec 22 '17 10:12 fe-ax

Have same problem on iPhone 7, iOS 11.2.1 and Ubuntu 17.10. Tried to load my photolibrary(which is already in iCloud) into nextcloud. At start I have about 2700 photos, loading stops always on 2450.

wuzzapcom avatar Dec 26 '17 18:12 wuzzapcom

Could you try to clear your cache and upload the oldest photo of your phone album without opening this picture in iOS album to verify it really is the same problem?

fe-ax avatar Dec 26 '17 21:12 fe-ax

Hmm, how connected uploading oldest photo without opening and described actual/expected behaviour?
So, I've tried to figure it out.

What I did:

Set auto upload in settings.

What happened:

some photos uploaded into nextcloud.

What I've expected:

That every photo from my photolibrary will be upload to nextcloud and that all new photos will upload automatically.

My assumptions:

I think that iCloud somehow changes paths of saved photos. And this is a reason, why not all my photolibrary stored into nextcloud, but some photos did.

Update

Just realized that new screenshot uploaded into nextcloud, but new photos don't.

wuzzapcom avatar Dec 29 '17 17:12 wuzzapcom

Indeed, the location of icloud photos is different. Apps can be aware of this location as some apps notify you of a longer upload time when uploading from icloud. I think the auto upload feature issue is connected to this issue.

fe-ax avatar Dec 29 '17 20:12 fe-ax

Yes, I agree with you. It should be easy to fix when we have found the problem :D

wuzzapcom avatar Dec 29 '17 21:12 wuzzapcom

Please, who make a test with new beta on TestFlight for this issue ?

marinofaggiana avatar Jan 12 '18 14:01 marinofaggiana

@marinofaggiana Hi, i will if you accept my TestFlight request in your email.

wuzzapcom avatar Jan 12 '18 14:01 wuzzapcom

thanks @wuzzapcom try the new build 7

marinofaggiana avatar Jan 12 '18 15:01 marinofaggiana

@marinofaggiana got invite, but last version is 2.19.2(6)

wuzzapcom avatar Jan 12 '18 17:01 wuzzapcom

@wuzzapcom open and verify in your TestFlight the last is the 7 .. 8 today

marinofaggiana avatar Jan 15 '18 16:01 marinofaggiana

@marinofaggiana so, I`ve tried uploading in version 7. Loading had stopped after about 1.5k files and didn't started again. And during uploading I got few iCloud errors like this one below.

img_2852

wuzzapcom avatar Jan 15 '18 18:01 wuzzapcom

A question @wuzzapcom after this errors the upload continue ?

marinofaggiana avatar Jan 16 '18 11:01 marinofaggiana

@marinofaggiana yes, after this upload continued. It stopped without any reason for me much later.

wuzzapcom avatar Jan 16 '18 11:01 wuzzapcom

I have set a counter of error MAX 10 ... after stop ... I think that 10 is too low ... I set this to 100 ... (next build)

marinofaggiana avatar Jan 16 '18 11:01 marinofaggiana

@marinofaggiana as user i think, that you give not enough information about the process to user. I don't know, did my photos uploaded, what uploaded and what didn't. I think, that it would be better to do a separate list with unloaded and caused errors files. And do not stop uploading after N errors. You can do it in settings(where user should enable auto uploading), and more, you can show estimated time to end and some other useful info there. By the way, in my case performance with background uploading was awful. I even couldn't open another tab or press anything, app freezed for tens of seconds.

wuzzapcom avatar Jan 16 '18 11:01 wuzzapcom

Use Activity view for see the uploads failure.

marinofaggiana avatar Jan 16 '18 12:01 marinofaggiana