Giter Site home page Giter Site logo

Comments (10)

rjpalermo1 avatar rjpalermo1 commented on July 3, 2024

FYI I removed and reinstalled several times same effect.

from postgrest-starter-kit.

ruslantalpa avatar ruslantalpa commented on July 3, 2024

thanks for the report, i will investigate tomorrow (i think i've seen this error).

from postgrest-starter-kit.

ruslantalpa avatar ruslantalpa commented on July 3, 2024

did you do a docker pull subzerocloud/subzero-cli-tools?

from postgrest-starter-kit.

ruslantalpa avatar ruslantalpa commented on July 3, 2024

it's not that, it's and oversight, i forgot to use the psql client from the docker image.
To fix this for now, install psql on your system.
probably brew install postgresql then it should work.
I'll remove this dependency tomorrow

from postgrest-starter-kit.

rjpalermo1 avatar rjpalermo1 commented on July 3, 2024

Ok - adding psql worked - no longer crashes.

Now on saving updated .sql file getting:

Watching db/src/**/*.sql, openresty/lualib/**/*.lua, openresty/nginx/conf/**/*.conf for changes.                                                    │
│in /Users/me/subzero/example-api                                                                                                              │
│./db/src/sample_data/data.sql changed                                                                                                               │
│Starting code reload ------------------------                                                                                                       │
│psql: FATAL:  role "superuser" does not exist                                                                                                       │
│                                                                                                                                                    │
│Ready ---------------------------------------                                                                                                       │
│psql: FATAL:  role "superuser" does not exist   

Probably something I should know if I was a postgres guy, but I'm not.

Thanks!

from postgrest-starter-kit.

ruslantalpa avatar ruslantalpa commented on July 3, 2024

try and do a docker-compose down && docker-compose up -d
that error might be a result of the crashes

from postgrest-starter-kit.

rjpalermo1 avatar rjpalermo1 commented on July 3, 2024

:( same error. also tried a and r with same results.

from postgrest-starter-kit.

ruslantalpa avatar ruslantalpa commented on July 3, 2024

forgot you just installed postgresql :)
do this

brew services stop postgresql
docker-compose down && docker-compose up -d

(check after this to make sure postgresql does not start on the next reboot, see brew documentation)

from postgrest-starter-kit.

rjpalermo1 avatar rjpalermo1 commented on July 3, 2024

Got it! Thank you - off to the tut! Will check for update tomorrow or later....

from postgrest-starter-kit.

ruslantalpa avatar ruslantalpa commented on July 3, 2024

there have been some updates since then, except for the problems when you have PG running on the host, the other issues should be gone

from postgrest-starter-kit.

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.