digital-ocean

Python - Node.js (V8) runtime is not available on this system

。_饼干妹妹 提交于 2019-12-10 03:10:42
问题 I'm getting the following error when trying to use ExecJS: execjs.RuntimeUnavailable: Node.js (V8) runtime is not available on this system I have node.js installed on my machine (Ubuntu 14.04). Which Node outputs /usr/bin/node Any ideas? 回答1: Have you seen this similar issue They resolve the problem by linking node under /usr/local/bin/node ln -s /usr/local/bin/node /usr/bin/node 回答2: Hello I've had the same issue before and this solved it: Node.js not found by Rails / execjs PS: if this

Dokku asking for password when trying to git push

此生再无相见时 提交于 2019-12-08 18:36:47
问题 I have created a droplet on digital ocean with an image of ubuntu and dokku. I have followed this tutorial to deploy my app, I have also done the configuration to add my ssh key to dokku. Now when I try to "git push [name] master" I get asked for "dokku@domain" password. 回答1: I had this problem too because I work from multiple machines so even though I uploaded both public ssh keys to digital ocean prior to creating the droplet when I went to sign in I could do so on both machines if I was

Bots preventing Meteor server from deploying on Digital Ocean with Meteor Up

那年仲夏 提交于 2019-12-08 09:46:16
问题 When I am using Meteor Up to deploy my app to a Digital Ocean Droplet, I am receiving the following error in the logs preventing the app from deploying. I have the exact same deployment on a different Droplet with no such issue. According to my research online, this is a known issue caused by bots trying to make a GET request on the server, apparently attempting to use the server as a proxy. EDIT: To clarify, my app loads in the browser just fine due to a previous successful deploy. This

Rails console hanging in dokku droplet

喜夏-厌秋 提交于 2019-12-08 05:31:25
I just moved from heroku to a digital ocean dokku one-klick droplet and it's working fine exept of the rails console. Since I thought it might be a problem with missing ram I upgraded my droplet to 2gb but it still won't work... Everytime I run "dokku run rails c", the console is loading in the right enviromnent and it seems to be fine. But when I type in something (2+2 or User.all,...) and hit enter, there is no processing of the console. It's just hanging and the only thing I can do is to quit the console (ctrl+c). No errors are displayed... I already reinstalled the app completely but it

Rails console hanging in dokku droplet

一笑奈何 提交于 2019-12-08 04:45:09
问题 I just moved from heroku to a digital ocean dokku one-klick droplet and it's working fine exept of the rails console. Since I thought it might be a problem with missing ram I upgraded my droplet to 2gb but it still won't work... Everytime I run "dokku run rails c", the console is loading in the right enviromnent and it seems to be fine. But when I type in something (2+2 or User.all,...) and hit enter, there is no processing of the console. It's just hanging and the only thing I can do is to

How can I deploy Meteor app in DigitalOcean Meteor up: Error response from daemon: No such container

假装没事ソ 提交于 2019-12-08 04:19:56
问题 I have finished developing my application in meteor and I want to deploy it to the web from DigitalOcean with Meteor up. I have read some documentation to understand the steps to follow. http://meteortips.com/deployment-tutorial/digitalocean-part-1/ Then configure the mup.js with the data that DigitalOcean delivers. I run the mup setup command, there is no problem here, it installs Docker, Meteor, Mongo. But when I run the mup deploy command, the terminal shows me the following error message.

How do I run the Hetionet v1.0 docker container?

一个人想着一个人 提交于 2019-12-08 03:11:27
问题 I'm trying to run the Hetionet v1.0 docker container mentioned in this SO post. I've setup a digitalocean droplet with Docker I ran docker pull dhimmel/hetionet and it worked Now I run docker run dhimmel/hetionet and the following happens (and never returns to the interactive shell prompt). If that completed successfully I think the last thing I'm supposed to do is run sh ~/run-docker.sh . Furthermore nothing is live at my droplet's ip_address:7474. The error in the screenshot above looks a

Need help getting my ssh keys to work on a digital ocean droplet

会有一股神秘感。 提交于 2019-12-07 23:47:49
问题 When creating the new droplet I check the SSH option and paste my public key (that works fine on my AWS) Droplet but unable to login to new droplet. Both instances are using ubuntu. From reading the documentation, I understand that if SSH keys are provide at the creation of an instance, no email with root password is sent. Not sure why I am being prompted for password. Assistance would be appreciated. here is the session on my attempt to login: TLOMBARD-M-T8T8:.ssh tlombard$ ssh root@107.170

can Kubectl remember me?

大兔子大兔子 提交于 2019-12-07 15:36:02
问题 I have implemented basic authentication on my kubernetes api-server, now I am trying to configure my ./kube/config file in a way I could simply run, kubectl get pods kubectl config set-cluster digitalocean \ --server=https://SERVER:6443 \ --insecure-skip-tls-verify=true \ --api-version="v1" kubectl config set-context digitalocean --cluster=digitalocean --user=admin kubectl config set-credentials admin --password="PASSWORD" kubectl config use-context digitalocean But now, it asks for

SMTP Mandrill Port 587 Connection Timed out

浪尽此生 提交于 2019-12-07 10:06:55
问题 I have an app that send some notification e-mails for myself using Mandrillapp's SMTP server. It works fine on my localhost/development, but in DigitalOcean's Droplet I get an PHP exception telling me that the connection have timed out. Using Netcat I would be able to confirm this: nc: connect to smtp.mandrillapp.com port 587 (tcp) failed: Connection timed out It's possible to have this working on DigitalOcean or I need to do something else to send e-mails? Thank you! Droplet: Ubuntu 14.04