Shiny App unable to start on shiny server











up vote
14
down vote

favorite
1












I want to deploy a Shiny app on the Shiny server but not able to access the app from the local server URL.



enter image description here



This is the output of /var/log/shiny-server.log:



[2016-04-11 21:39:24.302] [INFO] shiny-server - Starting listener on 0.0.0.0:3838
[2016-04-11 21:42:29.564] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:42:29.570] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:15.156] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:15.163] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:28.593] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:28.604] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:54.549] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:51:52.528] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:20.004] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:20.020] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:26.843] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:56:10.938] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:56:10.946] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.


What is the problem?










share|improve this question
























  • Maybe this could help.
    – Mikael Jumppanen
    Apr 11 '16 at 16:58






  • 1




    This, github.com/rstudio/shiny-server/issues/153, especially the point of having the right permission to access in shiny-server.conf, "run_as", was helpful to me.
    – Patrik_P
    Nov 21 '16 at 9:37






  • 4




    What helped me was adding sanitize_errors off; to /etc/shiny-server/shiny-server.conf
    – Mrinal Saurabh
    Jun 27 '17 at 6:24










  • This kind of error usually occurs for me when some package is not installed
    – Adelmo Filho
    Aug 20 at 1:05










  • Or R is not correctly installed. The error states that the base-package can't be found. What if you reinstall base R?
    – SeGa
    Oct 14 at 20:13















up vote
14
down vote

favorite
1












I want to deploy a Shiny app on the Shiny server but not able to access the app from the local server URL.



enter image description here



This is the output of /var/log/shiny-server.log:



[2016-04-11 21:39:24.302] [INFO] shiny-server - Starting listener on 0.0.0.0:3838
[2016-04-11 21:42:29.564] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:42:29.570] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:15.156] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:15.163] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:28.593] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:28.604] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:54.549] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:51:52.528] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:20.004] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:20.020] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:26.843] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:56:10.938] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:56:10.946] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.


What is the problem?










share|improve this question
























  • Maybe this could help.
    – Mikael Jumppanen
    Apr 11 '16 at 16:58






  • 1




    This, github.com/rstudio/shiny-server/issues/153, especially the point of having the right permission to access in shiny-server.conf, "run_as", was helpful to me.
    – Patrik_P
    Nov 21 '16 at 9:37






  • 4




    What helped me was adding sanitize_errors off; to /etc/shiny-server/shiny-server.conf
    – Mrinal Saurabh
    Jun 27 '17 at 6:24










  • This kind of error usually occurs for me when some package is not installed
    – Adelmo Filho
    Aug 20 at 1:05










  • Or R is not correctly installed. The error states that the base-package can't be found. What if you reinstall base R?
    – SeGa
    Oct 14 at 20:13













up vote
14
down vote

favorite
1









up vote
14
down vote

favorite
1






1





I want to deploy a Shiny app on the Shiny server but not able to access the app from the local server URL.



enter image description here



This is the output of /var/log/shiny-server.log:



[2016-04-11 21:39:24.302] [INFO] shiny-server - Starting listener on 0.0.0.0:3838
[2016-04-11 21:42:29.564] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:42:29.570] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:15.156] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:15.163] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:28.593] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:28.604] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:54.549] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:51:52.528] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:20.004] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:20.020] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:26.843] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:56:10.938] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:56:10.946] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.


What is the problem?










share|improve this question















I want to deploy a Shiny app on the Shiny server but not able to access the app from the local server URL.



enter image description here



This is the output of /var/log/shiny-server.log:



[2016-04-11 21:39:24.302] [INFO] shiny-server - Starting listener on 0.0.0.0:3838
[2016-04-11 21:42:29.564] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:42:29.570] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:15.156] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:15.163] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:28.593] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:28.604] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:43:54.549] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:51:52.528] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:20.004] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:20.020] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:52:26.843] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:56:10.938] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2016-04-11 21:56:10.946] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.


What is the problem?







r shiny shiny-server






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 9 at 4:41









Nisarg

1,34131123




1,34131123










asked Apr 11 '16 at 16:31









Megh Vidani

374217




374217












  • Maybe this could help.
    – Mikael Jumppanen
    Apr 11 '16 at 16:58






  • 1




    This, github.com/rstudio/shiny-server/issues/153, especially the point of having the right permission to access in shiny-server.conf, "run_as", was helpful to me.
    – Patrik_P
    Nov 21 '16 at 9:37






  • 4




    What helped me was adding sanitize_errors off; to /etc/shiny-server/shiny-server.conf
    – Mrinal Saurabh
    Jun 27 '17 at 6:24










  • This kind of error usually occurs for me when some package is not installed
    – Adelmo Filho
    Aug 20 at 1:05










  • Or R is not correctly installed. The error states that the base-package can't be found. What if you reinstall base R?
    – SeGa
    Oct 14 at 20:13


















  • Maybe this could help.
    – Mikael Jumppanen
    Apr 11 '16 at 16:58






  • 1




    This, github.com/rstudio/shiny-server/issues/153, especially the point of having the right permission to access in shiny-server.conf, "run_as", was helpful to me.
    – Patrik_P
    Nov 21 '16 at 9:37






  • 4




    What helped me was adding sanitize_errors off; to /etc/shiny-server/shiny-server.conf
    – Mrinal Saurabh
    Jun 27 '17 at 6:24










  • This kind of error usually occurs for me when some package is not installed
    – Adelmo Filho
    Aug 20 at 1:05










  • Or R is not correctly installed. The error states that the base-package can't be found. What if you reinstall base R?
    – SeGa
    Oct 14 at 20:13
















Maybe this could help.
– Mikael Jumppanen
Apr 11 '16 at 16:58




Maybe this could help.
– Mikael Jumppanen
Apr 11 '16 at 16:58




1




1




This, github.com/rstudio/shiny-server/issues/153, especially the point of having the right permission to access in shiny-server.conf, "run_as", was helpful to me.
– Patrik_P
Nov 21 '16 at 9:37




This, github.com/rstudio/shiny-server/issues/153, especially the point of having the right permission to access in shiny-server.conf, "run_as", was helpful to me.
– Patrik_P
Nov 21 '16 at 9:37




4




4




What helped me was adding sanitize_errors off; to /etc/shiny-server/shiny-server.conf
– Mrinal Saurabh
Jun 27 '17 at 6:24




What helped me was adding sanitize_errors off; to /etc/shiny-server/shiny-server.conf
– Mrinal Saurabh
Jun 27 '17 at 6:24












This kind of error usually occurs for me when some package is not installed
– Adelmo Filho
Aug 20 at 1:05




This kind of error usually occurs for me when some package is not installed
– Adelmo Filho
Aug 20 at 1:05












Or R is not correctly installed. The error states that the base-package can't be found. What if you reinstall base R?
– SeGa
Oct 14 at 20:13




Or R is not correctly installed. The error states that the base-package can't be found. What if you reinstall base R?
– SeGa
Oct 14 at 20:13

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f36554331%2fshiny-app-unable-to-start-on-shiny-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f36554331%2fshiny-app-unable-to-start-on-shiny-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Academy of Television Arts & Sciences

L'Équipe

1995 France bombings