Comments (4)
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.
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.
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.
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)
- wont start - fails to find socket of source postgres HOT 2
- Upgrading from 14 to 15 failing with `"/var/lib/postgresql/14/data/PG_VERSION": No such file or directory` HOT 5
- Docker image should run pg_upgrade's generated update_extension.sql file when present HOT 2
- support custom username for example "-U my_username" when connecting HOT 6
- Break database made with Alpine-based container HOT 6
- PostgreSQL 16 HOT 3
- TO VERSION 16 HOT 1
- 11 to VERSION 16 REQUEST HOT 1
- Cannot create directory: File exists. HOT 1
- Docker image for ARM64 (aarch64 / Arm Ampere) architecture HOT 1
- "could not create any Unix-domain sockets" HOT 2
- Add ARM Arch Support HOT 1
- Does the operation of `exec gosu postgres "$BASH_SOURCE" "$@"` overlap with `exec "$@"`? HOT 4
- 13-to-15: FATAL: role "postgres" does not exist HOT 2
- How to support PostgreSQL database upgrade with multiple tablespaces HOT 1
- Collation warning
- script to review when username is not postgres - permission issue
- Is there a reason to remove upgrade ability for older versions? HOT 2
- chown fails
- Support for linux/arm64/v8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-postgres-upgrade.