GithubHelp home page GithubHelp logo

Comments (9)

mattrobenolt avatar mattrobenolt commented on August 15, 2024

I'm not sure what you did wrong, but the error itself is pretty obvious. It can't route the hostname "postgres" to an IP address.

from self-hosted.

dwandw avatar dwandw commented on August 15, 2024

windows bug, do not use volumes

    # volumes:
    #   - ./data/sentry:/var/lib/sentry/files

    # volumes:
    #   - ./data/postgres:/var/lib/postgresql/data

from self-hosted.

crona2011 avatar crona2011 commented on August 15, 2024

This is not confined to Windows. On Mac experiencing the same issue, commenting the volume directives seems to have resolved... don't know where my data is supposed to go now but I guess ill find out. Whoops... same problem on CentOS. @mattrobenolt what are these volumes for, I guess just commenting these out isn't exactly a perm fix..?

from self-hosted.

joshikeerti avatar joshikeerti commented on August 15, 2024

I am seeing the same issue on macOS and it still exists after I tried commenting out the volumes

from self-hosted.

devshank avatar devshank commented on August 15, 2024

I got the same error while I was setting up a Postgre backend for Airflow

from self-hosted.

drs-m avatar drs-m commented on August 15, 2024

Me too

from self-hosted.

mmelcot avatar mmelcot commented on August 15, 2024

For me it seems that roll-backing to a previous version of docker-compose made the error to go away:
I was using docker-compose 1.12
I rolled back to docker-compose 1.7, and the error is gone...

from self-hosted.

Sowndharya13 avatar Sowndharya13 commented on August 15, 2024

If you are working in localhost and getting this error, a small change will help to resolve.,

  • In database.yml file, check the value of host whether it is localhost. If not change it to localhost. Then u 'll encounter a migration error like
    " ActiveRecord::PendingMigrationError
    Migrations are pending. To resolve this issue, run:" bin/rails db:migrate RAILS_ENV=development"

-Hence by running the command u'll crack it . Now it 'll work
Happy coding :-)

from self-hosted.

mattrobenolt avatar mattrobenolt commented on August 15, 2024

I’m just gonna lock this because I don’t even know what you’re all trying to fix at this point. Definitely way out of scope for Sentry.

from self-hosted.

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.