Git Product home page Git Product logo

Comments (4)

spantaleev avatar spantaleev commented on June 27, 2024

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.

whowantsmybigdata avatar whowantsmybigdata commented on June 27, 2024

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.

spantaleev avatar spantaleev commented on June 27, 2024

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.

whowantsmybigdata avatar whowantsmybigdata commented on June 27, 2024

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)

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.