Code Monkey home page Code Monkey logo

Comments (6)

badbole avatar badbole commented on August 17, 2024 1

same happens without this module, resolve it by installing postgres specific client version in odoo container:
instead of postgresql-client use: postgresql-client-13 and all should be good

from server-tools.

sysadminmatmoz avatar sysadminmatmoz commented on August 17, 2024

I think this is PostgreSQL >= 16 related, since I encounter this issue on all the servers where PostgreSQL 15 -> 16 db upgrade was performed.
It concerns this module since pg_dump --no-owner -d dbname > date_in_yyyy-mm-dd.dump.sql works fine from command line, but not directly since the problem starts with dump_db method from base odoo db.py service file.

It seems that my case confirms [this issue](TRESCLOUD/odoo@977fe3b effects also raw OS and is related to the pg_dump versions > 16.1.

from server-tools.

badbole avatar badbole commented on August 17, 2024

@claudiobgit did my answer resolve the issue? can you mark it resovled and close or do you still face the same problem?

from server-tools.

claudiobgit avatar claudiobgit commented on August 17, 2024

@claudiobgit did my answer resolve the issue? can you mark it resovled and close or do you still face the same problem?

I didn't want to mess with the db client on the Odoo server and properly install postgresql-client-13 in the odoo container (Debian buster) as it could be critical for other services. So I ended up with a cron job that executes the pg_dump command from the Odoo container and that works perfectly. We can close this issue but not really solved.

from server-tools.

badbole avatar badbole commented on August 17, 2024

FYI.... for odoo 14 suggested postgresql version is 12... and that one works without prolem..
offcourse, newver versions of psql will work with respectful clients installed :)

from server-tools.

claudiobgit avatar claudiobgit commented on August 17, 2024

FYI.... for odoo 14 suggested postgresql version is 12...

This sounds new because we were getting Odoo official images from the hub and the Docker compose yaml was taking in Postgres 13 not 12.

from server-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.