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

I have been trying to restore big backups but failing at the process, having Internal Server Errors or 404 Error

From what I've read, it's due to a timeout, so the database doesn't finish loading completely.


How can this problem be solved and the process made as simple as possible?

I use Odoo 16 Community

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

Change the value of limit_time_cpu and limit_time_real in your Odoo configuration file, as discussed in the documentation.

https://www.odoo.com/documentation/17.0/developer/reference/cli.html#cmdoption-odoo-bin-limit-time-cpu

For Odoo.sh, both of these are set to 900 instead of the default 60 and 120.

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

Hi,
Either you can increase the time out limit of odoo/nginx or you can try restoring using the commands from terminal.

For example, if you have dump file, you can restore as follows:  Restore Database From Command Line Using Dump File in Odoo

  also with pg_restore command also you can restore the db and manually move the filestore.


Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มิ.ย. 24
672
1
ธ.ค. 22
5090
1
พ.ค. 22
3652
1
เม.ย. 22
5126
2
พ.ย. 20
3899