Code Monkey home page Code Monkey logo

Comments (4)

yosifkit avatar yosifkit commented on August 24, 2024

I would guess that --check doesn't start the temporary servers that just pg_upgrade does when actually doing the upgrade, so it likely doesn't work in a container (but maybe PGHOST to your running container would make it work).

from docker-postgres-upgrade.

jicki avatar jicki commented on August 24, 2024

pls How to solve this problem.

9.6 to 12

connection to database failed: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/lib/postgresql/.s.PGSQL.50432"?

Solution:

cat pg_upgrade_server.log

    LOG:  invalid value for parameter "lc_monetary":  "zh_CN.UTF-8"

update lc_monetary": "zh_CN.UTF-8" to lc_monetary": "en.US.UTF-8"

from docker-postgres-upgrade.

cobolbaby avatar cobolbaby commented on August 24, 2024

@jicki

I also met the same question, but the reason is that I didn't specify the env PGDATAOLD which is different from the default value.

Besides, I'd like to know how to check the pg_upgrade_server.log after the pg_upgrade container exit?

from docker-postgres-upgrade.

theAkito avatar theAkito commented on August 24, 2024

I'd like to know how to check the pg_upgrade_server.log after the pg_upgrade container exit?

You could, for example, put it into a host volume.

from docker-postgres-upgrade.

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.