If you have a machine with one of these GPUs installed, I'd advise upgrading it if possible (can be done in 2010/2011 iMacs, iMac11,x-12,x), disabling the dedicated GPU if using a 2011 15' or 17' MacBook Pro (MacBookPro8,2/8,3, instructions to do so can be found here), or not installing Catalina. Running Catalina without full graphics. I have a problem with connecting to postgresql on mac os catalina. I had postgresql installed, but I deleted it with the uninstall file (library postgresql uninstall). The file is gone and I also deleted the postgresql user from the system. I want to do a fresh (re)install of postgresql. I did the following: brew update brew doctor brew.
I recently upgraded to macOS Catalina and needed to reinstall PostgreSQL via Homebrew. The usual process is simple enough: brew install postgresql
does the bulk of the work, and then running brew services start postgres
would normally result in Homebrew’s service manager loading the appropriate launch agent for you.
Unfortunately Catalina’s various file access protection schemes seem to get in the way of this. I saw a handful of different errors when looking for a solution, but the specific error I was receiving was a little different:
Permission denied @ rb_sysopen - /Users/corey/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
I assumed that the plist file had merely been given incorrect permissions, but the file wasn’t even there. Homebrew wasn’t able to create the file because the directory, ~/Library/LaunchAgents
has its permissions set to 555
(i.e. r-xr-xr-x
), so despite being owned by my login user, I wasn’t able to write to the folder directly.
Install Postgres Mac Catalina
The solution is to change the directory permissions to allow writing by the owner, then copy the missing plist file over manually from the postgres install:
Install Postgresql Mac Catalina Software
From there, re-running brew services start postgresql
should operate correctly.