Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
7138 มุมมอง

I want to upload file,whos size in MB not in KB,in log attachment and on in any binary field of odoo.

I get info that it has max capicity is 25 MB.But i m not abel to upload any file more than 5MB ,on odoo community version on my  ubnutu server.

I tried to do in demo.odoo.com ,which took more than 10 mintues ,but no success on my server for  community version.



อวตาร
ละทิ้ง

I am facing the same for a very long time. Thanks for the information.\

Please check.

ผู้เขียน คำตอบที่ดีที่สุด

Hi,

 really thanks for replying,at the end i understand there is problem in nigx.

  • ,below worked for me

  • nano /etc/nginx/nginx.conf  

    Add a line in the http section: 

     http { client_max_body_size 100M; }

     restart nigx it

     

    อวตาร
    ละทิ้ง
    คำตอบที่ดีที่สุด

    I have the same issue with this.  After your solution. https://thesmokerreviews.com/ the problem seems to have been solved, and I'm so happy about it.

     Thank  you

    อวตาร
    ละทิ้ง
    คำตอบที่ดีที่สุด

    You should increase the CPU Limit. 

  • limit_time_real = 300
  • limit_time_cpu = 300

  • Are you using nginx? Then, there are header related fixes.

    In this file, comment this line:

    add_header X-Frame-Options DENY;

    and add this line:

    add_header X-Frame-Options SAMEORIGIN;

    and restart nginx

    sudo service nginx restart

     
    อวตาร
    ละทิ้ง
    Related Posts ตอบกลับ มุมมอง กิจกรรม
    0
    เม.ย. 24
    1381
    1
    พ.ย. 21
    15529
    0
    มิ.ย. 18
    3874
    9
    ก.ค. 15
    7461
    2
    ส.ค. 25
    2394