digital-ocean

Jenkins Installation Wizard Error

霸气de小男生 提交于 2019-12-25 09:50:23
问题 I've tried installing Jenkins on AWS & DigitalOcean instances/droplets without any luck. For EC2 instances used the latest Amazon Linux AMI (ami-f9dd458a) & Ubuntu 14.04 (ami-ed82e39e). On DigitalOcean I tried using Ubuntu 14.04 & 16.04. I've also attempted to install jenkins using jdk-7 & jdk-8 following Debian based installation or Red-Hat distribution installation instructions (even tried to install LTS version). For all of the above the installation runs smoothly but after unlocking with

Why did it always show my domain's webpage when I enter my subdomain's address?

余生长醉 提交于 2019-12-25 06:59:49
问题 I have a domain - kongming.io. I want to create a link on the main page of kongming.io which links to the subdomain song.kongming.io. But when I click that button or type song.kongming.io directly in the explorer, it shows the main website page. I have been trying for several days, searching tutorials on the internet about How To Host Multiple Websites Securely With Nginx And Php-fpm On Ubuntu 14.04. I tried many many many tutorials, but no one works. Even though I did the exactly the same as

nginx does not receive requests except for hard refresh

我怕爱的太早我们不能终老 提交于 2019-12-25 05:11:58
问题 When doing a tail -f /var/log/nginx/access.log I notice the following things: when a user is on any page, and hits Enter from the address bar, no request is received by nginx , the browser directly loads from its cache instead when a user performs a hard refresh (F5 on Windows, Cmd+R on Mac), nginx did receive a request when a user visits /login which then redirects to / , nginx does indeed receive the request for /login but not for / , so the browser renders / from its cache, ignoring the

Postgres Backup Digital Ocean

萝らか妹 提交于 2019-12-25 03:14:43
问题 I have a Rails app running on Digital Ocean. It is a geolocator app, similar to when you type in your zip and find the nearest post office. I am trying to copy the production database over to my local environment, but am a little confused. I followed this article, but still stuck. The app has one model with nothing but locations. There are a few people helping update addresses and listing names etc, on the live site, which is why the production database is changing. I now have to make some

Not Found: /media/ 404 77 Django production - ASGI Digital Ocean

你。 提交于 2019-12-25 01:36:04
问题 I've tried everything but my media folder profile pic images still aren't appearing. They look like this on the webpage. I'm in production for my Django 2.1 app, using Digital Ocean running a ASGI server (as I'm using channels ). My media folder is located in my root folder (same level as manage.py ). The error being given is xx.xxx.xxx.xx:xxxxx - - [23/Feb/2019:17:23:49] "GET /media/profile_pics/avril.jpg" 404 77 But that is the correct path and the image is located there. All of my static

Could not connect to Redis at 127.0.0.1:6379: Connection refused

大城市里の小女人 提交于 2019-12-24 21:14:49
问题 Installed a redis in ubuntu 16.4 in digitalocean. I've changed the default redis server 127.0.0.1:6379 into my own ip in digitalocean 178.xxx.xxx.xxx:6379 by editing editing vim /etc/redis/redis.conf After that I tried redis-cli and redis-cli shutdown all responded this: Could not connect to Redis at 127.0.0.1:6379: Connection refused But if ps aux|grep redis I get: redis 11734 0.0 0.1 41852 3892 ? Ssl 15:45 0:11 /usr/local/bin/redis-server 178.xxx.xxx.xxx:6379 root 12735 0.0 0.0 12944 948

Using Braintree on Meteor mobile (android - cordova)

旧街凉风 提交于 2019-12-24 17:43:24
问题 I am using Meteor 1.3 with android platform and patrickml:braintree@1.32.0 to be able to process in-app payments. I configured braintree and inserted a Drop-in UI, which is the simplest way to do it. While testing, if I run it on web (localhost) or with meteor run android-device with no mobile-server configuration, then the drop in UI is shown on the device. However, when I try to integrate everything on my hosted server in Digital Ocean and try to test it using: meteor run android-device -

Deploying multiple rails application in a single digital ocean droplet using capistrano+nginx

折月煮酒 提交于 2019-12-24 15:29:51
问题 I have a rails application running on a digital ocean server with IP xxx.xxx.xxx.xx .the deployed with Capistrano was easy now running with ease.Now I'm thinking to deploy another application to the same server using capistrano, After many research i'm not getting any proper solutions for my doubts or cant find any best tutorials for this. What are the essential steps to look after before deploying the second application to the server? Which nginx port the second application should listen to,

Rails Dokku deployments to Digitalocean receives random ports

戏子无情 提交于 2019-12-24 14:49:24
问题 I created a rails app and have successfully deployed it to DigitalOcean. Every time I make a deployment, the port changes. First question, how do I get it to stop, and how do I get my application to respond to port 80 so I can hit it from the outside world without specifying the port number? Part of me wants to go back to heroku and just pay more because I don't get these headaches... 回答1: Unless you configure Dokku to use your domain name, it will serve the app at a random port. Put your

Connection timeout error while updating composer on Digital Ocean

爷,独闯天下 提交于 2019-12-24 07:49:54
问题 I am able to ssh into my droplet. Am also able to apt update and apt upgrade. When I try to run sudo composer self-update or composer update, I am getting connection timeout error. The "https://getcomposer.org/versions" file could not be downloaded: failed to open stream: Connection timed out output of ufw status To Action From 22 ALLOW Anywhere 80 ALLOW Anywhere 443 ALLOW Anywhere 25 ALLOW Anywhere 10000 ALLOW Anywhere output of composer diagnose Checking platform settings: OK Checking git