dimanche 15 août 2021

Ruby Heroku Deployment Error : The page you were looking for doesn't exist

Heroku App is deployed, and opened the url and an error appears saying "The page you were looking for doesn't exit". I'm looking at heroku logs, but I have no idea what I need to do and run heroku config to fix and successfully build heroku app. I see 5 build failed highlighted in red. Please help. If you need more details, please let me know by comments, I can provide more info.

What I did:

  1. I ran git push heroku master.

outcome > Verifying deploy... done. To https://git.heroku.com/<my_heroku_app>.git

  1. I ran heroku open.

outcome > The page you were looking for doesn't exist.

  1. I ran heroku logs .

outcome >

2021-08-15T15:24:08.737628+00:00 app[api]: Initial release by user janie.lee.inquire@gmail.com
2021-08-15T15:24:08.737628+00:00 app[api]: Release v1 created by user janie.lee.inquire@gmail.com
2021-08-15T15:24:08.977251+00:00 app[api]: Enable Logplex by user janie.lee.inquire@gmail.com
2021-08-15T15:24:08.977251+00:00 app[api]: Release v2 created by user janie.lee.inquire@gmail.com
2021-08-15T15:24:15.000000+00:00 app[api]: Build started by user janie.lee.inquire@gmail.com
2021-08-15T15:24:19.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/3a8bdea5-7a91-4217-aef0-82f0f3614769/activity/builds/6cd3dfbe-7004-44a7-b36f-f8a66d392183
2021-08-15T15:28:32.000000+00:00 app[api]: Build started by user janie.lee.inquire@gmail.com
2021-08-15T15:28:36.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/3a8bdea5-7a91-4217-aef0-82f0f3614769/activity/builds/c06f179f-874f-4504-9d1c-a9c11f711989
2021-08-15T15:29:19.000000+00:00 app[api]: Build started by user janie.lee.inquire@gmail.com
2021-08-15T15:29:22.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/3a8bdea5-7a91-4217-aef0-82f0f3614769/activity/builds/e37db166-e94a-4772-b763-ca52248a9778
2021-08-15T15:30:58.000000+00:00 app[api]: Build started by user janie.lee.inquire@gmail.com
2021-08-15T15:31:01.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/3a8bdea5-7a91-4217-aef0-82f0f3614769/activity/builds/23bea9c2-2c89-4a53-8951-f589c0d3f677
2021-08-15T15:32:35.000000+00:00 app[api]: Build started by user janie.lee.inquire@gmail.com
2021-08-15T15:35:50.609318+00:00 app[api]: Set LANG, RACK_ENV, RAILS_ENV, RAILS_LOG_TO_STDOUT, RAILS_SERVE_STATIC_FILES, SECRET_KEY_BASE config vars by user janie.lee.inquire@gmail.com
2021-08-15T15:35:50.609318+00:00 app[api]: Release v3 created by user janie.lee.inquire@gmail.com
2021-08-15T15:35:51.899208+00:00 app[api]: Running release v4 commands by user janie.lee.inquire@gmail.com
2021-08-15T15:35:51.899208+00:00 app[api]: Attach DATABASE (@ref:postgresql-cubed-41528) by user janie.lee.inquire@gmail.com
2021-08-15T15:35:51.910765+00:00 app[api]: @ref:postgresql-cubed-41528 completed provisioning, setting DATABASE_URL. by user janie.lee.inquire@gmail.com
2021-08-15T15:35:51.910765+00:00 app[api]: Release v5 created by user janie.lee.inquire@gmail.com
2021-08-15T15:35:52.229496+00:00 app[api]: Deploy 0d73cf03 by user janie.lee.inquire@gmail.com
2021-08-15T15:35:52.229496+00:00 app[api]: Release v6 created by user janie.lee.inquire@gmail.com
2021-08-15T15:35:52.244958+00:00 app[api]: Scaled to console@0:Free rake@0:Free web@1:Free by user janie.lee.inquire@gmail.com
2021-08-15T15:35:56.672969+00:00 heroku[web.1]: Starting process with command `bin/rails server -p ${PORT:-5000} -e production`
2021-08-15T15:35:57.000000+00:00 app[api]: Build succeeded
2021-08-15T15:35:59.751093+00:00 app[web.1]: => Booting Puma
2021-08-15T15:35:59.751104+00:00 app[web.1]: => Rails 6.1.4 application starting in production
2021-08-15T15:35:59.751105+00:00 app[web.1]: => Run `bin/rails server --help` for more startup options
2021-08-15T15:36:00.635122+00:00 app[web.1]: Puma starting in single mode...
2021-08-15T15:36:00.635134+00:00 app[web.1]: * Puma version: 5.4.0 (ruby 3.0.2-p107) ("Super Flight")
2021-08-15T15:36:00.635135+00:00 app[web.1]: *  Min threads: 5
2021-08-15T15:36:00.635135+00:00 app[web.1]: *  Max threads: 5
2021-08-15T15:36:00.635135+00:00 app[web.1]: *  Environment: production
2021-08-15T15:36:00.635135+00:00 app[web.1]: *          PID: 4
2021-08-15T15:36:00.635359+00:00 app[web.1]: * Listening on http://0.0.0.0:47725
2021-08-15T15:36:00.640656+00:00 app[web.1]: Use Ctrl-C to stop
2021-08-15T15:36:00.891478+00:00 heroku[web.1]: State changed from starting to up
2021-08-15T15:36:04.537319+00:00 app[web.1]: I, [2021-08-15T15:36:04.537216 #4]  INFO -- : [a9f2f17c-4bf6-44d7-9a9e-ac2b991a7fdd] Started GET "/" for 69.141.41.222 at 2021-08-15 15:36:04 +0000
2021-08-15T15:36:04.537993+00:00 app[web.1]: F, [2021-08-15T15:36:04.537942 #4] FATAL -- : [a9f2f17c-4bf6-44d7-9a9e-ac2b991a7fdd]
2021-08-15T15:36:04.537994+00:00 app[web.1]: [a9f2f17c-4bf6-44d7-9a9e-ac2b991a7fdd] ActionController::RoutingError (No route matches [GET] "/"):
2021-08-15T15:36:04.537995+00:00 app[web.1]: [a9f2f17c-4bf6-44d7-9a9e-ac2b991a7fdd]
2021-08-15T15:36:04.538362+00:00 heroku[router]: at=info method=GET path="/" host=enigmatic-lowlands-26772.herokuapp.com request_id=a9f2f17c-4bf6-44d7-9a9e-ac2b991a7fdd fwd="69.141.41.222" dyno=web.1 connect=1ms service=10ms status=404 bytes=1902 protocol=https
2021-08-15T15:36:04.758310+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=enigmatic-lowlands-26772.herokuapp.com request_id=f51ed3ec-b9fc-48f5-8596-d2adcf0ef3c3 fwd="69.141.41.222" dyno=web.1 connect=0ms service=1ms status=200 bytes=143 protocol=https
2021-08-15T15:42:08.000000+00:00 app[api]: Build started by user janie.lee.inquire@gmail.com
2021-08-15T15:42:13.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/3a8bdea5-7a91-4217-aef0-82f0f3614769/activity/builds/3cbb9cda-f8d0-432d-ad4e-932b7555ad7e
2021-08-15T15:43:14.000000+00:00 app[api]: Build started by user janie.lee.inquire@gmail.com
2021-08-15T15:44:32.732378+00:00 app[api]: Release v7 created by user janie.lee.inquire@gmail.com
2021-08-15T15:44:32.732378+00:00 app[api]: Deploy ba4e17de by user janie.lee.inquire@gmail.com
2021-08-15T15:44:33.304080+00:00 heroku[web.1]: Restarting
2021-08-15T15:44:33.328955+00:00 heroku[web.1]: State changed from up to starting
2021-08-15T15:44:34.047751+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2021-08-15T15:44:34.131374+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2021-08-15T15:44:34.132077+00:00 app[web.1]: Exiting
2021-08-15T15:44:34.196707+00:00 heroku[web.1]: Process exited with status 143
2021-08-15T15:44:37.000000+00:00 app[api]: Build succeeded
2021-08-15T15:44:37.713582+00:00 heroku[web.1]: Starting process with command `bin/rails server -p ${PORT:-5000} -e production`
2021-08-15T15:44:40.917363+00:00 app[web.1]: => Booting Puma
2021-08-15T15:44:40.917375+00:00 app[web.1]: => Rails 6.1.4 application starting in production
2021-08-15T15:44:40.917375+00:00 app[web.1]: => Run `bin/rails server --help` for more startup options
2021-08-15T15:44:41.875499+00:00 app[web.1]: Puma starting in single mode...
2021-08-15T15:44:41.875524+00:00 app[web.1]: * Puma version: 5.4.0 (ruby 3.0.2-p107) ("Super Flight")
2021-08-15T15:44:41.875524+00:00 app[web.1]: *  Min threads: 5
2021-08-15T15:44:41.875525+00:00 app[web.1]: *  Max threads: 5
2021-08-15T15:44:41.875525+00:00 app[web.1]: *  Environment: production
2021-08-15T15:44:41.875525+00:00 app[web.1]: *          PID: 4
2021-08-15T15:44:41.875788+00:00 app[web.1]: * Listening on http://0.0.0.0:45606
2021-08-15T15:44:41.881623+00:00 app[web.1]: Use Ctrl-C to stop
2021-08-15T15:44:41.986244+00:00 heroku[web.1]: State changed from starting to up
2021-08-15T15:44:44.379999+00:00 app[web.1]: I, [2021-08-15T15:44:44.379919 #4]  INFO -- : [ea8757ee-3e31-4fd3-bf8b-a80565ff6c1c] Started GET "/" for 69.141.41.222 at 2021-08-15 15:44:44 +0000
2021-08-15T15:44:44.380434+00:00 app[web.1]: F, [2021-08-15T15:44:44.380402 #4] FATAL -- : [ea8757ee-3e31-4fd3-bf8b-a80565ff6c1c]
2021-08-15T15:44:44.380434+00:00 app[web.1]: [ea8757ee-3e31-4fd3-bf8b-a80565ff6c1c] ActionController::RoutingError (No route matches [GET] "/"):
2021-08-15T15:44:44.380435+00:00 app[web.1]: [ea8757ee-3e31-4fd3-bf8b-a80565ff6c1c]
2021-08-15T15:44:44.382101+00:00 heroku[router]: at=info method=GET path="/" host=enigmatic-lowlands-26772.herokuapp.com request_id=ea8757ee-3e31-4fd3-bf8b-a80565ff6c1c fwd="69.141.41.222" dyno=web.1 connect=0ms service=8ms status=404 bytes=1902 protocol=https
2021-08-15T15:44:44.437773+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=enigmatic-lowlands-26772.herokuapp.com request_id=419e8623-a3fe-41a6-b619-31964b35fa29 fwd="69.141.41.222" dyno=web.1 connect=0ms service=1ms status=200 bytes=143 protocol=https

github of this project https://github.com/janie-lee-developer/hek

Aucun commentaire:

Enregistrer un commentaire