Comments (4)
Postgres changed container networks (matrix
-> matrix-postgres
) recently, so that may have something to do with your issue.
Make sure you've upgraded your setup (just setup-all
) first, before trying to perform an upgrade (upgrade-postgres
).
In any case, I believe the code should handle it fine anyway, so maybe the problem lies elsewhere.
from matrix-docker-ansible-deploy.
thanks for the fast reply,
I already did upgrade and setup everthing and just did a docker inspect matrix-postgres
which shows the container is already using matrix-postgres
as network.
from matrix-docker-ansible-deploy.
In that case, during the upgrade, the newly-created Postgres instance is probably too slow to start and at the time we try to import to it, it's not available yet.
You can add an extra variable to the upgrade procedure to add a larger delay. It's 15 seconds by default.
Try adding --extra-vars postgres_start_wait_time=30
at the end of your --tags=setup-postgres
command.
It may be something else too, but.. that's my next guess as to what's wrong.
from matrix-docker-ansible-deploy.
unfortunately it didn't work as well...
the problem seems, postgres isn't able to start at all before importing even if I do systemctl restart matrix-postgres
manually. It's saying it can't start because the database-data was initialized by postgres 15 and so can't be used to start postgres 16.
I thought thats exactly why postgres-database is moved (to backup-location) before upgrading and then it should be imported back. Somehow there seems to be some data left over?!
from matrix-docker-ansible-deploy.
Related Issues (20)
- Don't stop Traefik if not neccessary
- Jitsi Matrix Auth failing
- Disabling HTTPS in vars.yml doesn't disable it in clients configuration HOT 1
- Ensure Postgres systemd service installed - ansible_processor_nproc'' is undefined HOT 1
- Federation issue + possible fix HOT 1
- Synapse cache autotuning does not consider available RAM and workers
- traefik issue for bridge connection after update HOT 1
- Problem with docker.asc in keyrings after last chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.108.0 HOT 4
- Synapse server occasionally suddenly unresponsive HOT 1
- Help HOT 1
- Enabling matrix-media-repo for an arm64 server results in the wrong architecture being installed
- Wechat bot will not respond HOT 1
- matrix-media-repo manifest unknown
- Federation not working/ 404 Page not found / Playbook Error HOT 4
- Importing an existing Postgres database from another installation
- Element calls not possible without turn.matrix.org enabled (jitsi works however) HOT 3
- Jitsi playbook don't change meet.element.io
- Sliding Sync Metrics HOT 1
- [Feature Request] Add matrix-matrix double puppeting bridge.
- Synapse setup with Mautrix Double puppeting bridges. No Bot Chats available. HOT 2
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 matrix-docker-ansible-deploy.