I'm trying to deploy my (more or less) first shiny app. According to Rstudio it worked/works but when I visit the URL I receive: ERROR: An error has occurred. Check your logs or contact the app author for clarification.
What I wonder is that I can't see anything somewhere and, as far as I see, there are no logs in Rstudio. The following is the output from "Deploy":
> Preparing to deploy document...DONE
> Uploading bundle for document: 2456573...DONE
> Deploying bundle: 3272797 for document: 2456573 ...
> Waiting for task: 747478178
> building: Parsing manifest
> building: Building image: 3662642
> building: Installing system dependencies
> building: Fetching packages
> building: Installing packages
> building: Installing files
> building: Pushing image: 3662642
> deploying: Starting instances
> rollforward: Activating new instances
> terminating: Stopping old instances
> Document successfully deployed to https://xyz.shinyapps.io/xyz/
> Deployment completed: https://xyz.shinyapps.io/xyz/
This here is given in the shinyapps log:
> 2020-06-16T06:07:48.334076+00:00 shinyapps[2456573]:
> |
> |......... | 12%
> 2020-06-16T06:07:48.334125+00:00 shinyapps[2456573]: ordinary text without R code
> 2020-06-16T06:07:48.334146+00:00 shinyapps[2456573]:
> 2020-06-16T06:07:48.334740+00:00 shinyapps[2456573]: label: unnamed-chunk-2 (with options)
> 2020-06-16T06:07:48.334939+00:00 shinyapps[2456573]: List of 1
> 2020-06-16T06:07:48.334271+00:00 shinyapps[2456573]:
> |
> |.......... | 15%
> 2020-06-16T06:07:48.335561+00:00 shinyapps[2456573]: $ include: logi FALSE
> 2020-06-16T06:07:48.335602+00:00 shinyapps[2456573]:
> 2020-06-16T06:07:48.353249+00:00 shinyapps[2456573]: Quitting from lines 124-253 (CCD-Analysis.Rmd)
> 2020-06-16T06:07:48.355390+00:00 shinyapps[2456573]: Warning: Error in setwd: unable to change home directory
> 2020-06-16T06:07:48.361933+00:00 shinyapps[2456573]: 150: setwd
> 2020-06-16T06:07:48.354133+00:00 shinyapps[2456573]:
> 2020-06-16T06:07:48.361934+00:00 shinyapps[2456573]: 149: eval
> 2020-06-16T06:07:48.361959+00:00 shinyapps[2456573]: 133: knitr::knit
> 2020-06-16T06:07:48.361934+00:00 shinyapps[2456573]: 148: eval
> 2020-06-16T06:07:48.361960+00:00 shinyapps[2456573]: 132: <Anonymous>
> 2020-06-16T06:07:48.361935+00:00 shinyapps[2456573]: 143: evaluate_call
> 2020-06-16T06:07:48.361960+00:00 shinyapps[2456573]: 127: <reactive>
> 2020-06-16T06:07:48.361935+00:00 shinyapps[2456573]: 142: evaluate::evaluate
> 2020-06-16T06:07:48.361960+00:00 shinyapps[2456573]: 111: doc
> 2020-06-16T06:07:48.361935+00:00 shinyapps[2456573]: 141: evaluate
> 2020-06-16T06:07:48.361936+00:00 shinyapps[2456573]: 139: block_exec
> 2020-06-16T06:07:48.361936+00:00 shinyapps[2456573]: 138: call_block
> 2020-06-16T06:07:48.361936+00:00 shinyapps[2456573]: 137: process_group.block
> 2020-06-16T06:07:48.361937+00:00 shinyapps[2456573]: 134: process_file
> 2020-06-16T06:07:48.361962+00:00 shinyapps[2456573]: 13: rmarkdown::run
> 2020-06-16T06:07:48.361962+00:00 shinyapps[2456573]: 15: <Anonymous>
> 2020-06-16T06:07:48.361962+00:00 shinyapps[2456573]: 12: fn
> 2020-06-16T06:07:48.361963+00:00 shinyapps[2456573]: 7: connect$retry
> 2020-06-16T06:07:48.361974+00:00 shinyapps[2456573]: 6: eval
> 2020-06-16T06:07:48.361974+00:00 shinyapps[2456573]: 5: eval
> 2020-06-16T06:07:48.361961+00:00 shinyapps[2456573]: 110: shiny::renderUI
> 2020-06-16T06:07:48.361961+00:00 shinyapps[2456573]: 109: func
> 2020-06-16T06:07:48.361961+00:00 shinyapps[2456573]: 96: origRenderFunc
> 2020-06-16T06:07:48.361961+00:00 shinyapps[2456573]: 95: output$__reactivedoc__
> 2020-06-16T06:10:06.986212+00:00 shinyapps[2456573]: Server version: 1.8.2.1-12
> 2020-06-16T06:10:06.986249+00:00 shinyapps[2456573]: LANG: de_DE.UTF-8
> 2020-06-16T06:10:06.986250+00:00 shinyapps[2456573]: R version: 4.0.1
> 2020-06-16T06:10:06.986252+00:00 shinyapps[2456573]: shiny version: 1.4.0.2
> 2020-06-16T06:10:06.986271+00:00 shinyapps[2456573]: rmarkdown version: 2.2
> 2020-06-16T06:10:06.986288+00:00 shinyapps[2456573]: knitr version: 1.28
> 2020-06-16T06:10:06.986262+00:00 shinyapps[2456573]: httpuv version: 1.5.4
> 2020-06-16T06:10:06.986301+00:00 shinyapps[2456573]: jsonlite version: 1.6.1
> 2020-06-16T06:10:06.986336+00:00 shinyapps[2456573]: htmltools version: 0.4.0
> 2020-06-16T06:10:06.986301+00:00 shinyapps[2456573]: RJSONIO version: (none)
> 2020-06-16T06:10:06.986571+00:00 shinyapps[2456573]: Using pandoc: /opt/connect/ext/pandoc2
> 2020-06-16T06:10:07.132976+00:00 shinyapps[2456573]: Starting R with process ID: '109'
> 2020-06-16T06:10:07.198756+00:00 shinyapps[2456573]:
> 2020-06-16T06:10:07.125078+00:00 shinyapps[2456573]: Using jsonlite for JSON processing
> 2020-06-16T06:10:07.132975+00:00 shinyapps[2456573]:
> 2020-06-16T06:10:07.198758+00:00 shinyapps[2456573]: Listening on http://127.0.0.1:45434
Thank you in advance!