1

I have a shiny server on which I have deployed two apps. They run fine. I tried to deploy a third app using exactly the same protocol and when I try to invoke from its url I get this error:

The application failed to start.

The application exited during initialization.

I examined the file permissions for the app.R file for all three apps and they are identical. I also see nothing in the log file (var/log/shiny-server) hat points to an obvious problem. Any ideas?

richard gayle
  • 129
  • 1
  • 5
  • 1
    Why not post the contents of your logfile? It definitely contains the error that prevented running the app. Most likely a package is not installed, or a library call is missing. – GyD Feb 22 '18 at 07:57
  • Just a trick I use often (not for purists!). Load rstudio on the shiny server and run the app from there. This doesn't use the actual shiny server, but it allows quickly to debug obvious things: are all the packages loaded working ok etc. (I also use `chmod -R 777 – Enzo Feb 22 '18 at 17:43
  • Yes, I missed a source call. The error message wasn't particularly informative but it was, ultimately, a simple fix. – richard gayle Feb 23 '18 at 08:02
  • I had the same error because the port I was using was busy. See [here](https://stackoverflow.com/a/71858722/5783745) for diagnosis and how to resolve. – stevec Apr 13 '22 at 13:57

0 Answers0