•  
      request #17933 Increase upload max size for FRS service
    Infos
    #17933
    Loïc Lefort (lefort)
    2020-10-30 12:09
    2020-10-30 12:09
    19465
    Details
    Increase upload max size for FRS service
    Hello

    I try to increase upload max size for FRS service.
    I have updated parameter $sys_max_size_upload in file /etc/tuleap/conf/local.inc and I can now upload larger files than before.
    I set limit to 500M on codex-test, but when I try to upload a file larger than 250M (250M is ok 300M is not ok), my browser never receive a response (confirmation nor error).
    In nginx/error.log, I can see message
    2020/10/30 11:42:10 [error] 23780#0: *200 FastCGI sent in stderr: "PHP message: PHP Warning: POST Content-Length of 314577309 bytes exceeds the limit of 268435456 bytes in Unknown on line 0" while reading response header from upstream, client: 10.251.25.82, server: codex-test.st.com, request: "POST /file/admin/release.php?func=update&postExpected=&group_id=5489&package_id=13358&id=39963 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "codex-test.st.com", referrer: "https://codex-test.st.com/file/admin/release.php?func=edit&group_id=5489&package_id=13358&id=39963"

    I tried to update config in php.ini (found /etc/opt/remi/php73/php.ini and /etc/php.ini but not sure which one is used) and restarted services but still I get error in nginx log.

    Which parameters shall be updated to increase upload size limit and which service shall be restarted ?

    I know file could be uploaded through FTP, but I don't want to use this method as FTP service will soon be deactivated.

    Thanks and regards
    Loïc
    Delivery/File release system
    12.1
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty