Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
710 Представления

Hello

i'm on odoo 16 and have a question about backups and cpu timeouts.


When exporting the database using /web/database/manager as ZIP I get a timeout.

In my odoo-server.conf i've set limit_time_cpu and limit_time_real to big values (2400 and 4800) but after about 2mins i still get a timeout and the backup fails.

I also tried the curl-backup from the internet but it actually just uses the same database manager.

This is the curl-output.


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   541  100   164  100   377      1      4  0:02:44  0:01:30  0:01:14    43

Error detected in the response:

user@odooserver:~$


Any ideas what's wrong in my config?


Thanks & best regards!

Аватар
Отменить

Is Odoo running behind Apache or Nginx? Or any other Reverse Proxy or Load Balancing technology? Those places are likely where the shorter timeout is configured.

Автор

I‘m not 100% sure but i think you‘re right…. we should have a nginx here. Need to ask the server admin on monday. Thank you for the hint/idea. Will come back here when I have an update on that case. Thanks.

Автор

Hi Ray. Thank you. Setting the nginx to a higher value timeout worked. Thank you!

Лучший ответ

Hi Luke.

If you're trying to export from your domain, try using your server's IP instead.
 
I had a similar problem. When I tried to export from the domain, I got an Nginx error. But exporting from the server's IP worked for me

Good luck!! 

Аватар
Отменить