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

Hello everyone,

I installed odoo in docker container, when I want to back up, it shows me this error :Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpdn2ksi3i/dump.sql', 'mydatabase) error 1



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

Please use a meaningful title.

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

This is typically caused by a mismatch in the version numbers of psql between the odoo and the postgres container. The version number of psql in the Odoo container should be equal to or higher than the version in the database container.

You can use the following commands to check the versions of psql in the 2 containers while they are up and running:

 docker exec odoo psql -V

 docker exec db psql -V

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

I have the same issue. Is this a problem ?

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