Error: Unhandled Exception: Child Task 524689694 error:

rstudio
shinyappsio
shiny-error

#1

To fully understand shinyapps.io, I am using "simple website" code described in https://rmarkdown.rstudio.com/rmarkdown_websites.html#html_generation.
I cloned the code, https://github.com/rstudio/rmarkdown-website-examples/tree/master/common-elements, and ran it in Rstudio.

The code runs locally but fails to create an instance with shinyapps.io.
Error: Unhandled Exception: Child Task 524689694 error: Unhandled Exception: Timeout waiting for '_check_container_alive' after 0:00:30 Deploy and shintapps log are NOT created.

According to the literature, this command should successfully initiate the process: deployApp(appName= "rmarkdown-website-examples-master", account = "pjossenbruggen")

What is wrong? How can I debug the code?

Paul

> devtools::session_info()
─ Session info ──────────────────────────────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.4.4 (2018-03-15)
 os       macOS High Sierra 10.13.4   
 system   x86_64, darwin15.6.0        
 ui       RStudio                     
 language (EN)                        
 collate  en_US.UTF-8                 
 tz       America/New_York            
 date     2018-05-08                  

─ Packages ──────────────────────────────────────────────────────────────────────────────────────────
 package     * version     date       source                             
 ansistrings   1.0.0.9000  2018-04-12 Github (r-lib/ansistrings@4e4d309) 
 assertthat    0.2.0       2017-04-11 CRAN (R 3.4.0)                     
 backports     1.1.2       2017-12-13 CRAN (R 3.4.3)                     
 bitops        1.0-6       2013-08-17 CRAN (R 3.4.0)                     
 callr         2.0.3-9000  2018-04-29 Github (r-lib/callr@f3ee85a)       
 cli           1.0.0.9002  2018-04-12 Github (r-lib/cli@c408924)         
 clisymbols    1.2.0       2017-05-21 CRAN (R 3.4.0)                     
 crayon        1.3.4       2018-04-12 Github (gaborcsardi/crayon@95b3eae)
 curl          3.2         2018-03-28 CRAN (R 3.4.4)                     
 debugme       1.1.0       2017-10-22 CRAN (R 3.4.2)                     
 desc          1.2.0       2018-05-01 CRAN (R 3.4.4)                     
 devtools      1.13.5.9000 2018-04-12 Github (hadley/devtools@13ee56b)   
 digest        0.6.15      2018-01-28 CRAN (R 3.4.3)                     
 evaluate      0.10.1      2017-06-24 CRAN (R 3.4.1)                     
 git2r         0.21.0.9002 2018-04-12 Github (ropensci/git2r@198b4d6)    
 glue          1.2.0       2017-10-29 CRAN (R 3.4.2)                     
 hms           0.4.2       2018-03-10 CRAN (R 3.4.4)                     
 htmltools     0.3.6       2017-04-28 CRAN (R 3.4.0)                     
 httpuv        1.4.2       2018-05-03 CRAN (R 3.4.4)                     
 httr          1.3.1       2017-08-20 CRAN (R 3.4.1)                     
 knitr         1.20        2018-02-20 CRAN (R 3.4.3)                     
 later         0.7.2       2018-05-01 CRAN (R 3.4.4)                     
 magrittr      1.5         2014-11-22 CRAN (R 3.4.0)                     
 memoise       1.1.0       2017-04-21 CRAN (R 3.4.0)                     
 mime          0.5         2016-07-07 CRAN (R 3.4.0)                     
 pkgbuild      1.0.0       2018-04-12 Github (r-lib/pkgbuild@4ee12af)    
 pkgconfig     2.0.1       2017-03-21 CRAN (R 3.4.0)                     
 pkgload       1.0.0       2018-04-12 Github (r-lib/pkgload@a9184a0)     
 prettyunits   1.0.2       2015-07-13 CRAN (R 3.4.2)                     
 progress      1.1.2.9003  2018-04-12 Github (r-lib/progress@e525de4)    
 promises      1.0.1       2018-04-13 CRAN (R 3.4.4)                     
 R6            2.2.2       2017-06-17 CRAN (R 3.4.0)                     
 Rcpp          0.12.16     2018-03-13 CRAN (R 3.4.4)                     
 RCurl         1.95-4.10   2018-01-04 CRAN (R 3.4.3)                     
 RJSONIO     * 1.3-0       2014-07-28 CRAN (R 3.4.0)                     
 rlang         0.2.0       2018-02-20 CRAN (R 3.4.3)                     
 rmarkdown     1.9.9       2018-04-29 Github (rstudio/rmarkdown@91d071f) 
 rprojroot     1.3-2       2018-01-03 CRAN (R 3.4.3)                     
 rsconnect   * 0.8.8       2018-03-09 CRAN (R 3.4.4)                     
 selectr       0.4-1       2018-04-06 CRAN (R 3.4.4)                     
 sessioninfo   1.0.1.9000  2018-04-12 Github (r-lib/sessioninfo@c871d01) 
 shiny       * 1.0.5       2017-08-23 CRAN (R 3.4.1)                     
 stringi       1.2.2       2018-05-02 CRAN (R 3.4.4)                     
 stringr       1.3.0       2018-02-19 CRAN (R 3.4.3)                     
 testthat      2.0.0       2017-12-13 CRAN (R 3.4.3)                     
 usethis       1.3.0.9000  2018-04-12 Github (r-lib/usethis@acd9e70)     
 withr         2.1.2       2018-03-15 CRAN (R 3.4.4)                     
 xml2          1.2.0       2018-01-24 CRAN (R 3.4.2)                     
 xtable        1.8-2       2016-02-05 CRAN (R 3.4.0)                     
 yaml          2.1.19      2018-05-01 CRAN (R 3.4.4)                     
