Reputation: 3534
I created a Shiny app, using some public data (csv format) and visualize some basic insights in my shiny app. When deploying, the app works fine both locally, and on shinyapps.io, but for some reason fails when deploying on my own ubuntu server, where shiny-server is installed. Other examples, provided by shiny-server work fine.
The UI elements load correctly, but shortly after (like half a second later) the application crashes, showing the generic error "Disconnected from server". The strangest thing to me is that it works fine on shinyapps.io.
Some things that might cause the problem:
The app is available here: https://maartenstolk.shinyapps.io/nbd_biblion/
Any suggestions what might go wrong?
Upvotes: 2
Views: 3228
Reputation: 808
I had the exact same problem with the ubuntu server. The problem was due to inaccessibility of the packages globally. So i had to reinstall packages again by this command:
sudo su - -c "R -e \"install.packages('packagenme', repos = 'http://cran.rstudio.com/',dependencies =TRUE)\""
and at the end everything was working
Upvotes: 1