私はmavericksにアップグレードして新しい宝石をインストール/コンパイルするときに問題があったので、xcodeを再インストールして、醸造のアップデートとアップグレードを行いました。宝石は今働き、最近の再起動までしばらくポストグルが働いていました。今Postgreは問題を抱えているようです。更新/アップグレード後のポストグルの修正方法
postgres:
postgres does not know where to find the server configuration file.
You must specify the --config-file or -D invocation option or set the PGDATA environment variable.
brew info postgres:
postgresql: stable 9.3.2 (bottled)
http://www.postgresql.org/
Conflicts with: postgres-xc
/usr/local/Cellar/postgresql/9.2.4 (2842 files, 39M)
Built from source
/usr/local/Cellar/postgresql/9.3.2 (2924 files, 39M) *
Poured from bottle
postgres -D /usr/local/var/postgres:
FATAL: database files are incompatible with server
DETAIL: The data directory was initialized by PostgreSQL version 9.2, which is not compatible with this version 9.3.2.
データベースを再び稼働させるには、今何をすべきですか?
+1コメントを編集してください。誤ってアップグレードして元に戻す必要がある場合は、** rm -rf /usr/local/Cellar/postgresql/9.4...** ** brew switch postgresql 9.4 .... * * – Lisandro
は2016年に有効ですか? – SuperUberDuper
9.2と9.3と9.3と9.4の間のジャンプを橋渡しするように見えました...あなたのデータファイルをバックアップして、この手順を試してみて、それがどのようになったのか教えてください。 – sent1nel