Error when hosting shiny app on DigitalOcean ubuntu server

Pia

I have built a shiny app that I have successfully deployed to shinyapps.io in the past. However, since I need better hosting resources and a custom domain, and the only shinyapps.io option allowing for the latter is out of my price range, I am trying to host the app on a digital ocean ubuntu droplet.

I have been able to set up shiny server on my droplet using this tutorial. The sample apps work just fine. However, when I try to access my own app (having uploaded it into a directory within my shiny server) I get the following error:

An error has occurred! An error has occurred. Check your logs or contact the app author for clarification.

I've googled for a solution and have tried moving the data cleaning steps from outside the server/ui function into the functions. I have also checked that RStudio on the droplet has all the required packages installed and that seems to be the case. I have checked the logs but there is nothing about this app or the error in the shiny server log. My app works fine both on my local computer and on shinyapps.io. I'd really appreciate any pointers (and apologies if I am duplicating but I haven't found anything that seems directly applicable).

Pia

Okay - it turns out one of the packages was indeed missing. I had installed them all using my non-root user with admin privileges, and was under the impression they were available globally. One of the packages was not available to root and installing it there resolved the problem.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Angular app is not running on (Ubuntu) digitalocean server?

Shiny Server - problem hosting an additional app

DigitalOcean ubuntu droplet error when using `su`

Script using GPU throws error when running app on Shiny server

Connecting to database when hosting shiny app on shinyapps.io in R

shiny app with downloadable md report, error: "pandoc: Could not find data file" when run by shiny-server

Error when using icon function in shiny app

Laravel server hosting error

Hosting Net Core app on Ubuntu

How to get rid off ssl error when i'm trying to deploy my app at digitalocean?

Hosting a Website with Ubuntu Server 11.04

Hosting the django app in an nginx server

Shiny app error when running in app in the project root folder

Parse-server on DigitalOcean - Error 502

Why am I getting 'server not found' error in my shiny app?

500 Internal Server Error Hosting

Refreshing of shiny app in aws server when refresh button is pressed in browser

HTTP Error 500.19 - Internal Server Error after hosting the Angular 4 app

R shiny - shiny app works well locally and on others shiny server but it does not work on my server. It gives me NO error message

Deploying Flask app on own Ubuntu Server Error

Got error in fread function when building shiny app

Error when trying to place input$something in front of "=" sign in a shiny app

Error when launching shiny app in EC2 instance

shiny app histogram error

Mysqli error when hosting to website

Internal Server Error 500 - Azure App Service hosting Microsoft Bot Framework

Error 500: Hosting .net Core 6 app into IIS on Windows Server 2016

"Error in server: unused arguments" - R shiny app error (server function includes conditional statements)

Virtual hosting with a LAMP server and Ubuntu 12.04 with Filezilla