Where to store images?

0
Servers
Hello everyone, I'm working on an application and I expect a lot of images to be uploaded on it. I don't have estimates yet, but I think they will be in the range of 20K-30K images in the first ye...
Ali Hamdi Ali Fadel posted

Could I deploy two different apps on the same server?

0
Servers
Hello everyone, Yesterday, I started using HatchBox to deploy my Rails application, and I deployed 1 application successfully. The process is clear and straight-forward. My question is could I de...
Ali Hamdi Ali Fadel posted

Reverse Proxy with Caddy and Custom (Dynamic) Domain Names

1
Servers
TL;DR - how do I override the base_url (akin to CSRF protection?) with a set of valid domains? Hi all I run a PaaS of sorts which at present is hosted on Heroku and I have to map all my custom do...
David Lowry replied
Solved

Hatch Deploy

1
Servers
Hi, I recently deployed 2 apps on one server, how do I view the second app coz the view site button redirect me to the first app Ive deployed ?
Solved

Hatchox deploy

3
Servers
Hi Chris, I get this  following error while try to deploy -----> Connecting to web-app (000.00.114.236) as root Net::SSH::Connection::Session::CommandFailed: Command "mkdir -p .hatch"...
Solved

Backing up uploaded files (hundreds of gigs) to S3 using Backup gem without duplication on HD

1
Servers
Let's say I have 400GB of uploaded images inside a 800GB VPN machine. So we're confortably using 50% of storage.Even tough we have our hosting's backup enabled, we want to have an extra backup sitt...

WildCard Let'sEncrypt

1
Servers
Hi! How to use LetsEncrypt wildcard for subdomains. https://gorails.com/guides/free-ssl-with-rails-and-nginx-using-let-s-encrypt

Mimic Heroku CLI on Hatchbox with rake tasks

0
Servers
Hi guys, Weirdly enough the thing that was holding me back the most from moving away from Heroku to Hatchbox was the ease of use of the Heroku CLI in my daily workflow. So this weekend I decided...
Vincent Bakker posted

passenger vs puma for capistrano deploying

3
Servers
Hi, i am new to deploying, so for deploying using capistrano, shall i go with capistrano passenger or capistrano puma, i need to know the pros and cons of these. Thank you
Eldon Jones replied

Rails, Hatchbox, New SSH Key and Permission denied (publickey)

4
Servers
Hi, I am having to use a different computer whilst mine is in for repair. So i generated the SSH keys to be used for deployment with Hatchbox. Using deploy@x.x.x.x or root@x.x.x.x just gives me an ...
bradley replied

This website is under heavy load (queue full)

4
Servers
I just got this message today on my production site. Website is running an ROR backend with a React front end. Current site is running on Hatchbox/Digital Ocean with 16vCPUs, 32gb Memory and 200gb...

ServiceNOW and KB article with MS Chatbot

0
Servers
We want to leverage the ServiceNOW Knowledge Base/articles to fetch articles from a customer ServiceNOW production instance through a Chatbot. As ServiceNOW administrators, how do you propose we w...
MUKESH KUMAR posted

Use .ENV instead of Secrets.yml for keys

6
Servers
Regarding around time area 3min for *Direct File Uploads to S3: Part 2*, I was wondering if I could just use ```.ENV``` since I'm using this as an example for my Github and Heroku. Instead of putt...
Chris Oliver replied
Solved

What is the best way to host video platform in a cost efficient way and good streaming quality while still keeping it extensible

0
Servers
Hey, I am planing a little page where we want to post zoom sessions and give the opportunity to watch them afterwards. In the beginning we might 5-20 people watching and long term plans are to bu...
OuttaSpaceTime posted

Host sets website root to rails 6 public folder... why?

0
Servers
Hello. My host service sets website root at my rails 6 app public folder. This results in rendering the static public/index.html instead of root 'pages#index' each time i visit the website url. If ...
Soppi posted

What's the best way to debug Amazon S3 errors

0
Servers
Hi everyone, So far in my rails journey, the most frustrating thing by far has been using Amazon S3 for storage. I have had various issues, all without error messages, which is like looking for a ...
Tom Dringer posted

host multiple websites with one ip

0
Servers
i am trying to host ruby on rails website in linode(deploying via puma and nginx capistrano). i am having a single(ip) server, where i have to host 3 e-commerce websites. i tried to host but all t...

Why my rails production server reaches to 100% CPU usage and making app to be unresponsive?

11
Servers
Hi My rails app production server CPU usage sometimes reaches to 100% and making app to be unresponsive. We are using Ubuntu 16.04.1 LTS server and configured Rails app along with Nginx and passe...

production.log is nowhere to be found on Digital Ocean

1
Servers
Hey everyone, so I deployed my app onto Digital Ocean according to the Gorails guide and I managed to get it working. My is able to connect to DO's managed database, and serve content normally. I ...
Thuba Mamba replied

Hatchbox: Scaling up servers

2
Servers
Hi, I am currently set up as a single server on hatchbox with Rails/Puma/Postgres/Background Workers, and it is time to better handle crashes and balance the traffic, busy times are noticeably much...
holola replied

Want to stay up-to-date with Ruby on Rails?

Join 88,697+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.