This question has been flagged
1 Reply
1475 Views

I moved my database from postgresql10 to 14, and after that de database backup gives error.

Database backup error: Postgres subprocess ('/usr/lib/postgresql/10/bin/pg_dump', '--no-owner', '--file=/tmp/tmpkd5v17ya/dump.sql', 'sunlake') error 1


The solution is: Change the postgresql  bin path in odoo config file to new version:

OLD:  pg_path = /usr/lib/postgresql/10/bin/
NEW: pg_path = /usr/lib/postgresql/14/bin/


Avatar
Discard
Author Best Answer

The solution is: Change the postgresql  bin path in odoo config file to new version:

OLD:  pg_path = /usr/lib/postgresql/10/bin/
NEW: pg_path = /usr/lib/postgresql/14/bin/


Avatar
Discard