Repository navigation
Postgres executable missing #2061
Copy link
Copy link
Closed
Description
Description
When I run buffalo info I see an error with PostgreSQL:
The
postgresexecutable could not be found on your system.
The issue here is that I'm using these brew formulae to have multiple versions of PostgreSQL running side-by-side, and so I use postgresql-common to provide easy access to common commands.
Unfortunately postgresql-common does not come with the postgres command, hence the error.
I wonder if anyone has got Buffalo working with postgresql-common? I suppose if there's an option I can tell Buffalo where to find the executable?
Steps to Reproduce the Problem
- brew tap petere/postgresql
- brew install postgresql@9.6
- brew install petere/postgresql/postgresql-common
- buffalo info
Info
Details
-> Go: Checking installation
✓ The `go` executable was found on your system at: /usr/local/bin/go
-> Go: Checking minimum version requirements
✓ Your version of Go, 1.14.10, meets the minimum requirements.
-> Go: Checking Package Management
✓ You are using Go Modules (`go`) for package management.
-> Go: Checking PATH
✓ Your PATH contains /Users/jamessmith/go/bin.
-> Node: Checking installation
✓ The `node` executable was found on your system at: /usr/local/bin/node
-> Node: Checking minimum version requirements
✓ Your version of Node, v10.13.0, meets the minimum requirements.
-> NPM: Checking installation
✓ The `npm` executable was found on your system at: /usr/local/bin/npm
-> NPM: Checking minimum version requirements
✓ Your version of NPM, 6.4.1, meets the minimum requirements.
-> Yarn: Checking installation
✓ The `yarnpkg` executable was found on your system at: /usr/local/bin/yarnpkg
-> Yarn: Checking minimum version requirements
✓ Your version of Yarn, 1.22.0, meets the minimum requirements.
-> PostgreSQL: Checking installation
✘ The `postgres` executable could not be found on your system.
For help setting up your Postgres environment please follow the instructions for you platform at:
https://www.postgresql.org/download/
-> MySQL: Checking installation
✓ The `mysql` executable was found on your system at: /usr/local/bin/mysql
-> MySQL: Checking minimum version requirements
✓ Your version of MySQL, 8.0.17, meets the minimum requirements.
-> SQLite3: Checking installation
✓ The `sqlite3` executable was found on your system at: /usr/local/anaconda3/bin/sqlite3
-> SQLite3: Checking minimum version requirements
✓ Your version of SQLite3, 3.31.1, meets the minimum requirements.
-> Cockroach: Checking installation
✘ The `cockroach` executable could not be found on your system.
For help setting up your Cockroach environment please follow the instructions for you platform at:
https://www.cockroachlabs.com/docs/stable/
-> Buffalo (CLI): Checking installation
✓ The `buffalo` executable was found on your system at: /usr/local/bin/buffalo
-> Buffalo (CLI): Checking minimum version requirements
✓ Your version of Buffalo (CLI), v0.16.16, meets the minimum requirements.
-> Buffalo: Application Details
Pwd /Users/jamessmith/Projects/buffalo/coke
Root /Users/jamessmith/Projects/buffalo/coke
GoPath /Users/jamessmith/go
PackagePkg coke
ActionsPkg coke/actions
ModelsPkg coke/models
GriftsPkg coke/grifts
WithModules true
Name coke
Bin bin/coke
VCS git
WithPop true
WithSQLite false
WithDep false
WithWebpack true
WithNodeJs true
WithYarn true
WithDocker true
WithGrifts true
AsWeb true
AsAPI false
InApp true
PackageJSON {map[build:webpack -p --progress dev:webpack --watch]}
-> Buffalo: config/buffalo-app.toml
name = "coke"
bin = "bin/coke"
vcs = "git"
with_pop = true
with_sqlite = false
with_dep = false
with_webpack = true
with_nodejs = true
with_yarn = true
with_docker = true
with_grifts = true
as_web = true
as_api = false
-> Buffalo: config/buffalo-plugins.toml
[[plugin]]
binary = "buffalo-pop"
go_get = "github.com/gobuffalo/buffalo-pop/v2"
-> Buffalo: go.mod
module coke
go 1.14
require (
github.com/gobuffalo/buffalo v0.15.5
github.com/gobuffalo/buffalo-pop/v2 v2.3.0
github.com/gobuffalo/envy v1.9.0
github.com/gobuffalo/mw-csrf v0.0.0-20190129204204-25460a055517
github.com/gobuffalo/mw-forcessl v0.0.0-20180802152810-73921ae7a130
github.com/gobuffalo/mw-i18n v0.0.0-20190129204410-552713a3ebb4
github.com/gobuffalo/mw-paramlogger v0.0.0-20190129202837-395da1998525
github.com/gobuffalo/packr/v2 v2.8.0
github.com/gobuffalo/pop/v5 v5.3.0
github.com/unrolled/secure v0.0.0-20190103195806-76e6d4e9b90c
)
Thanks,
James.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Aug 7, 2021
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.