I'm trying to publish the shiny demo found at dfalbel/gptneox-chat at main (huggingface.co) to a Posit connect server. This app will run in RStudio and push-button publishing from Rstudio successfully deploys on my target Posit connect instance.
However the app will not run, in fact it crashes abruptly. I suspect that there are deployment dialogue windows from tok
or some other library loading the model and its crashing the app deployment. The logs from Posit Connect for the app console don't tell me what's crashing the app, is there a way to get more detailed logs from the app console on Posit connect?
2023/08/15 20:35:55.193482552 [rsc-session] Content GUID: ff36b760-d5d0-4629-a66e-501ca1012ea0
2023/08/15 20:35:55.193504152 [rsc-session] Content ID: 44
2023/08/15 20:35:55.193512710 [rsc-session] Bundle ID: 108
2023/08/15 20:35:55.394602685 Running on host: ccb-rsc-rstudio-connect-dd7b87dc4-x7hdj
2023/08/15 20:35:55.401376957 Linux distribution: Ubuntu 20.04.6 LTS (focal)
2023/08/15 20:35:55.403311437 Running as user: uid=999(rstudio-connect) gid=999(rstudio-connect) groups=999(rstudio-connect)
2023/08/15 20:35:55.403328509 Connect version: 2023.06.0
2023/08/15 20:35:55.403357076 LANG: en_US.UTF-8
2023/08/15 20:35:55.403403690 Working directory: /opt/rstudio-connect/mnt/app
2023/08/15 20:35:55.403632325 Using R 4.3.1
2023/08/15 20:35:55.403639521 R.home(): /opt/R/4.3.1/lib/R
2023/08/15 20:35:55.404054358 Content will use associated Packrat library
2023/08/15 20:35:55.440783857 Adding Packrat library to R_LIBS and .libPaths: /opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.3.1
2023/08/15 20:35:55.440925394 R_LIBS: /opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.3.1
2023/08/15 20:35:55.440932940 .libPaths(): /opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.3.1, /opt/R/4.3.1/lib/R/library
2023/08/15 20:35:55.462255956 shiny version: 1.7.5
2023/08/15 20:35:55.462266686 httpuv version: 1.6.11
2023/08/15 20:35:55.462290192 rmarkdown version: (none)
2023/08/15 20:35:55.462295406 knitr version: (none)
2023/08/15 20:35:55.462324338 jsonlite version: 1.8.7
2023/08/15 20:35:55.462333336 RJSONIO version: (none)
2023/08/15 20:35:55.462382596 htmltools version: 0.5.5
2023/08/15 20:35:55.462392272 reticulate version: (none)
2023/08/15 20:35:55.462549415 Using pandoc: /opt/rstudio-connect/ext/pandoc/2.16
2023/08/15 20:35:56.008746758 Using Shiny bookmarking base directory /opt/rstudio-connect/mnt/bookmarks
2023/08/15 20:35:56.008996017
2023/08/15 20:35:56.009007817 Starting R with process ID: '8073'
2023/08/15 20:35:56.009516696 Shiny application starting ...
2023/08/15 20:35:56.235343823
2023/08/15 20:35:56.235356258 Attaching package: ‘bslib’
2023/08/15 20:35:56.235394308
2023/08/15 20:35:56.236063186 The following object is masked from ‘package:utils’:
2023/08/15 20:35:56.236070342
2023/08/15 20:35:56.236090694 page
2023/08/15 20:35:56.236097824
2023/08/15 20:35:57.130592015
2023/08/15 20:35:57.130603687 Listening on http://127.0.0.1:42175
2023/08/15 20:35:59.117764980 Started loading model ....
2023/08/15 20:36:01.187517840 Warning: Error in if: argument is of length zero
2023/08/15 20:36:01.193783368 [No stack trace available]
2023/08/15 20:36:01.194296699 From earlier call:
2023/08/15 20:36:01.216363865 15: <Anonymous>
2023/08/15 20:36:01.216373116 13: fn
2023/08/15 20:36:01.216400199 8: retry
2023/08/15 20:36:01.216401224 7: connect$retryingStartServer
2023/08/15 20:36:01.216409912 6: eval
2023/08/15 20:36:01.216410667 5: eval
2023/08/15 20:36:01.216416951 4: eval
2023/08/15 20:36:01.216417401 3: eval
2023/08/15 20:36:01.216428022 2: eval.parent
2023/08/15 20:36:01.216433555 1: local
2023/08/15 20:36:06.217826900 [rsc-session] Received signal: interrupt
2023/08/15 20:36:06.217894130 [rsc-session] Terminating subprocess with interrupt ...
2023/08/15 20:36:06.235821571
2023/08/15 20:36:06.235884294
2023/08/15 20:36:06.236754192 Shiny application exiting ...
2023/08/15 20:36:06.236771788 Execution halted
2023/08/15 20:36:06.281193007 [rsc-session] Terminated subprocess with signal: interrupt