ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: "The total size of the files uploaded at once is too large." error while uploading a file.

Open rk32ram opened this issue 1 year ago • 4 comments

Describe your problem

I have added to the docker env MAX_CONTENT_LENGTH=100000000000 and also added to the nginx.conf this line - client_max_body_size 100M. still i am facing the issue when i upload a file more than 1 mb.

rk32ram avatar Nov 14 '24 12:11 rk32ram

Please refer to this.

KevinHuSh avatar Nov 15 '24 01:11 KevinHuSh

Please refer to this.

Hi Kevin, if I go to ragflow/docker/nginx/nginx.conf I see that there is already client_max_body_size 1024M, but I still cannot upload a file that is about 120MB large.

Could you elaborate a bit further on which answer you are referring to on that thread and/or more specifically how to change that in the specific case of running dockerized ragflow?

andrealesani avatar Mar 17 '25 14:03 andrealesani

Please refer to this.

Hi Kevin, if I go to ragflow/docker/nginx/nginx.conf I see that there is already client_max_body_size 1024M, but I still cannot upload a file that is about 120MB large.

Could you elaborate a bit further on which answer you are referring to on that thread and/or more specifically how to change that in the specific case of running dockerized ragflow?

not just set client_max_body_size 1024M in ragflow/docker/nginx/nginx.conf, but also pay attention to the /etc/nginx/nginx.conf on the host, I guess you are using a reverse proxy to access ragflow container.

qogris avatar Nov 24 '25 10:11 qogris

What about this one?

Image

KevinHuSh avatar Nov 27 '25 01:11 KevinHuSh

Since there has been no further activity for over three weeks, we will proceed to close this issue. If the problem persists or you have additional questions, please feel free to reopen the issue or create a new one. We’re happy to assist anytime.

Magicbook1108 avatar Dec 15 '25 07:12 Magicbook1108