Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
Updating to Yosemite

These are the steps I needed to take after installing Yosemite

  1. Java JDK error

The first error I've catch was an error in Java JDK. A popup was shown with this message: "To view this web content, you need to install the Java Runtime Environment."

Java error popup

In order to fix this, you need to install the latest Java 8 JDK.


  1. Brew postgres error

I've postgresql installed via brew, but after updating to Yosemite it stoped working.

First you will need recreate some paths that were deleted on update:

mkdir /usr/local/var/postgres/pg_tblspc
mkdir /usr/local/var/postgres/pg_twophase
mkdir /usr/local/var/postgres/pg_stat_tmp
touch /usr/local/var/postgres/pg_tblspc/.keep
touch /usr/local/var/postgres/pg_twophase/.keep
touch /usr/local/var/postgres/pg_stat_tmp/.keep

Second you will need to reload postgresql after an upgrade:

launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.