While grappling with a perplexing ‘413 REQUEST ENTITY TOO LARGE’ error during the restoration of a sizable database backup onto an existing server, the common reflex was to scrutinize the nginx configuration file. However, the root cause proved elusive, as the same issue persisted when loading Odoo with an IP and port. Before you jump to the standard advice of adjusting ‘client_max_body_size’ in your nginx configuration, bear with me, because this situation is peculiar and unrelated to nginx or Apache. In an unexpected twist, the solution resided not in the nginx configuration but in the Odoo configuration file (/etc/odoo/odoo.conf). The key was to add a parameter with a significantly higher value:
web.max_file_upload_size =
For more insights and professional Odoo Community/Enterprise implementations, connect with us at hashcodeit.com or drop an email at [email protected], +971545975212. Transform your Odoo journey with precision and expertise!