Postgres
This video is great, very helpful. I'm running into an issue when the lesson proceeds to setting up a role for the Vagrant user (~38min the video).
When I enter 'sudo su postgres' I get the following returned: 'Unknown id: postgres'
I've followed all the steps without any major issues up this point, so wondering if I just missed something when setting up Vagrant, but I'm not totally sure. Any suggestions?
Answers
I ran into the same thing. Turns out that Postgresql was never installed. I had to run the following:
'sudo apt-get install postgresql postgresql-server-dev-9.1'
I have no idea how you could get the VM without the postgres user. Are there any PostgreSQL processes running (you can check with ps -ef | grep post, you should see at least postman and a few others)? I'm wondering if, perhaps, your VM didn't build correctly.