personium / website

Website and Documentation for personium.io
https://personium.io
2 stars 5 forks source link

How to increase upload file size #125

Closed dixonsiu closed 2 years ago

dixonsiu commented 3 years ago

The help manual does not state clearly how to increase the file size of uploaded file. Currently, 5MB file failed to be uploaded.

yoh1496 commented 3 years ago

Hi dixon,

Is this about 413 Request Entity Too Large error?

Maybe, this is related to client_max_body_size parameter in nginx configuration.

http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size

dixonsiu commented 3 years ago

Let me check later with my Personium Unit. Thank you for the information.

dixonsiu commented 3 years ago

image

image

気になる100mですが、Mではないですね。不思議。

dixonsiu commented 3 years ago

300Mに設定したが、今度は403エラーでした。<-- ファイル名がspaceか日本語かのせいで失敗でした。 ファイル名を変更したら、uploadが成功した。

yoh1496 commented 3 years ago

It's good! So, is this solved?

I think these Tomcat options may effects limit of upload size.

https://tomcat.apache.org/tomcat-9.0-doc/config/http.html

These options limits size of uploads 2MB by default.

dixonsiu commented 3 years ago

The problem is solved. Thank you @yoh1496 !

I will discuss with Personium Team which chapter is the best place to add the procedures to increase upload file size.