Giter VIP home page Giter VIP logo

Comments (5)

kogre avatar kogre commented on May 24, 2024

Thanks for reporting @jamwithsam

We're releasing a new image very soon, probably tomorrow, that resolves the issue. It depends on this PR: #221 getting merged.

from citizenlab.

kogre avatar kogre commented on May 24, 2024

A new image has been released that resolves the issue with the database commands.
First, pull in the new images

docker-compose pull

Then retry the command

docker-compose run --rm web rake db:create db:migrate db:seed

If it still doesn't succeed, you can try deleting your database folder to start over with a clean database by deleting its folder

rm -rf postgresql-data

from citizenlab.

jamwithsam avatar jamwithsam commented on May 24, 2024

Thank you for the update and fix @kogre

The database initialization was successful after the update

from citizenlab.

jamwithsam avatar jamwithsam commented on May 24, 2024

I noticed I had an ERROR: 1 when running the command again docker-compose run --rm web rake db:create db:migrate db:seed

and its as followed:

W, [2021-05-13T15:04:34.725435 #1] WARN -- #<Bunny::Session:0x55c9c27c26f8 guest@rabbitmq:5672, vhost=/, addresses=[rabbitmq:5672]>: Could not establish TCP connection to rabbitmq:5672: Connection refused - connect(2) for 172.18.0.4:5672
Database 'citizenlab' already exists

is this okay @kogre?

from citizenlab.

kogre avatar kogre commented on May 24, 2024

Great that it got resolved!

Yes, this is okay, it's startup timing issue between containers, but which resolves itself.

from citizenlab.

Related Issues (19)

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.