Error while deploying Shiny app to RStudio Connect - r

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().

Related

Windows could not start the odoo-server-15.0 service on local computer

I downloaded and installed odoo and it was running fine on my server, then I added a custom module it was uploaded successfully but it wasn't reading the model files and other view files I created, so I restarted the server and then I was receiving the following error. My database is connected and there is no such issue I even tried to start it manually but it did not work, so what's the solution to this problem?
Error details

Shiny-app error: The application failed to start. The application exited during initialization

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?

Cannot access Shiny App on a local server

I have a shiny app on a local server (ubuntu) which uses a dataset which is also there in the server. It's working fine when I am running its code on the server, but when I am accessing the shiny app from another system (windows 8) it is giving this error...
"An error has occurred. Check your logs or contact the app author for clarification"
Please help.
So have a look on the log-file
/var/log/shiny-server/

Meteor command showing ctrl-c option to stop while trying to run the app

I am new to meteor. When i try to run meteor app in cmd prompt is showing ctrl-c option to stop the app.
When I enter y or n option the app gets stopped and I am unable to connect with mongo db. It is showing an error that meteor is not running a local mongodb server. It is mentioned to start the app first with meteor command.
Someone please help me
Thanks
yes, that's right. when running locally, the mongodb instance attached to your application is started when you run meteor, and stops running when you stop meteor.
in a real production application, you would have a mongo instance that is separate. e.g. running on mLab or Atlas. then you would start your meteor app with a settings file that specified the setting string(s) to connect to the database.

Develop a shiny app login locally

I want to develop a shiny app with login, which later should be hosted on Shinyapps.io (STANDARD).
How can I develope/debug the app locally without having Shiny Server Pro or uploading the app to Shinyapps.io every time.
Running the code displayed here.
I of course get the following message:
ERROR: This application is designed to be run in Shiny Server Pro and to require authentication.

Resources