Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
27352 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất
add this into conf file if you are using window.
pg_path= C:\Program Files\PostgreSQL\10\bin


Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

video reference here


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 23
1721
1
thg 6 23
5576
0
thg 6 21
3435
5
thg 12 24
33609
3
thg 2 25
7146