Sage-Bionetworks / projectLive_NF

Live view of projects of funding partners
2 stars 3 forks source link

Staging app is down #182

Closed andrewelamb closed 2 years ago

andrewelamb commented 2 years ago

2022-04-14T21:03:18.267044+00:00 shinyapps[5349080]: running command ''/srv/connect/apps/projectLive_NF-staging/virtual_env/bin/python' '/opt/R/4.1.2/lib/R/library/reticulate/config/config.py' 2>/dev/null' had status 126 2022-04-14T21:03:18.266893+00:00 shinyapps[5349080]: Warning in system2(command = python, args = shQuote(script), stdout = TRUE, : 2022-04-14T21:03:18.267471+00:00 shinyapps[5349080]: Shiny application exiting ... 2022-04-14T21:03:18.267299+00:00 shinyapps[5349080]: Error 126 occurred running /srv/connect/apps/projectLive_NF-staging/virtual_env/bin/python: 2022-04-14T21:03:18.267424+00:00 shinyapps[5349080]: Execution halted 2022-04-14T21:03:18.267168+00:00 shinyapps[5349080]: Error in value[3L] : 2022-04-14T21:03:18.267375+00:00 shinyapps[5349080]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->

jaybee84 commented 2 years ago

new log:


2022-04-14T21:38:23.426063+00:00 shinyapps[5349080]: The following object is masked from ‘package:magrittr’:
2022-04-14T21:38:23.426401+00:00 shinyapps[5349080]: Error in value[[3L]](cond) : 
2022-04-14T21:38:23.426621+00:00 shinyapps[5349080]: Execution halted
2022-04-14T21:38:23.426510+00:00 shinyapps[5349080]: Shiny application exiting ...
2022-04-14T21:38:23.426165+00:00 shinyapps[5349080]:     set_names
2022-04-14T21:38:23.426565+00:00 shinyapps[5349080]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
2022-04-14T21:38:36.424408+00:00 shinyapps[5349080]: Running on host: a8c395e1464d
2022-04-14T21:38:36.424568+00:00 shinyapps[5349080]: LANG: C.UTF-8
2022-04-14T21:38:36.424634+00:00 shinyapps[5349080]: Working directory: /srv/connect/apps/projectLive_NF-staging
2022-04-14T21:38:36.424745+00:00 shinyapps[5349080]: shiny version: 1.7.1
2022-04-14T21:38:36.424692+00:00 shinyapps[5349080]: R version: 4.1.2
2022-04-14T21:38:36.424508+00:00 shinyapps[5349080]: Server version: 2022.03.1
2022-04-14T21:38:36.424795+00:00 shinyapps[5349080]: httpuv version: 1.6.5
2022-04-14T21:38:36.424970+00:00 shinyapps[5349080]: jsonlite version: 1.7.3
2022-04-14T21:38:36.424848+00:00 shinyapps[5349080]: rmarkdown version: 2.11
2022-04-14T21:38:36.425265+00:00 shinyapps[5349080]: Did you forget to set the RETICULATE_PYTHON environment variable in your .Rprofile before publishing?
2022-04-14T21:38:36.424907+00:00 shinyapps[5349080]: knitr version: 1.37
2022-04-14T21:38:36.425203+00:00 shinyapps[5349080]: Warning: The reticulate package is installed but no Python environment is available.
2022-04-14T21:38:36.425023+00:00 shinyapps[5349080]: RJSONIO version: (none)
2022-04-14T21:38:36.425453+00:00 shinyapps[5349080]: 
2022-04-14T21:38:36.425080+00:00 shinyapps[5349080]: htmltools version: 0.5.2
2022-04-14T21:38:36.425315+00:00 shinyapps[5349080]: Using pandoc: /opt/connect/ext/pandoc/2.16
2022-04-14T21:38:36.425141+00:00 shinyapps[5349080]: reticulate version: 1.24
2022-04-14T21:38:36.425386+00:00 shinyapps[5349080]: Using jsonlite for JSON processing
2022-04-14T21:38:36.425908+00:00 shinyapps[5349080]: 
2022-04-14T21:38:36.425778+00:00 shinyapps[5349080]: Loading required package: magrittr
2022-04-14T21:38:36.425521+00:00 shinyapps[5349080]: Starting R with process ID: '52'
2022-04-14T21:38:36.425597+00:00 shinyapps[5349080]: Shiny application starting ...
2022-04-14T21:38:36.425844+00:00 shinyapps[5349080]: Loading required package: rlang
2022-04-14T21:38:36.425664+00:00 shinyapps[5349080]: Warning in loadSupport(appDir, renv = sharedEnv, globalrenv = NULL) :
2022-04-14T21:38:36.426085+00:00 shinyapps[5349080]: The following object is masked from ‘package:magrittr’:
2022-04-14T21:38:36.425718+00:00 shinyapps[5349080]:   Loading R/ subdirectory for Shiny application, but this directory appears to contain an R package. Sourcing files in R/ may cause unexpected behavior.
2022-04-14T21:38:36.426030+00:00 shinyapps[5349080]: 
2022-04-14T21:38:36.426209+00:00 shinyapps[5349080]:     set_names
2022-04-14T21:38:36.426154+00:00 shinyapps[5349080]: 
2022-04-14T21:38:36.426296+00:00 shinyapps[5349080]: 
2022-04-14T21:38:36.425973+00:00 shinyapps[5349080]: Attaching package: ‘rlang’
2022-04-14T21:38:37.424810+00:00 shinyapps[5349080]: Warning in system2(command = python, args = shQuote(script), stdout = TRUE,  :
2022-04-14T21:38:37.424926+00:00 shinyapps[5349080]:   running command ''/srv/connect/apps/projectLive_NF-staging/virtual_env/bin/python' '/opt/R/4.1.2/lib/R/library/reticulate/config/config.py' 2>/dev/null' had status 126
2022-04-14T21:38:37.425058+00:00 shinyapps[5349080]: Shiny application exiting ...
2022-04-14T21:38:37.424991+00:00 shinyapps[5349080]: Error in value[[3L]](cond) : 
2022-04-14T21:38:37.425116+00:00 shinyapps[5349080]:   Error 126 occurred running /srv/connect/apps/projectLive_NF-staging/virtual_env/bin/python: 
2022-04-14T21:38:37.425170+00:00 shinyapps[5349080]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
2022-04-14T21:38:37.425221+00:00 shinyapps[5349080]: Execution halted```
andrewelamb commented 2 years ago

You'll will have to merge into a release branch to get it to deploy to staging:

https://github.com/Sage-Bionetworks/projectLive_NF/blob/develop/.github/workflows/shinyapps_deploy.yml#L60

jaybee84 commented 2 years ago

merging develop to master deployed to staging. Staging app is up and running.