Open saokar opened 11 years ago
Did you run setup-ssjs.sh
and are you running on an Ubuntu 12.04 EC2 instance? You might not have set up the bitdb properly.
Try logging into an EC2 instance as per the notes and running setup-ssjs.sh. I'd need to modify the code to make it work on an arbitrary OS.
Yes, I am using Ubuntu 12.04 instance. Followed these instructions,
curl https://raw.github.com/startup-class/setup/master/setup.sh | bash exit # and then log in again git clone https://github.com/startup-class/bitstarter-leaderboard.git cd bitstarter-leaderboard ./setup-ssjs.sh
Is the error relating to postgres password authentication?
Try out this:
sudo su postgres -c psql
alter user ubuntu with password 'bitpass0';
You should see ALTER ROLE after this, and try to run foreman again.
Thanks netlovers. Running the alter sql fixed the problem.
Thanks everybody for helping fix this issue.
I am getting the following error when running "foreman start". Any ideas why? I followed the instructions in https://github.com/startup-class/bitstarter-leaderboard for setup.
[ubuntu@ip-10-161-97-136:~/bitstarter-leaderboard]$foreman start 15:37:12 web.1 | started with pid 2977 15:37:13 web.1 | /home/ubuntu/bitstarter-leaderboard/web.js:94 15:37:13 web.1 | throw err; 15:37:13 web.1 | ^ 15:37:13 web.1 | error: password authentication failed for user "ubuntu" 15:37:13 web.1 | exited with code 8 15:37:13 system | sending SIGTERM to all processes SIGTERM received