Closed nthnjustice closed 9 years ago
I can see that the sample app at http://shiny-example-1.herokuapp.com/ is still running. (Though I may have to take that down; Heroku recently changed their free tier policy.)
It's quite possible that Heroku has changed something in their environment that breaks the build.
Can you post the full error?
Thank you for responding! It's important to me that this work gets deployed on Heroku.
Here is the Heroku log after I try viewing the application:
nathan@lobot:~/Desktop/HerokuTest$ heroku logs
2015-07-22T16:52:59.429707+00:00 heroku[api]: Enable Logplex by n.justice@outlook.com
2015-07-22T16:52:59.429791+00:00 heroku[api]: Release v2 created by n.justice@outlook.com
2015-07-22T16:53:34.390179+00:00 heroku[api]: Set BUILDPACK_URL config vars by n.justice@outlook.com
2015-07-22T16:53:34.390179+00:00 heroku[api]: Release v3 created by n.justice@outlook.com
2015-07-22T16:56:44.757587+00:00 heroku[api]: Set PATH, R_HOME, R_INCLUDE, LDFLAGS, CPPFLAGS, LD_LIBRARY_PATH, PKG_CONFIG_PATH config vars by n.justice@outlook.com
2015-07-22T16:56:44.757692+00:00 heroku[api]: Release v4 created by n.justice@outlook.com
2015-07-22T16:56:45.011059+00:00 heroku[api]: Scale to web=1 by n.justice@outlook.com
2015-07-22T16:56:45.052333+00:00 heroku[api]: Deploy e03ceba by n.justice@outlook.com
2015-07-22T16:56:45.052333+00:00 heroku[api]: Release v5 created by n.justice@outlook.com
2015-07-22T16:56:45.104857+00:00 heroku[slug-compiler]: Slug compilation started
2015-07-22T16:56:45.104865+00:00 heroku[slug-compiler]: Slug compilation finished
2015-07-22T16:56:52.158116+00:00 heroku[web.1]: Starting process with command `R -e "shiny::runApp('.', as.numeric(Sys.getenv(\"PORT\")))"`
2015-07-22T16:56:54.309565+00:00 app[web.1]: /app/vendor/R/lib64/R/bin/exec/R: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
2015-07-22T16:56:54.280778+00:00 app[web.1]: WARNING: ignoring environment value of R_HOME
2015-07-22T16:56:55.163714+00:00 heroku[web.1]: State changed from starting to crashed
2015-07-22T16:56:55.164918+00:00 heroku[web.1]: State changed from crashed to starting
2015-07-22T16:56:55.157089+00:00 heroku[web.1]: Process exited with status 127
2015-07-22T16:57:02.504064+00:00 heroku[web.1]: Starting process with command `R -e "shiny::runApp('.', as.numeric(Sys.getenv(\"PORT\")))"`
2015-07-22T16:57:04.651624+00:00 app[web.1]: /app/vendor/R/lib64/R/bin/exec/R: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
2015-07-22T16:57:04.602856+00:00 app[web.1]: WARNING: ignoring environment value of R_HOME
2015-07-22T16:57:05.794207+00:00 heroku[web.1]: Process exited with status 127
2015-07-22T16:57:05.806706+00:00 heroku[web.1]: State changed from starting to crashed
2015-07-22T16:57:41.114813+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=nthnjusticeherokutest.herokuapp.com request_id=b50f5d08-62d8-451e-833b-8b46d2c518d3 fwd="65.112.11.63" dyno= connect= service= status=503 bytes=
2015-07-22T16:57:41.846963+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=nthnjusticeherokutest.herokuapp.com request_id=94627f65-9425-435b-a903-5d1a82063d05 fwd="65.112.11.63" dyno= connect= service= status=503 bytes=
The libreadline errors definitely look like the kind of thing that would break if Heroku changed the environment. The version of R used by the buildpack may have to be recompiled, uploaded to S3, and the buildpack updated to pull that build.
I'm not able to do debug or rebuild this at this time. I suggest you try https://github.com/virtualstaticvoid/heroku-buildpack-r.
Thank you for the guidance. I'll see what I can come up with from that.
Cheers, -Nathan
I've followed your instructions for this biuldpack multiple times, but upon deploying a Shiny app to Heroku, the app crashes with an H10 error and no descriptive cause. I see it's been a year since this repository has been updated. Do we know if it's still functional?