> install.packages("shinyapps")
Warning in install.packages :
  package ‘shinyapps’ is not available (for R version 3.4.4)
> devtools::install_github('rstudio/shinyapps')
Downloading GitHub repo rstudio/shinyapps@master
from URL https://api.github.com/repos/rstudio/shinyapps/zipball/master
Installation failed: NULL : Does not appear to be an R package (no DESCRIPTION)
> deployApp(appName= "rmarkdown-website-examples-master", account = "pjossenbruggen")
Preparing to deploy application...
Update application currently deployed at
https://pjossenbruggen.shinyapps.io/rmarkdown-website-examples-master/? [Y/n] y
DONE
Uploading bundle for application: 339665...DONE
Deploying bundle: 1363675 for application: 339665 ...
Waiting for task: 524689636
  building: Parsing manifest
  building: Installing files
  building: Pushing image: 1376601
  deploying: Starting instances
################################ Begin Task Log ################################ 
Generating locales...
  en_US.UTF-8... done
Generation complete.
[2018-05-08T21:42:50.651124893+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master
[2018-05-08T21:42:50.654624300+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements
[2018-05-08T21:42:50.657543095+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site
[2018-05-08T21:42:50.660445995+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site/site_libs
[2018-05-08T21:42:50.663464350+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site/site_libs/bootstrap-3.3.5
[2018-05-08T21:42:50.666876092+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site/site_libs/bootstrap-3.3.5/css
[2018-05-08T21:42:50.669966449+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/simplex.min.css
[2018-05-08T21:42:50.673275977+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website
[2018-05-08T21:42:50.677060908+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website/_site
[2018-05-08T21:42:50.680130427+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website/_site/site_libs
[2018-05-08T21:42:50.683487623+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website/_site/site_libs/bootstrap-3.3.5
[2018-05-08T21:42:50.686772043+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website/_site/site_libs/bootstrap-3.3.5/css
[2018-05-08T21:42:50.689829799+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/paper.min.css
[2018-05-08T21:42:50.693168623+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site/site_libs/bootstrap-3.3.5/fonts
[2018-05-08T21:42:50.696244818+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.eot
[2018-05-08T21:42:50.699414636+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website/_site/site_libs/bootstrap-3.3.5/css/fonts
[2018-05-08T21:42:50.702591581+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/fonts/OpenSansLight.ttf
[2018-05-08T21:42:50.706010860+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/fonts/RobotoBold.ttf
[2018-05-08T21:42:50.709344125+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site/site_libs/bootstrap-3.3.5/js
[2018-05-08T21:42:50.712415165+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/js/bootstrap.min.js
[2018-05-08T21:42:50.715925108+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/cosmo.min.css
[2018-05-08T21:42:50.719141080+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/bootstrap-theme.min.css
[2018-05-08T21:42:50.722579001+0000] Copying file hello-website/_site/index.html
[2018-05-08T21:42:50.725963386+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site/site_libs/bootstrap-3.3.5/css/fonts
[2018-05-08T21:42:50.729106230+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/fonts/Lato.ttf
[2018-05-08T21:42:50.732479213+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/fonts/RalewayBold.ttf
[2018-05-08T21:42:50.735764497+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/fonts/OpenSans.ttf
[2018-05-08T21:42:50.738934326+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/bootstrap.css.map
[2018-05-08T21:42:50.742559132+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/flatly.min.css
[2018-05-08T21:42:50.745931415+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/js/bootstrap.js
[2018-05-08T21:42:50.749243954+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/journal.min.css
[2018-05-08T21:42:50.752622261+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/fonts/RobotoBold.ttf
[2018-05-08T21:42:50.756054709+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/fonts/RobotoMedium.ttf
[2018-05-08T21:42:50.759541838+0000] Copying file common-elements/_site/footer.html
[2018-05-08T21:42:50.762862612+0000] Copying file common-elements/footer.html
[2018-05-08T21:42:50.765972451+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site/site_libs/navigation-1.1
[2018-05-08T21:42:50.768967510+0000] Copying file common-elements/_site/site_libs/navigation-1.1/tabsets.js
[2018-05-08T21:42:50.772060162+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/fonts/OpenSansLightItalic.ttf
[2018-05-08T21:42:50.775251317+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.svg
[2018-05-08T21:42:50.778735406+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/common-elements/_site/site_libs/bootstrap-3.3.5/shim
[2018-05-08T21:42:50.781796882+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/shim/html5shiv.min.js
[2018-05-08T21:42:50.784980936+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website/_site/site_libs/navigation-1.1
[2018-05-08T21:42:50.788180486+0000] Copying file hello-website/_site/site_libs/navigation-1.1/tabsets.js
[2018-05-08T21:42:50.791818278+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/fonts/NewsCycle.ttf
[2018-05-08T21:42:50.794912121+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/united.min.css
[2018-05-08T21:42:50.798007818+0000] Copying file README.html
[2018-05-08T21:42:50.801428151+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/fonts/Ubuntu.ttf
[2018-05-08T21:42:50.805164096+0000] Copying file common-elements/about.Rmd
[2018-05-08T21:42:50.808319809+0000] Copying file hello-website/.DS_Store
[2018-05-08T21:42:50.811281024+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/spacelab.min.css
[2018-05-08T21:42:50.814515435+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website/_site/site_libs/bootstrap-3.3.5/fonts
[2018-05-08T21:42:50.817560632+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff
[2018-05-08T21:42:50.820796599+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/gh-pages
[2018-05-08T21:42:50.823748841+0000] Copying file gh-pages/.DS_Store
[2018-05-08T21:42:50.826883597+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/fonts/OpenSansBold.ttf
[2018-05-08T21:42:50.830020604+0000] Creating dir /srv/connect/apps/rmarkdown-website-examples-master/hello-website/_site/site_libs/highlightjs-9.12.0
[2018-05-08T21:42:50.833004499+0000] Copying file hello-website/_site/site_libs/highlightjs-9.12.0/highlight.js
[2018-05-08T21:42:50.836252361+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/sandstone.min.css
[2018-05-08T21:42:50.839564143+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.ttf
[2018-05-08T21:42:50.842942508+0000] Copying file gh-pages/_site.yml
[2018-05-08T21:42:50.846089350+0000] Copying file gh-pages/about.Rmd
[2018-05-08T21:42:50.849261940+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/fonts/OpenSansBoldItalic.ttf
[2018-05-08T21:42:50.852450302+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/lumen.min.css
[2018-05-08T21:42:50.855724770+0000] Copying file common-elements/_site/site_libs/bootstrap-3.3.5/css/sandstone.min.css
[2018-05-08T21:42:50.859130780+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/cosmo.min.css
[2018-05-08T21:42:50.862516213+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/bootstrap-theme.css.map
[2018-05-08T21:42:50.865678028+0000] Copying file hello-website/_site/site_libs/bootstrap-3.3.5/css/bootstrap.css.map
[2018-05-08T21:42:50.869312177+0000] Copying file co################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 524689694 error: Unhandled Exception: Timeout waiting for '_check_container_alive' after 0:00:30
> rsconnect::showLogs()```