3

I am getting the following error. I can't backup and cant't restore any database. This will be a huge issue if the database crashes:

Database restore error: Postgres subprocess ('/usr/bin/pg_restore', u'--dbname=back', '--no-owner', '/tmp/tmpKY434e') error 1

Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmp40EUve/dump.sql', u'Live_GasandOil') error 1

Please help this is very critical

Muhammad Kamran
  • 429
  • 1
  • 7
  • 18
  • take a look at this link maybe it can help you https://www.odoo.com/fr_FR/forum/aide-1/question/database-backup-error-postgres-subprocess-usr-bin-pg-dump-no-owner-file-tmp-tmpaa0o5q-dump-sql-u-ahlain-db01-error-1-118245 – Saloua SAHNOUNE May 31 '19 at 07:00
  • At first try to look into the Odoo log. There should be more information why the subprocess throw an error. If that's not helping try to call that process with command line. Use the the same user you're starting Odoo with. – CZoellner May 31 '19 at 07:11
  • You may find something here too: https://github.com/odoo/docker/issues/234 – Charif DZ May 31 '19 at 09:27

1 Answers1

0

The issue was that there was an extra table in the database which was not supposed to be there. on drooping that table i got that fixed.

Muhammad Kamran
  • 429
  • 1
  • 7
  • 18