ios icon indicating copy to clipboard operation
ios copied to clipboard

"Zero KB" and "Waiting for upload" issue in iOs

Open 4d1830 opened this issue 5 years ago • 11 comments

Expected behaviour

Photo upload

Actual behaviour

Upload is locked and no ability to upload photos because previous ones are "locked" or "waiting for upload"

Steps to reproduce

Making a screenshoot or a photo.

Reasoning or why should it be changed/implemented?

iOS version

13.5.1

App version

3.0.1.18

Server configuration

Operating system:

Web server: (Hetzner "Storag Share")

Database: MySql 10.3.23

PHP version: 7.4.8

Nextcloud version: 19.0.1

IMG_0987

4d1830 avatar Jul 29 '20 13:07 4d1830

I’m having this issue as well, I am not sure how to provide logs from the iOS app but this did happen after the app update.

Boulderon avatar Aug 05 '20 03:08 Boulderon

@Boulderon Yes, I still have with 3.0.2 version and of course is annoying problem. From what I understood the problem is highlighted most of the time you open the app with the connection disabled.

4d1830 avatar Aug 06 '20 06:08 4d1830

Should be fixed with the 3.0.3

marinofaggiana avatar Aug 07 '20 16:08 marinofaggiana

Should be fixed with the 3.0.3

Nothing to do... also in 3.0.3 still have same problem.

Not only this. If you quit and come back in the app, first photos of list marked as "Zero KB" are pulled out from list so you lose ability to upload that photos....

IMG_1060

4d1830 avatar Aug 07 '20 16:08 4d1830

Hi, can you be more clear

are pulled out from list so you lose ability to upload that photos

what you mean? and how I can reproduce this issue ?

thanks

marinofaggiana avatar Aug 08 '20 08:08 marinofaggiana

I'm having a similar issue; every 5th to 10th file being synced from my iPhone to Nextcloud appears with 0 bytes on the server.

(I'm using v 3.0.4 of the iOS client).

What I'm seeing int the transfers list (in the iOS Nextcloud app), don't know whether this is related:

  • Sometimes the same file name (of photos from the camera roll) appears twice in the list.
  • Sometimes it says "Resource is locked" (which disappears after some time; don't know if this results in a zero byte file later on)

UweKeim avatar Aug 16 '20 10:08 UweKeim

Same issue nextcloud 19.0.4nc Mariadb and php 7.4 ios14 app ios version 3.0.8

michal-vasko avatar Oct 21 '20 20:10 michal-vasko

From logs, it looks like it says

'No new assets found'

phil-hudson avatar Oct 22 '20 04:10 phil-hudson

I was having this issue and the iOS app (app version 3.1.0.7, server version 20.0.4) listed in the logs a lot of errors error code 413, file too big even though the photos I was trying to upload were like 2MB each

I realized later it was a problem of the nginx reverse proxy I use with docker repository here. I fixed the issue by creating a uploadsize.conf file with the following content

client_max_body_size 10G;
proxy_request_buffering off;

And mounting it as a volume of the nginx-proxy container at path /etc/nginx/conf.d/uploadsize.conf

This fixed my upload problems from iOS

f-izzo avatar Dec 28 '20 09:12 f-izzo

I was having this issue and the iOS app (app version 3.1.0.7, server version 20.0.4) listed in the logs a lot of errors error code 413, file too big even though the photos I was trying to upload were like 2MB each

I realized later it was a problem of the nginx reverse proxy I use with docker repository here. I fixed the issue by creating a uploadsize.conf file with the following content

client_max_body_size 10G;
proxy_request_buffering off;

And mounting it as a volume of the nginx-proxy container at path /etc/nginx/conf.d/uploadsize.conf

This fixed my upload problems from iOS

Can someone walk me through how to employ this solution with the SWAG docker container? I've tried updating nginx.conf & nextcloud.subdomain.conf. Still no dice. I'm trying again by clearing cache in the app and toggling the Upload the whole camera roll again & again.

that1guy avatar Apr 24 '21 08:04 that1guy

I was having this issue and the iOS app (app version 3.1.0.7, server version 20.0.4) listed in the logs a lot of errors error code 413, file too big even though the photos I was trying to upload were like 2MB each

I realized later it was a problem of the nginx reverse proxy I use with docker repository here. I fixed the issue by creating a uploadsize.conf file with the following content

client_max_body_size 10G;
proxy_request_buffering off;

And mounting it as a volume of the nginx-proxy container at path /etc/nginx/conf.d/uploadsize.conf

This fixed my upload problems from iOS

Just wanted to confirm that this fixed the issue for me. I bumped mine up to 20G, as I have some 4K videos that need to get uploaded. Using NginxProxyManager, under the specific proxy host, click the Advanced tab, and add the two lines quoted above. As soon as I clicked save, the upload started from my ios device.

TheChrisTech avatar Dec 28 '21 21:12 TheChrisTech

client_max_body_size 10G; proxy_request_buffering off;

also worked for me in android.

werto165 avatar Jul 24 '23 08:07 werto165