One Month Rails - Going Online With Heroku - Application Error - ruby-on-rails

I have reached the "Going Online With Heroku" section of One Month Rails.
After following the steps
` Pudge#PUDGE-PC ~/desktop/pinteresting (master)
$ heroku keys:add
Found the following SSH public keys:
1) github_rsa.pub
2) id_rsa.pub
Which would you like to use with your Heroku account? 2
Uploading SSH public key C:/Users/Pudge/.ssh/id_rsa.pub... done
Pudge#PUDGE-PC ~/desktop/pinteresting (master)
$ heroku create
Creating evening-oasis-5199... done, stack is cedar
http://evening-oasis-5199.herokuapp.com/ | git#heroku.com:evening-oasis-5199.git
Git remote heroku added`
I open the app at the given location and it comes back with "Application Error"
`←[36m2014-03-11T00:16:24.525751+00:00 heroku[api]:←[0m Enable Logplex by chitrad
er84#gmail.com
←[36m2014-03-11T00:16:24.525824+00:00 heroku[api]:←[0m Release v2 created by chi
trader84#gmail.com
←[33m2014-03-11T00:16:38.664429+00:00 heroku[router]:←[0m at=error code=H14 desc
="No web processes running" method=GET path=/ host=evening-oasis-5199.herokuapp.
com request_id=8229c76f-de74-43d6-ac14-fa3ecefe8ff6 fwd="99.9.45.163" dyno= conn
ect= service= status=503 bytes=
←[33m2014-03-11T00:26:09.486092+00:00 heroku[router]:←[0m at=error code=H14 desc
="No web processes running" method=GET path=/ host=evening-oasis-5199.herokuapp.
com request_id=afba73c5-ad0d-41a2-8d0c-9faf75dc4e0b fwd="99.9.45.163" dyno= conn
ect= service= status=503 bytes=
←[33m2014-03-11T00:26:09.717414+00:00 heroku[router]:←[0m at=error code=H14 desc
="No web processes running" method=GET path=/favicon.ico host=evening-oasis-5199
.herokuapp.com request_id=4c3f6b80-1f0a-42d5-80f6-3510b093872b fwd="99.9.45.163"
dyno= connect= service= status=503 bytes=
←[33m2014-03-11T00:28:09.983774+00:00 heroku[router]:←[0m at=error code=H14 desc
="No web processes running" method=GET path=/ host=evening-oasis-5199.herokuapp.
com request_id=21b356bb-cbcb-4489-82e5-6e6d0c69dfd5 fwd="99.9.45.163" dyno= conn
ect= service= status=503 bytes=
←[33m2014-03-11T00:28:10.239213+00:00 heroku[router]:←[0m at=error code=H14 desc
="No web processes running" method=GET path=/favicon.ico host=evening-oasis-5199
.herokuapp.com request_id=fcf0e24d-f9f6-42a5-b382-841ed9704e1e fwd="99.9.45.163"
dyno= connect= service= status=503 bytes=
←[32m2014-03-11T03:15:10+00:00 heroku[slug-compiler]:←[0m Slug compilation start
ed
←[32m2014-03-11T03:15:32+00:00 heroku[slug-compiler]:←[0m Slug compilation faile
d: failed to compile Ruby app
←[36m2014-03-11T03:15:57.572557+00:00 heroku[api]:←[0m Starting process with com
mand `rake db:migrate` by chitrader84#gmail.com
←[35m2014-03-11T03:15:59.264402+00:00 heroku[run.1396]:←[0m Starting process wit
h command `rake db:migrate`
←[35m2014-03-11T03:15:59.226632+00:00 heroku[run.1396]:←[0m Awaiting client
←[35m2014-03-11T03:15:59.359699+00:00 heroku[run.1396]:←[0m State changed from s
tarting to up
←[35m2014-03-11T03:16:01.043376+00:00 heroku[run.1396]:←[0m State changed from u
p to complete
←[35m2014-03-11T03:16:01.037656+00:00 heroku[run.1396]:←[0m Process exited with
status 1
←[33m2014-03-11T03:16:10.744992+00:00 heroku[router]:←[0m at=error code=H14 desc
="No web processes running" method=GET path=/favicon.ico host=evening-oasis-5199
.herokuapp.com request_id=add463f3-a0ad-4682-aa06-b0e7649481a3 fwd="99.9.45.163"
dyno= connect= service= status=503 bytes=
Here is what my log says.

So I just did a quick creation to test.
I did
step1:
rails new testapp
cd testapp
git add .
git commit -m 'initial commit'
heroku create
at this point, i did
heroku open
and I get the same application error with the same "No web processes running"
My feeling is you stopped here and not pushed your initial commit
You would need to run this additionally:
git push heroku master
heroku run rake db:migrate <--- only needed if you have migrations
heroku open

The error log says "No web processes running".
So how about running one?
Try this
heroku ps:scale web=1

Related

Active Storage causing Rails app to fail on Heroku; works locally

I have a Rails app that works fine locally. It does not require any database. I am trying to deploy it using Heroku, but this is the only information I am getting in my logs as to why it's not working:
2018-09-14T17:27:28.074554+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=calendarizer.herokuapp.com request_id=4da3eec1-23dd-4d1a-ae8f-7b05086d20fc fwd="65.207.79.74" dyno= connect= service= status=503 bytes= protocol=https
2018-09-14T17:27:28.469113+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=calendarizer.herokuapp.com request_id=f079f20e-a9c1-4547-b563-3c2822b89e2d fwd="65.207.79.74" dyno= connect= service= status=503 bytes= protocol=https
My log level is set to DEBUG. No idea where else to look or how to tackle this problem.
EDIT:
I went back in the logs and I found this:
2018-09-14T17:37:19.872142+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.1/lib/active_record/dynamic_matchers.rb:22:in `method_missing': undefined method `has_one_attached' for #<Class:0x00000007a055f8> (NoMethodError)
I had not heard of ActiveStorage before now, but it's not something I'm using (at least not intentionally).
Log dump:
2018-09-14T17:46:41.000000+00:00 app[api]: Build started by user username#gmail.com
2018-09-14T17:46:59.000000+00:00 app[api]: Build failed -- check your build logs
2018-09-14T17:47:09.445004+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=calendarizer.herokuapp.com request_id=6dca7f6f-3afd-4bcd-b144-f63b85994472 fwd="65.207.79.74" dyno= connect= service= status=503 bytes= protocol=https
2018-09-14T17:47:09.792706+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=calendarizer.herokuapp.com request_id=1818345c-2dfb-4a30-ada6-65ca3bbc04ea fwd="65.207.79.74" dyno= connect= service= status=503 bytes= protocol=https
2018-09-14T17:56:48.278447+00:00 app[api]: Starting process with command `bundle exec rake db:migrate` by user username#gmail.com
2018-09-14T17:56:52.733021+00:00 heroku[run.7080]: Awaiting client
2018-09-14T17:56:52.763164+00:00 heroku[run.7080]: Starting process with command `bundle exec rake db:migrate`
2018-09-14T17:56:52.907308+00:00 heroku[run.7080]: State changed from starting to up
2018-09-14T17:57:00.092474+00:00 heroku[run.7080]: Process exited with status 1
2018-09-14T17:57:00.107737+00:00 heroku[run.7080]: State changed from up to complete
2018-09-14T17:58:27.000000+00:00 app[api]: Build started by user username#gmail.com
2018-09-14T17:58:40.000000+00:00 app[api]: Build failed -- check your build logs
2018-09-14T17:59:08.348804+00:00 app[api]: Starting process with command `bundle exec rake db:migrate` by user username#gmail.com
2018-09-14T17:59:14.334567+00:00 heroku[run.7746]: State changed from starting to up
2018-09-14T17:59:14.252562+00:00 heroku[run.7746]: Awaiting client
2018-09-14T17:59:14.278462+00:00 heroku[run.7746]: Starting process with command `bundle exec rake db:migrate`
2018-09-14T17:59:22.174620+00:00 heroku[run.7746]: Process exited with status 1
2018-09-14T17:59:22.189708+00:00 heroku[run.7746]: State changed from up to complete
2018-09-14T17:59:56.283122+00:00 app[api]: Starting process with command `bundle exec rake db:migrate` by user username#gmail.com
2018-09-14T18:00:05.530380+00:00 heroku[run.7894]: State changed from starting to up
2018-09-14T18:00:05.579669+00:00 heroku[run.7894]: Awaiting client
2018-09-14T18:00:05.633999+00:00 heroku[run.7894]: Starting process with command `bundle exec rake db:migrate`
2018-09-14T18:00:20.779574+00:00 heroku[run.7894]: State changed from up to complete
2018-09-14T18:00:20.763154+00:00 heroku[run.7894]: Process exited with status 1
2018-09-14T18:01:58.718055+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=calendarizer.herokuapp.com request_id=989475e7-affc-41a2-ade6-5cf21ce746a9 fwd="65.207.79.74" dyno= connect= service= status=503 bytes= protocol=https
2018-09-14T18:01:59.041312+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=calendarizer.herokuapp.com request_id=38c77377-2758-4a31-9219-6dcb548a5b1e fwd="65.207.79.74" dyno= connect= service= status=503 bytes= protocol=https
Heroku usually wants to see some kind of database (ie pg) to run if something is going to get saved, which I believe having ActiveRecord in your app is going to imply (even if you don't intend to use it). So you have two solutions I believe. In your dev & test environment you likely have sqlite3 as your database (you can look in your gemfile), but Heroku doesn't work with sqlite3.
Option 1:
Disable ActiveRecord in your app - Following this post: Disable Active Storage in Rails 5.2
Option 2:
Add a database to your production environment for heroku, so it's happy:
- in your gemfile see if you have a production group already
group :production do
if not add it
add in the pg gem:
gem 'pg'
So you should end up with something like this in your gemfile:
group :production do
gem 'pg'
end
Then commit and push to Heroku. You may need to restart the Dynos in Heroku, and you may need to create the database files on heroku too:
heroku run rails db:create
You should be up and running now.
For me the problem was that the adapter in database.yml was sqlite3.
So I changed the production section of config/database.yml to:
production:
adapter: postgresql
encoding: unicodeubyonrails.org/configuring.html#database-pooling
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
database: myapp_production
username: myapp
password: <%= ENV['MYAPP_DATABASE_PASSWORD'] %>

Rails App Not Working In Heroku Production

I recently changed my Rails app database from sqlite3 to postgresql. The app works fine in development on C9, but I'm running into problems with Heroku production. On Heroku, the index page actually displays, but navigating to the sign up page or trying to log in produces this error on the page:
We're sorry, but something went wrong.
If you are the application owner check the logs for more information.
I've done a bit of searching and have found that I'm supposed to run $ heroku run rails db:migrate in order for my app to work. However, when attempting to migrate, I am told that I need to start the server. After running $ rails s and then attempting the migration, I get this error in the terminal:
Cannot run more than 1 Free size dynos.
I have already attempted heroku ps:stop worker and heroku ps:stop <DYNO>, but both return this error in the terminal:
Expected response to be successful, got 400
Edit: There are the error logs I get when navigating to the sign up page:
2017-08-16T01:17:58.770873+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/" host=operation-give-
back.herokuapp.com request_id=484539c6-91dd-42da-863c-e293f008d2c1
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:00.108900+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/" host=operation-give-
back.herokuapp.com request_id=de8eff7f-4e1c-4fe0-8a99-ba731109d8de
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:00.206753+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/favicon.ico" host=operation-give-
back.herokuapp.com request_id=a6d18caf-0c2e-44bb-aa09-cf4c0141054d
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:01.101111+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/favicon.ico" host=operation-give-
back.herokuapp.com request_id=c71d4340-17d7-4bcf-b50d-20aeee5494d4
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:01.002590+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/" host=operation-give-
back.herokuapp.com request_id=343a0a5f-b000-4199-80f2-1bb2248963e0
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:01.928432+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/" host=operation-give-
back.herokuapp.com request_id=4d62b417-c284-42f6-a43c-ec6c77335855
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
2017-08-16T01:18:02.050002+00:00 heroku[router]: at=error code=H14 desc="No
web processes running" method=GET path="/favicon.ico" host=operation-give-
back.herokuapp.com request_id=7c18d099-cd2e-454e-b079-bc19bf58fb30
fwd="75.171.228.74" dyno= connect= service= status=503 bytes= protocol=https
Does anyone know how to fix this? Thanks in advance!
Note: I'm using Rails 5
Try this:
heroku ps:scale web=1
This is straight from the Heroku Error Codes page.

Heroku H10 error "App Crashed"

I'm trying to deploy my Ruby on Rails webbapp to Heroku. Locally it works just fine but when I try to run it through Heroku is gives me a H10 error HTTP status 503. I guess it's because of the bash: bundle: command not found. But even running heroku run bundle exec rails server -p $PORT doesn't work.
2016-04-26T11:35:09.570021+00:00 heroku[slug-compiler]: Slug compilation started
2016-04-26T11:35:09.570027+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
2016-04-26T11:36:34.435961+00:00 heroku[slug-compiler]: Slug compilation started
2016-04-26T11:36:34.435967+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
2016-04-26T11:37:06.665673+00:00 heroku[slug-compiler]: Slug compilation started
2016-04-26T11:37:06.665682+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
2016-04-26T11:37:20.446113+00:00 heroku[slug-compiler]: Slug compilation started
2016-04-26T11:37:20.446119+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
2016-04-26T11:37:26.534228+00:00 heroku[web.1]: State changed from crashed to starting
2016-04-26T11:37:32.239987+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 48566`
2016-04-26T11:37:34.485283+00:00 app[web.1]: bash: bundle: command not found
2016-04-26T11:37:35.145372+00:00 heroku[web.1]: Process exited with status 127
2016-04-26T11:37:35.160181+00:00 heroku[web.1]: State changed from crashed to starting
2016-04-26T11:37:35.157438+00:00 heroku[web.1]: State changed from starting to crashed
2016-04-26T11:37:40.225006+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 57613`
2016-04-26T11:37:41.536602+00:00 app[web.1]: bash: bundle: command not found
2016-04-26T11:37:42.254167+00:00 heroku[web.1]: Process exited with status 127
2016-04-26T11:37:42.273228+00:00 heroku[web.1]: State changed from starting to crashed
2016-04-26T11:37:43.433890+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=justarandomname-sandbox.herokuapp.com request_id=4570bf17-d1d5-46f8-a2fa-9b3903e5f7b8 fwd="78.128.33.2" dyno= connect= service= status=503 bytes=
2016-04-26T11:37:43.875014+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=justarandomname-sandbox.herokuapp.com request_id=bef38221-b815-42f0-bff9-a5af6ec9faef fwd="78.128.33.2" dyno= connect= service= status=503 bytes=
2016-04-26T11:37:43.928876+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=justarandomname-sandbox.herokuapp.com request_id=af6d1b23-6fca-4936-831a-8be720931110 fwd="78.128.33.2" dyno= connect= service= status=503 bytes=
2016-04-26T11:38:18.973552+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=justarandomname-sandbox.herokuapp.com request_id=bdcbfa80-b930-458c-9838-22d143092149 fwd="78.128.33.2" dyno= connect= service= status=503 bytes=
2016-04-26T11:38:30.012185+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=justarandomname-sandbox.herokuapp.com request_id=7e6af745-e613-448c-be0e-be6c14c4499e fwd="78.128.33.2" dyno= connect= service= status=503 bytes=
2016-04-26T11:38:31.797207+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=justarandomname-sandbox.herokuapp.com request_id=11006d32-abf4-481e-896e-3da3a9778902 fwd="78.128.33.2" dyno= connect= service= status=503 bytes=
2016-04-26T11:38:33.450964+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=justarandomname-sandbox.herokuapp.com request_id=731c163d-73dc-49d8-9334-96621b9afa99 fwd="78.128.33.2" dyno= connect= service= status=503 bytes=
2016-04-26T11:38:35.451317+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=justarandomname-sandbox.herokuapp.com request_id=1bf2c73c-cd8e-4b4a-a9c2-967934186c3f fwd="78.128.33.2" dyno= connect= service= status=503 bytes=
Additional info
Procfile:
web: bundle exec rails server -p $PORT
console: bundle exec rails console
Heroku config vars:
PATH => bin:vendor/bundle/ruby/2.0.0/bin:qr/qrencode-3.2.0:bin:/.bin:/usr/local/bin:/usr/bin:/bin
GEM_PATH => vendor/bundle/ruby/2.0.0
RACK_ENV => production
RAILS_ENV => production
Heroku buildpacks:
https://github.com/incaztech/heroku-buildpack-qrencode.git
I saw you have 3 problem in Gemfile:
You have defined gem 'therubyracer' under ruby clause in assets group, then you've redecrared it for production, and staging environments without clause. That is inconsistence.
You have redefine ruby version for production, and staging environments. That is mistake, thus heroku can't find out bundled gems including bundle executable.
Your log shows some records:
Your Gemfile lists the gem rails_12factor (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
That is incorrect, so to fix it remove gem 'therubyracer', '0.12.1', and gem "qrencoder","~> 1.4.1" from -*production/staging_ group, gem 'rails_12factor' from production group, and then remove ruby "2.3.0" from the same group. Then issue bundle install, next bundle update isn't required, then add resulted Gemfile, and Gemfile.lock to git repo, and commit then, just after that do git push.

Jruby on Rails not deploying to Heroku?

I've spent hours unsuccessfully trying to deploy my app to Heroku, and can't figure out the problem. I'm running on Windows and using JDK8 Jruby9.0.0.0. I set up using the instructions found here and deploy a new app using this tutorial. The exact commands I'm using are:
C:\Users\MyName>Jruby -S rails new MyApp
---
C:\Users\MyName>cd MyApp
---
C:\Users\MyName\MyApp>git init
---
C:\Users\MyName\MyApp>git add .
---
C:\Users\MyName\MyApp>git commit -m "my first commit"
---
C:\Users\MyName\MyApp>heroku create
---
C:\Users\MyName\MyApp>git push heroku master
---
C:\Users\MyName\MyApp>heroku open
Unfortunately this provides the following "Applicaton Error" when I try to open the app:
2015-11-04T19:28:36.377052+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 27765 -e production`
2015-11-04T19:28:38.105808+00:00 app[web.1]: /usr/bin/env: jruby.exe: No such file or directory
2015-11-04T19:28:38.976959+00:00 heroku[web.1]: Process exited with status 127
2015-11-04T19:28:38.994372+00:00 heroku[web.1]: State changed from starting to crashed
2015-11-04T19:28:38.995406+00:00 heroku[web.1]: State changed from crashed to starting
2015-11-04T19:28:40.545185+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 14126 -e production`
2015-11-04T19:28:41.946326+00:00 app[web.1]: /usr/bin/env: jruby.exe: No such file or directory
2015-11-04T19:28:42.503828+00:00 heroku[web.1]: State changed from starting to crashed
2015-11-04T19:28:42.496390+00:00 heroku[web.1]: Process exited with status 127
2015-11-04T19:28:43.384581+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=desolate-lake-2856.herokuapp.com request_id=7d58e322-072a-4e26-bfdf-53ff637ebe97 fwd="86.174.222.227" dyno= connect= service= status=503 bytes=
2015-11-04T19:28:43.638575+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=desolate-lake-2856.herokuapp.com request_id=af171d45-f0ce-4e2e-a0ba-1375cfb90601 fwd="86.174.222.227" dyno= connect= service= status=503 bytes=
2015-11-04T19:28:44.199636+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=desolate-lake-2856.herokuapp.com request_id=b0e25fc6-0497-4a6b-ac71-fde22c700e57 fwd="86.174.222.227" dyno= connect= service= status=503 bytes=
2015-11-04T19:28:44.922656+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=desolate-lake-2856.herokuapp.com request_id=d680200e-e6e2-4132-92fe-fcddf8df77f4 fwd="104.131.28.255" dyno= connect= service= status=503 bytes=
I've followed instructions found on SO which suggest renaming bin/bundle,rails,rake to remove the '.exe', but this does not work.
Any ideas on what is going wrong here? Thanks!
EDIT:
I should have said that the app cloned in the Heroku tutorial deploys to Heroku as it should, but unfortunately it is completely different in structure to the app created by the CMD command 'Jruby -S rails new MyApp'. The cloned app has no 'bin' directory, and the 'Jruby -S new' app has no procfile. I think this means that the problem lies with how the 'Jruby -S new' app is configured to deploy, i.e. I need to specify how the process should start? Both apps work locally.
I know I could clone the heroku app every time I create a new rails app, but this seems like a bit of a clunky work around!
It looks like you may have your bin/rails script checked into Git. And if that script was generated on Windows, I think it will have jruby.exe in it. Make sure you remove those files by running:
> git rm -rf bin
And then add bin/ to your `.gitignore to make sure it doesn't get back in. Then finally:
> git commit -am "remove bin scripts"
> git push heroku master

Heroku database error? Cannot Rake db:migrate

I've been stuck on this for hours. I've been going back and forth with rollbacks and heroku has been crashing on me. The error I've been getting is Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
I've tried heroku pg:reset DATABASE_URL and then heroku rake db:migrate many many many times and it still prompts that error each time.
Here are my logs
2015-08-20T03:53:52.883786+00:00 heroku[run.7282]: Awaiting client
2015-08-20T03:53:52.917990+00:00 heroku[run.7282]: Starting process with command `bundle exec rake db:migrate`
2015-08-20T03:53:53.287377+00:00 heroku[run.7282]: State changed from starting to up
2015-08-20T03:53:58.412740+00:00 heroku[run.7282]: Process exited with status 0
2015-08-20T03:53:58.432909+00:00 heroku[run.7282]: State changed from up to complete
2015-08-20T03:54:04.586682+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=linkmony.herokuapp.com request_id=f90ecec2-49f5-4faa-9736-40bdeb637b5e fwd="76.103.13.109" dyno= connect= service= status=503 bytes=
2015-08-20T03:54:05.400560+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=linkmony.herokuapp.com request_id=44fb2fae-15b8-4359-bbbb-47c59b2a7d3b fwd="76.103.12.101" dyno= connect= service= status=503 bytes=
Running the following in terminal should give you more info:
$ heroku run rails console
(hat tip: ntimba20)

Resources