Decoding Shiny Error Messages - Where is the app log file?

shiny-server

#1

...First time deploying my own shiny-server running on a DigitalOcean VM. setup using these instructions: https://www.digitalocean.com/community/tutorials/how-to-set-up-shiny-server-on-ubuntu-16-04

Shiny-server runs successfully and the demo page works.

Loaded the files of an app that runs locally and receive this error:
ERROR: An error has occurred. Check your logs or contact the app author for clarification.

I read this

and this

https://shiny.rstudio.com/articles/sanitize-errors.html

and added this to try to get a more verbose error message to no avail
options(shiny.sanitize.errors = FALSE)

Where would I find the application error logs to give me more info?


#2

Here are two references that have what you're looking for:

This support article:

And the Shiny Server Pro admin guide:
http://docs.rstudio.com/shiny-server/#logging-and-analytics


#3

I think I'm still missing something fundamental. The directory /var/log/shiny-server is empty so no app log info. Yet the web page I visit that should host my app says: ERROR: An error has occurred. Check your logs or contact the app author for clarification.

UPDATE

I installer Shiny Server and verified that all the files run OK using RStudio from a web browser and pointing to these files in my personal directory.

I then modified /etc/shiny-server/shiny-server.conf so that Shiny Server sees these files:

#Host the directory of Shiny Apps stored in this directory
site_dir /home/law;

Yet still when I point my browser to that directory I get the error:
ERROR: An error has occurred. Check your logs or contact the app author for clarification.

AND there are no log files to be found in /var/log/shiny-server
Thoughts?

UPDATE 2

Got it working by reinstalling all packages as the user, shiny