CWWhitney / Decision_Analysis_Course

🎓 Uni-Bonn Decision Analysis graduate course, lectures and materials

Home Page:https://agtools.app/decision_analysis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unstable - Rstudio Connect and the Linux server - parse error: trailing garbage

CWWhitney opened this issue · comments

This and other websites hosted on Rstudio Connect and the Linux server seem to be down:

image_720

The error is about 'parse error: trailing garbage'

1/27 10:29:17.210 (GMT)
Running on host: inresgb-0002
11/27 10:29:17.232 (GMT)
Linux distribution: Ubuntu 20.04.6 LTS (focal)
11/27 10:29:17.236 (GMT)
Using Packrat dir /opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.1.2
11/27 10:29:17.244 (GMT)
Server version: 2021.12.1
11/27 10:29:17.244 (GMT)
LANG: en_US.UTF-8
11/27 10:29:17.244 (GMT)
R version: 4.1.2
11/27 10:29:17.244 (GMT)
shiny version: 1.7.1
11/27 10:29:17.244 (GMT)
httpuv version: 1.6.3
11/27 10:29:17.244 (GMT)
rmarkdown version: 2.11
11/27 10:29:17.244 (GMT)
knitr version: 1.37
11/27 10:29:17.244 (GMT)
jsonlite version: 1.7.2
11/27 10:29:17.244 (GMT)
RJSONIO version: (none)
11/27 10:29:17.244 (GMT)
htmltools version: 0.5.2
11/27 10:29:17.244 (GMT)
Using pandoc: /opt/rstudio-connect/ext/pandoc/2.16
11/27 10:29:17.454 (GMT)
Using jsonlite for JSON processing
11/27 10:29:17.459 (GMT)
Using Shiny bookmarking base directory /opt/rstudio-connect/mnt/bookmarks
11/27 10:29:17.459 (GMT)
11/27 10:29:17.459 (GMT)
Starting R with process ID: '1218904'
11/27 10:29:17.508 (GMT)
Shiny R Markdown document starting ...
11/27 10:29:18.404 (GMT)
Error in value[3L] : parse error: trailing garbage
11/27 10:29:18.404 (GMT)
":{},"value":["0.10.1"]}]}]} {"type":"list","attributes":{},
11/27 10:29:18.404 (GMT)
(right here) ------^
11/27 10:29:18.404 (GMT)
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
11/27 10:29:18.404 (GMT)
Execution halted
11/27 10:29:18.404 (GMT)
Shiny R Markdown document exiting ...

Solved by rebuilding the pages / app locally in RStudio and adding to the git repo (commit push) - a few times -> updated all packages (i.e. installed anew) and now all websites are back online with a warning:
11/27 10:50:52.902 (GMT)
Warning message:
11/27 10:50:52.903 (GMT)
In packrat::restore(overwrite.dirty = TRUE, prompt = FALSE, restart = FALSE) :
11/27 10:50:52.903 (GMT)
The most recent snapshot was generated using R version 4.1.3
Completed packrat build against R version: '4.1.2'