Error while deploying Shiny app to RStudio Connect












0















While trying to deploy a Shiny app on RStudio Connect I receive the following error:



----- Deployment error -----
Error: HTTP 500
GET http://10.80.40.13:3939/__api__/tasks/YUJMyIjVyh3Pm87i?first_status=487

<h1>An error has occurred</h1>

<p id="message">database is locked</p>


The server is not under heavy load and currently there are only 5 users and one app on the server.



I tried a few steps from here. Killed the process using the db. I then moved connect.db to another location and then copied it back to /var/lib/rstudio-connect/db/. After this step I could not even login to RStudio Connect. I did an integrity check on connect.db and found it to be ok butt still no joy. Next, I restored the db to a previous version. I am able to login now but while deploying the Shiny app, still receiving the same error.



The app I am trying to deploy has already been successfully deployed on the server. What I am trying to deploy now is a modified version of the same app, with the only change being an addition of a pickerInput().










share|improve this question

























  • I suspect this is not enough information to be able to help (log files might be telling). Tour tags shiny and rstudio-server are not appropriate, as this it not a shiny problem, and RSP is a different product completely from RSC. If you don't get any good replies here on SO, you may have better luck browsing and perhaps asking at community.rstudio.com.

    – r2evans
    Jan 19 at 5:11








  • 1





    @r2evans thanks, have posted this at rstudio community too, pending approval. Removed the tags as suggested.

    – Dhiraj
    Jan 19 at 5:56
















0















While trying to deploy a Shiny app on RStudio Connect I receive the following error:



----- Deployment error -----
Error: HTTP 500
GET http://10.80.40.13:3939/__api__/tasks/YUJMyIjVyh3Pm87i?first_status=487

<h1>An error has occurred</h1>

<p id="message">database is locked</p>


The server is not under heavy load and currently there are only 5 users and one app on the server.



I tried a few steps from here. Killed the process using the db. I then moved connect.db to another location and then copied it back to /var/lib/rstudio-connect/db/. After this step I could not even login to RStudio Connect. I did an integrity check on connect.db and found it to be ok butt still no joy. Next, I restored the db to a previous version. I am able to login now but while deploying the Shiny app, still receiving the same error.



The app I am trying to deploy has already been successfully deployed on the server. What I am trying to deploy now is a modified version of the same app, with the only change being an addition of a pickerInput().










share|improve this question

























  • I suspect this is not enough information to be able to help (log files might be telling). Tour tags shiny and rstudio-server are not appropriate, as this it not a shiny problem, and RSP is a different product completely from RSC. If you don't get any good replies here on SO, you may have better luck browsing and perhaps asking at community.rstudio.com.

    – r2evans
    Jan 19 at 5:11








  • 1





    @r2evans thanks, have posted this at rstudio community too, pending approval. Removed the tags as suggested.

    – Dhiraj
    Jan 19 at 5:56














0












0








0








While trying to deploy a Shiny app on RStudio Connect I receive the following error:



----- Deployment error -----
Error: HTTP 500
GET http://10.80.40.13:3939/__api__/tasks/YUJMyIjVyh3Pm87i?first_status=487

<h1>An error has occurred</h1>

<p id="message">database is locked</p>


The server is not under heavy load and currently there are only 5 users and one app on the server.



I tried a few steps from here. Killed the process using the db. I then moved connect.db to another location and then copied it back to /var/lib/rstudio-connect/db/. After this step I could not even login to RStudio Connect. I did an integrity check on connect.db and found it to be ok butt still no joy. Next, I restored the db to a previous version. I am able to login now but while deploying the Shiny app, still receiving the same error.



The app I am trying to deploy has already been successfully deployed on the server. What I am trying to deploy now is a modified version of the same app, with the only change being an addition of a pickerInput().










share|improve this question
















While trying to deploy a Shiny app on RStudio Connect I receive the following error:



----- Deployment error -----
Error: HTTP 500
GET http://10.80.40.13:3939/__api__/tasks/YUJMyIjVyh3Pm87i?first_status=487

<h1>An error has occurred</h1>

<p id="message">database is locked</p>


The server is not under heavy load and currently there are only 5 users and one app on the server.



I tried a few steps from here. Killed the process using the db. I then moved connect.db to another location and then copied it back to /var/lib/rstudio-connect/db/. After this step I could not even login to RStudio Connect. I did an integrity check on connect.db and found it to be ok butt still no joy. Next, I restored the db to a previous version. I am able to login now but while deploying the Shiny app, still receiving the same error.



The app I am trying to deploy has already been successfully deployed on the server. What I am trying to deploy now is a modified version of the same app, with the only change being an addition of a pickerInput().







r sqlite






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 19 at 5:55







Dhiraj

















asked Jan 19 at 3:30









DhirajDhiraj

618416




618416













  • I suspect this is not enough information to be able to help (log files might be telling). Tour tags shiny and rstudio-server are not appropriate, as this it not a shiny problem, and RSP is a different product completely from RSC. If you don't get any good replies here on SO, you may have better luck browsing and perhaps asking at community.rstudio.com.

    – r2evans
    Jan 19 at 5:11








  • 1





    @r2evans thanks, have posted this at rstudio community too, pending approval. Removed the tags as suggested.

    – Dhiraj
    Jan 19 at 5:56



















  • I suspect this is not enough information to be able to help (log files might be telling). Tour tags shiny and rstudio-server are not appropriate, as this it not a shiny problem, and RSP is a different product completely from RSC. If you don't get any good replies here on SO, you may have better luck browsing and perhaps asking at community.rstudio.com.

    – r2evans
    Jan 19 at 5:11








  • 1





    @r2evans thanks, have posted this at rstudio community too, pending approval. Removed the tags as suggested.

    – Dhiraj
    Jan 19 at 5:56

















I suspect this is not enough information to be able to help (log files might be telling). Tour tags shiny and rstudio-server are not appropriate, as this it not a shiny problem, and RSP is a different product completely from RSC. If you don't get any good replies here on SO, you may have better luck browsing and perhaps asking at community.rstudio.com.

– r2evans
Jan 19 at 5:11







I suspect this is not enough information to be able to help (log files might be telling). Tour tags shiny and rstudio-server are not appropriate, as this it not a shiny problem, and RSP is a different product completely from RSC. If you don't get any good replies here on SO, you may have better luck browsing and perhaps asking at community.rstudio.com.

– r2evans
Jan 19 at 5:11






1




1





@r2evans thanks, have posted this at rstudio community too, pending approval. Removed the tags as suggested.

– Dhiraj
Jan 19 at 5:56





@r2evans thanks, have posted this at rstudio community too, pending approval. Removed the tags as suggested.

– Dhiraj
Jan 19 at 5:56












0






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',
autoActivateHeartbeat: false,
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%2f54263842%2ferror-while-deploying-shiny-app-to-rstudio-connect%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54263842%2ferror-while-deploying-shiny-app-to-rstudio-connect%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







Popular posts from this blog

Liquibase includeAll doesn't find base path

How to use setInterval in EJS file?

Petrus Granier-Deferre