Skip to Content
Menu
This question has been flagged
989 Views

Hi,

Thanks a lot before help.

My odoo, Version 13 , postgres 12, nginx

Download crash everytime at the end, so the save is always corrupte.

My odoo.error.log  :

2022/11/13 16:22:22 [error] 1087364#1087364: *393 readv() failed (104: Connection reset by peer) while reading upstream, client: 54.39.240.19, server: odoo\*\*\*\*\*\*\*\*\*\*\*\*\.fr,\ request:\ "POST\ /web/database/backup\ HTTP/1\.1",\ upstream:\ "http://127\.0\.0\.1:8069/web/database/backup",\ host:\ "odoo13\*\*\*\*\*\*\*\*\*\*\*\*\.fr",\ referrer:\ "https://odoo13************.fr/web/database/manager"

my odoo.conf :

db_host = False
db_port = False
db_user = odoo
db_password = False
list_db = True
xmlrpc_port = 8069
proxy_mode = True
longpolling_port = 8072
logfile = /var/log/odoo/odoo.log
logrotate = True
addons_path = /opt/odoo/odoo13/addons,/opt/odoo/odoo13-custom-addons/*******
limit_time_cpu = 1000000
limit_time_real = 1000000
limit_memory_hard = 7247757312
limit_memory_soft = 6039797760
limit_request = 8192
max_cron_threads = 2
workers = 9

And nginx : 

upstream odooserver {
server 127.0.0.1:8069;
}

server {
listen 80;
server_name odoo***********.fr;

access_log /var/log/nginx/odoo_access.log;
error_log /var/log/nginx/odoo_error.log;

proxy_read_timeout 1400s;
proxy_connect_timeout 720s;
proxy_send_timeout 720s;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;

location /longpolling {
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
proxy_pass http://127.0.0.1:8072;
}

location / {
proxy_redirect off;
proxy_pass http://odooserver;
}

location ~* /web/static/ {
proxy_cache_valid 200 90m;
proxy_buffering on;
expires 864000;
proxy_pass http://odooserver;
}

gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;
}

Thanks a lot for your help !!!

Avatar
Discard
Related Posts Replies Views Activity
0
Jul 24
114
1
Jul 23
2219
1
Dec 22
3687
2
Oct 24
705
0
Jun 24
119