GithubHelp home page GithubHelp logo

Comments (4)

skplunkerin avatar skplunkerin commented on July 30, 2024 1

This just happened to me. Guess I'll try dropping/recreating each of my clusters.

It looks like #49 is similar to this problem

from homebrew-postgresql.

zabrador avatar zabrador commented on July 30, 2024

Just a quick update: simply adding conf.d does not appear to have solved the problem. Dropping and then recreating the cluster did, however.

from homebrew-postgresql.

TimFletcher avatar TimFletcher commented on July 30, 2024

I have the same issue. I'm not sure whether it's updating brew or what but something on my system removes conf.d in each cluster, breaking it. I have to remove and recreate the cluster (and then re-import databases for each project) to fix it.

# This worked last week...
$ pg_ctlcluster 9.6 gcp start
The PostgreSQL server failed to start. Please check the log output:
LOG:  could not open configuration directory "/usr/local/etc/postgresql/9.6/gcp/conf.d": No such file or directory
FATAL:  configuration file "/usr/local/etc/postgresql/9.6/gcp/postgresql.conf" contains errors

from homebrew-postgresql.

TimFletcher avatar TimFletcher commented on July 30, 2024

As part of installing an unrelated package via brew yesterday (which I believe ran brew update) all my PG installations are broken again because conf.d gets deleted.

ls /usr/local/etc/postgresql/9.6/gcp -al

$ ls -al
total 96
drwxr-xr-x  8 tim  staff    256 18 Mar 17:10 .
drwxr-xr-x  3 tim  admin     96 30 Jan 11:34 ..
-rw-r--r--  1 tim  staff    315 30 Jan 11:34 environment
-rw-r--r--  1 tim  staff    143 30 Jan 11:34 pg_ctl.conf
-rw-r-----  1 tim  staff   4453 30 Jan 11:34 pg_hba.conf
-rw-r-----  1 tim  staff   1636 30 Jan 11:34 pg_ident.conf
-rw-r--r--  1 tim  staff  22443 30 Jan 11:34 postgresql.conf
-rw-r--r--  1 tim  staff    317 30 Jan 11:34 start.conf

I'll create a backup of them this time.

from homebrew-postgresql.

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.