digital-ocean

Memory issue with meteor up (mup) on Digital Ocean

。_饼干妹妹 提交于 2019-11-30 19:04:18
问题 I couldn't find existing posts related to my issue. On a Digital Ocean Droplet, mup setup went fine, but when I try to deploy, I get the following error. Any ideas? Thanks! root@ts:~/ts-deploy# mup deploy Meteor Up: Production Quality Meteor Deployments Building Started: /root/TS/ Bundling Error: code=137, error: -------------------STDOUT------------------- Figuring out the best package versions to use. This may take a moment. -------------------STDERR------------------- bash: line 1: 31217

How Can I run PM2 with Angular-Cli? - Angular2

妖精的绣舞 提交于 2019-11-30 03:02:53
问题 How can I run: ng serve --prod with pm2? ng serve from angular-cli, Angular2. I'm running on DigitalOcean. I have tried to test with http-server -p 4200 -d false in the dist/ folder after ng build --prod When I request from the domain https://www.unibookkh.com/, i got 404 error: (I've already setup nginx to listen to port 4200. I test with http-server because I think I maybe can run pm2 through this command pm2 start my_app_process.json where my_app_process.json { "apps": [ { "name": "angular

Unable to access Webmin through browser

☆樱花仙子☆ 提交于 2019-11-30 02:01:15
I followed DigitalOcean's tutorials on how to set up your server with SSH, creating a new user, firewalls etc. The first tutorial in the series is linked under: https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh I've also installed Webmin on my server, but I still can't get a connection to the server by using the web-browser. It just loads for a long time and then says it can't establish a connection. The URL's I've been using are: "Just-my-IP-adress" and " https://Just-my-IP-adress:10000 " The last one to open the Webmin administrator. I'm not sure what

How to solve “sign_and_send_pubkey: signing failed: agent refused operation”?

为君一笑 提交于 2019-11-29 20:23:09
Configuring a new Digital Ocean droplet with SSH keys. When I run ssh-copy-id this is what I get: ssh-copy-id user@012.345.67.89 /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys sign_and_send_pubkey: signing failed: agent refused operation user@012.345.67.89's password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'user@012.345.67.89'" and check to make sure that only the key(s) you

Unexpected mongo exit code 100. Restarting

两盒软妹~` 提交于 2019-11-29 10:05:03
I was trying to run Meteor on my VPS and I was getting this error: Unexpected mongo exit code 100. Restarting. Unexpected mongo exit code 100. Restarting. Unexpected mongo exit code 100. Restarting. Can't start Mongo server. MongoDB had an unspecified uncaught exception. This can be caused by MongoDB being unable to write to a local database. Check that you have permissions to write to .meteor/local. MongoDB does not support filesystems like NFS that do not allow file locking. I have figured out that the problem is in my user permissions or something like that. It works very smoothly when I

RewriteRule Error: Bad flag delimiters

我与影子孤独终老i 提交于 2019-11-28 21:07:55
Using this RewriteRule in my .htaccess file I'm getting RewriteRule: Bad flag delimiters which is returning a 500 error in the browser. Can anyone point me in the right direction please. Thanks. RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com [NC] RewriteRule ^dev/(.*)$ http://dev.example.com/$1 [L,R=301, NC] This is on Ubuntu on a Digital Ocean Droplet. Turns out it was because of the space before N in the flag declaration [L,R=301, NC]. I changed it to [L,R=301,NC] and now it works a treat. Arvind Kala Check at the link below, and it will give you the line with error, which will be

End To End Testing on Headless Server

让人想犯罪 __ 提交于 2019-11-28 20:54:25
I am trying to set up an environment for end-to-end testing on a droplet running Ubuntu server 12.04.3 on digital ocean. What I am trying to achieve in the end is for my jenkins (installed on the one droplet) to be able to run my end-to-end tests. Now, the server is ofcourse headless and the end-to-end tests need to run through a browser (I am using protractor with the selenium standalone server with chromedriver). My question is: how do I spawn a browser on that machine ? I have installed xorg and if I do startx on the server, log out and ssh -X to it, I can manually run the end-to-end tests

Spring-boot application won't boot at startup inside docker

时光总嘲笑我的痴心妄想 提交于 2019-11-28 16:31:46
问题 I am running a simple spring-boot application inside a docker container. At startup whether started with java -jar MY_JAR.jar or mvn spring-boot:run the application will always hang at the following point: 2014-12-22 23:26:58.957 INFO 1 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] Here's the catch, I can ONLY reproduce this on an Ubuntu 14.04 box in DigitalOcean (1CPU, 1GB MEM), even though it's running inside a container.

mup deploy killed on DO droplet but no errors in logs :(

北战南征 提交于 2019-11-28 11:49:22
问题 Even just redeploying a previously successfully deployed app doesn't work. I monitored mup logs -f on a separate terminal while deploying, but nothing ever showed up there. Looks like it doesn't even get to the actual deploy step. I have Node 0.10.31 and Meteor 1.0. Is anyone else having this problem or know how to tackle it? ~# mup deploy Meteor Up: Production Quality Meteor Deployments ------------------------------------------------ Building Started: /root/TS Bundling Error: code=137,

Meteor Up deployment, can't use meteor mongo --url

你离开我真会死。 提交于 2019-11-28 07:46:05
I've recently deployed my Meteor app to a Digital Ocean droplet running Ubuntu 14.04 x32. I used Meteor Up with this mup.json file: { // Server authentication info "servers": [ { "host": "mycorrecthostname", "username": "root", "password": "mycorrectpassword" } ], // Install MongoDB in the server, does not destroy local MongoDB on future setup "setupMongo": true, // WARNING: Node.js is required! Only skip if you already have Node.js installed on server. "setupNode": true, // WARNING: If nodeVersion omitted will setup 0.10.25 by default. Do not use v, only version number. "nodeVersion": "0.10