Docker: Destktop client seems to be unable to sync big files

Created on 3 Jan 2018  ·  5Comments  ·  Source: nextcloud/docker

Nextcloud client 2.3.3
(Client) Ubuntu 17.10
(server) Ubuntu 16.04
Nextcloud server 12

I'm using Nextcloud with a Docker image in a docker-nginx-reverse-proxy-companion-letsencrypt type of environment.

My problem is


03/01/2018 05:03:58,           Notes/evernotes/attachments/1888597437. 2014 11:43:46,                     Nextcloud,L'opération est annulée [ _operation cancelled_ ]
03/01/2018 05:03:58,                     Notes/evernotes/attachments/1620875799.docx,                     Nextcloud,L'opération est annulée  [ _operation cancelled_ ]
03/01/2018 05:03:58,                      Notes/evernotes/attachments/1674516874.pdf,                     Nextcloud,Connexion fermée  [ _connexion closed_ ]
03/01/2018 05:03:27,                             Notes/Archive/media/1897464188.jpeg,                     Nextcloud,Cet élément n'a pas été synchronisé en raison des erreurs précédentes : Error transferring https://mydomain/remote.php/dav/files/julien/Notes/Archive/media/1897464188.jpeg - server replied: Request Entity Too Large
03/01/2018 05:03:27,                                                .Contacts-Backup,                     Nextcloud,Le fichier ou dossier a été ignoré car il est masqué.


In my admin parameters the max file size is set to the default value though (511mb). How can i debug that?
All the files that cause a problem in the syncing process seem to be heavier than 1mo. (my folder is made of .md files notes and a bunch of images. Small ones work. Big ones cause me problems. Same for pdf and other type of files biggest than ~1.2mo or something.) Is this a known issue?

help wanted

All 5 comments

Are you sure your proxy is configured to handle large files?

See our examples

I've seen nothing related to this in @evertramos provided docker files https://github.com/evertramos/docker-nextcloud-letsencrypt/. Do you have any issue like this mate?

@SnowMB i'm looking into the link you provided and will update here soon

Hello @Julianoe!

@SnowMB is probably right!

I did not have this issue with small files... but with some large files above 1 Gb I had to set the client_max_body_size option in the NGINX configuration.

You could add this file uploadsize.conf to your ./data/conf.d folder, restart your nginx-web container, and test it.

I have tested with 5Gb file size, it passes it through.

Seems to be working like a charm! Thanks to both of you i'm rocking a cloud :+1: and will for a few friends.

Just for reference... I have updated our webproxy so you could have your special conf files as optional.

Just pull the latest version of our webproxy, set the option USE_NGINX_CONF_FILES=true at your .env file and run our start script.

Cheers!

Was this page helpful?
0 / 5 - 0 ratings