To view the logs:
Add the following line to your ui.R | server.R | app.R
options(shiny.sanitize.errors = FALSE)
Edit your brilliant server .conf file:
sudo nano /etc/shiny-server/shiny-server.conf
add this line after "run_as" (don't forget the ";" at the end)
preserve_logs true;
Note 1: You may need to add this preserve_log file to make the brilliant server save logs to files. (Remember to remove this option after a debugging session. Shiny will start creating logs even for successful application sessions, and this can generate LOTS log files)
Go to the log path:
$ cd /var/log/shiny-server/
Check the logs and see what happens
$ nano appName-shinyuser-yyyymmdd-hhmmss-41509.log
In my case, the problem was just a missing package.
source share