Skip to content

Instantly share code, notes, and snippets.

@andersondias
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andersondias/ec41f2ced1423ab84841 to your computer and use it in GitHub Desktop.
Save andersondias/ec41f2ced1423ab84841 to your computer and use it in GitHub Desktop.
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.

Source: http://forums.macrumors.com/showthread.php?t=1757743

  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

Source: http://stackoverflow.com/questions/25970132/pg-tblspc-missing-after-installation-of-os-x-yosemite-beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment