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

Hi all,


I have setup an Odoo instance on AWS.
 
Postgres is setup on a different server from the odoo instance.

I can create a new database but I cannot see it on the /web/database/backup page. I know it's created because when I try to run the command again, I get the already exists error.


I keep getting Database restore error. Command 'psql' not found when I try to test if a restore for an old database works.

I can't even backup the default database as that gives me a Postgres error too.

So the connection and my config seems to kinda work but not fully. How do I get the psql commands to work?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด
add this into conf file if you are using window.
pg_path= C:\Program Files\PostgreSQL\10\bin


อวตาร
ละทิ้ง

Thank you, I can resolve my error. Just a little bit note: we need to upgrade module base (if have) :D

คำตอบที่ดีที่สุด

video reference here


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

Please check this link, it might be a good help !

https://github.com/Yenthe666/InstallScript/issues/178

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

Please see this video https://youtu.be/J91jfMIJV2Y

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

If anyone stumbles upon this in the future, I solved this by installing postgresql on the same EC2 instance as the odoo app.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 23
1761
1
มิ.ย. 23
5715
0
มิ.ย. 21
3496
5
ธ.ค. 24
33947
Staging to Production database แก้ไขแล้ว
3
ก.พ. 25
7467