Shiny server error: No UI defined

When I open my shiny application on shiny server, I got an error:

No UI defined

Shiny couldn't find any UI for this application. We looked in:


I have checked:

  • The shiny server is running
  • I can run the default hello application.
  • I can run my local application without problem.
  • I have run the same application before on my shiny server and it worked. However it is not working with the same codes.
  • All file under my application have -rw-r–r– permission.

Can anybody help me with this? Why did it happened?

Thanks in advance!

R Shiny server dateRangeInput error

I keep finding this error Error: could not find function dateRangeInput whenever i try to run the following application. server.R library(shiny) library(ggplot2) library(shinyExt) shinyServer(funct

Embed HTML UI Shiny application in package

I’m trying to include a shiny implementation in a package I’m making. I see that in shiny::runApp() you can specify the UI and server as a list rather than a directory location: runApp(list( ui = boot

Shiny with HTML UI:

I am converting a small legacy web that currently uses R, RApache and PHP to use only R and Shiny instead. One of the requirements is to use HTML UI instead of the regular Shiny UI.R. I have a file th

R shiny plot layout UI

Quick question on formatting positions of plots in r Shiny UI. So far I have made a series of histogram plots in Server.R and they all show perfectly in the UI. The only problem is, is that I want the

R Shiny Server installation package

Possible overlap: Packages missing in shiny-server R shiny / shiny-server – issue with finding packages R – How to set the path of install.packages() for shiny server ? – Ubuntu I have tried and read

Shiny: What is the option setting to display in the console the messages between server and ui

I remember having used an option setting that enable to print in the R console the messages between the server and ui while a shiny app is running. This option is really useful to understand what is h

Shiny runExample Error – Fail to create server

I am trying to play around with Shiny and simply attempted to run the basic out-of-the-box example. No dice. I attempted to Google the Issue but everything appears to address issues when running it o

OAuth (from “httr”) to LinkedIn on a Shiny server

I’m trying to connect to the LinkedIn API using OAuth from the ‘httr’ library on a ‘Shiny’ server. I have wrapped the locally working OAuth example from GitHub/hadley/httr, with a Shiny client ui and

Shiny: Why using a temporay variable for output on the server side fails?

Here is a simple shiny app that works : ui.R library(shiny) shinyUI(bootstrapPage( numericInput(mymun, enter a number,0), textOutput(mytext) )) server.R library(shiny) test <- function(input

R Shiny: UI Inputs format

It seems that this question applies to all shiny UI Inputs. Specifically, I am trying to find a way to format selectInput. For example, how could I change the blue color which highlights the selection


I did get same kind of error but it was because I forgot to save the changes made in ui.R file. It runs last saved version of ui.R.

Hope you are not making the same mistake.