Knowledgebase

Question About Servers

How to Increase Database Download Size for Odoo Front-End Print

  • 0

This article will explain how to change the Database Download Size in Odoo.

 

Use SSH to Connect to the Odoo Server

The first thing you need to do is to connect to the server where your Odoo instance is hosted through the SSH protocol (in order to execute the commands).

 

Change Nginx Configuration

Open the Nginx configuration file (change odoo-example.com to an actual domain name of the Odoo instance): 

sudo nano /etc/nginx/sites-enabled/odoo-example.com  

 

Find the server section and set the client_max_body_size parameter to 0. It should look similar to this: 

...

server {
    client_max_body_size 0;
    ...
}

 

Inside the server section, find the location / section and set the proxy_max_temp_file_size setting to 4096M. It should look similar to this: 

...

server {
    client_max_body_size 0;
    ...
    location / {
        ...
        proxy_max_temp_file_size 4096M;
    }
}

 

Restart Nginx

sudo systemctl restart nginx

Was this answer helpful?

« Back

Enterprise-Grade Hardware

  • Samsung
  • Juniper
  • Western Digital
  • Supermicro
  • LSI
  • Intel
  • R1Soft Backups
  • cPanel
  • MySQL
  • Parallels
  • HP Partner

We Accept

Accepted Credit Cards