-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
This page should contain any and all errors that are experienced during setup/running of zerobot. Try and paste in the exact error message so a CLTR+F search will easily find it.
- If you get an error while performming
bundle install
on Ubuntu like this:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
extconf.rb:23:in `<main>': Can't find libcurl or curl/curl.h (RuntimeError)
You need to do something like this:
sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev
-
If you get an error like
TypeError: Object function (e,t){return new Y.fn.init(e,t,I)} has no method 'cookie'
it may mean that you have some chrome plugins that override the jquery library. I had a "cookie manager" chrome extension that would include its OWN version of jquery right at the end of the page load (overriding the previous jquery and jquery_cookie.js script). -
Your environment failed to be created There was an issue creating your environment. Access Denied
This probably means that you need to give "Everybody" access to your S3 Config Bucket (configure the name for this in the .env fileexport CONFIG_BUCKET=myconfigbucket
. -
In the browser after the loading animation you see:
Your environment failed to be created There was an issue creating your environment. Please ensure that the AWS credentials you have provided are correct. If you believe the AWS credentials given are correct, please log into the AWS Management Console to investigate further.
In the console "Cloud Formation" I see:
2013-01-29 14:51:15 UTC+11 AWS::EC2::Instance WebServer i-98f8d3a2 CREATE_FAILED
EC2 instance i-98f8d3a2 has failed to stabilize
Apparently that just "sometimes happens" - so I deleted my "dashboard" instance and retried the deploy - which this time WORKED! (sort of) I visited the URL it suggested to me - and saw a blank page...
- Your environment is ready for action http://dashboard.zerobot-rails-skeleton.google.com
But I visit the URL - and it fails to render anything just a blank page.. I go to the EC2 instances page
and I click on the dashboard instance it shows me the full hostname:
something like:
EC2 Instance: i-bac5ee80 ec2-54-252-23-233.ap-southeast-2.compute.amazonaws.com
Which I can then SSH to using the username "ec2-user" and my pem file (make sure you set the permissions on the public key file to sudo chmod 700 <keyfilename>
so that you don't get an insufficient permissions error) then do:
sudo ssh -i awesome.pem [email protected]
You should get a prompt and be able to use ps -aux
to look at which processes are running.
- After running
bundle exec forman start
you see the error:undefined method `prerequisites' for nil:NilClass