Displaying 20 results from an estimated 100 matches similar to: "Sidekiq on Heroku"
2017 Oct 13
2
sidekiq receives SIGHUP when started via ssh -t
Hi,
I have a couple of ideas how to fix it, but I'm trying to figure out
what's going on first. I mainly start this program (sidekiq) on Debian
systems, and it might be my first time running it under CentOS, so my
conjecture is that it has to do with differences between
distributions...
Now then, when I run it this way:
ssh user at example.com '. ~/.bash_profile && rvm 2.3.1
2013 Jun 03
1
sidekiq: push background results to front
Rails 3.2.11
Sidekiq latest
My app continues background jobs that generate texts as the output.
class ProcessText
include Sidekiq::Worker
def perform(name, count)
puts "executing..."
@feed = Feed.first
@feed.process # here it returns String results!
end
end
What I want is basically how to send (or push?) the result texts to a
particular web
2013 Jul 09
0
How to move create method into worker(sidekiq)?
how to move create method into worker(sidekiq)?
photos_controller.rb
def create
@project = Project.find(params[:project_id])
@photo = @project.photos.build(params[:photo])
@photo.user = current_user
if @photo.save
redirect_to image_upload_project_path(@project)
endend
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2017 Oct 16
0
sidekiq receives SIGHUP when started via ssh -t
Hi,
I was able to narrow it down to this ruby script:
#!/usr/bin/env ruby
Process.daemon
while true
sleep 1
end
And I can reproduce it on one particular CentOS server, on the other
CentOS server it works as on Ubuntu. The CentOS server where I can
reproduce the issue is supposed to have vanilla CentOS, but probably
not exactly.
So, when I run it this way on CentOS 7:
ssh user at
2014 Aug 12
3
[LLVMdev] [LNT] running LNT in 'the cloud'
On a few occasions, Daniel has mentioned running a LNT instances from a PaaS cloud. A while back I decided to see if that is possible. I am happy to report it is.
In r210134 I made the necessary changes to allow LNT to run on the Heroku PaaS cloud.
https://www.heroku.com
The commit is all configuration changes to instruct the cloud on how to run the app. I have a live instance of LNT here:
2013 May 25
1
Mysterious Application Error on Heroku
I converted my app to rails 4. My test suite is green and it runs great
locally. I then deploy to Heroku and it crashed with no information at
all.
It just says "Application Error. An error occurred in the application
and your page could not be served"
Heroku logs don''t give any info either:
-------------------------------------------------------------
2010 Dec 10
2
News: Heroku bought: Salesforce wants some Ruby love: $212m goes a long way
News to me. Probably worth considering when choosing your deployment
options.
http://www.theregister.co.uk/2010/12/09/salesforce_why_buy_heroku/print.html
Dreamforce 2010 Why would a company that spent 10 years delivering CRM
as a service drop $212m in cash and $27m in stock on a 30-person
startup that hosts Ruby on Rails apps for devs on Amazon?
Salesforce.com vice president of technology and
2011 Jun 02
10
Application Error!!!!!!!!!!!!!!!!!!!!!!!
Hi everybody,
Please any one help me, Previous two day''s I am googling, Still not
find solution. this really frustrating.
I had deploy my app on heroku http://radiationn.heroku.com/. it is
working fine on localhost but i got APPLICATION ERROR.
IN log wht i find that in photo.rb model not able to find
"has_attached_file", I am not able to shout out this proble. It
working
2014 Aug 12
2
[LLVMdev] [LNT] running LNT in 'the cloud'
In terms of cost, I thought an LNT instance would exhaust the free database rows much faster than the free dynos. The price for the small database was only 8 dollars a month though.
> On Aug 12, 2014, at 1:23 PM, Renato Golin <renato.golin at linaro.org> wrote:
>
> Hi Chris,
>
> Nice setup!
>
>
> On 12 August 2014 19:01, Chris Matthews <chris.matthews at
2013 May 25
1
Silent Failure when starting Unicorn on Heroku
Switched my RoR (3.1.3, 1.9.2) app from Thin to Unicorn (4.6.2). It ran
fine in development
(Mac OSX), but when deploying to production on Heroku, it fails silently
(no backtrace, no error detail). Log looks like:
Starting process with command `bundle exec unicorn start -p 6069 -c
./config/unicorn.rb`
/app/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.2/lib/unicorn/configurator.rb:634:in
2014 Feb 20
0
Background worker dynos on Rails using Heroku
Hi,
I have a rails application that requires data from an API to run. Since the
API is slow I am looking to have a background process run continuously and
scrape the API for new messages and add it to the application database
From some reading , a worker dyno seems to be the best way to achieve this.
Any links on how to go about scheduling a continuous running worker process
in the background
2013 Jul 16
0
Which object have my association extension method?
My Stackoverflow question:
http://stackoverflow.com/questions/17461273/where-does-association-extension-sit-in/17664817?noredirect=1#17664817
I have an association extension method like the following:
class Bundle < ActiveRecord::Base
has_many :items do
def foo
end
end
I was trying to use delayed job/sidekiq delay() method like the following:
b.items.delay.foo
But I
2013 Jul 18
0
url_helpers in /lib
Hi, I''m trying to generate some static feeds using a script in /lib that I
will later call from a sidekiq worker and I need to access the URL helpers
from my library, how can I do it?
What I tried so far is including Rails.application.routes.url_helpers in my
class but it doesn''t seem to work. I''ve also tried to follow this blog
post
2017 Sep 07
1
Redis db permission issue while running GitLab in Kubernetes with Gluster
Hello,
I am trying to setup GitLab, Redis and PostgreSQL containers in Kubernetes
using Gluster for persistence. GlusterFS nodes are setup on machines
(CentOS) external to Kubernetes cluster (running on RancherOS host). Issue
is that when GitLab tries starting up, the login page doesn't load. It's a
fresh setup and not something that stopped working now.
root at
2006 Jul 18
3
How to get login name of logged user?
Hello list.
Is there any way to get login name of a currently logged user on remote machine using samba?
I can get the list of all users with command smbclient -L host, but how do I know who of them logged now?
Thanks in advance.
Roman Gorohov.
2017 Sep 08
1
Redis db permission issue while running GitLab in Kubernetes with Gluster
Getting this answer back on the list in case anyone else is trying to share
storage.
Thanks for the docs pointer, Tanner.
-John
On Thu, Sep 7, 2017 at 6:50 PM, Tanner Bruce <tanner.bruce at farmersedge.ca>
wrote:
> You can set a security context on your pod to set the guid as needed:
> https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
>
>
> This
2010 Nov 29
4
Error heroku: App Crashed
Hi ,
i developed a small application(which contails only static pages) . I
tried to host that on heroku .just when everything was finished when
i
opened my site i,e http://floating-moon-89.heroku.com/ i am getting
an
error as App Crashed..where did it gone wrong? pls help...
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2012 Feb 18
6
rake db:reset doesn't work, fails with unknown attribute: user_status
If I manually drop the database, and run create, then migrate it works fine.
But doing a:
rake db:reset
it fails with:
unknown attribute: user_status
Does this mean my migrations are not dropping things correctly?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2013 Aug 28
4
Deploying Rails 4 to VPS
Hello!
I now have a VPS and I''ve been playing with it a bit. It is running Debian
7.0. I''m wondering how to set up my environment to deploy a Rails 4 app.
I''d like to use Nginx with Passenger, Capistrano and RVM. Any good starting
points?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2012 Sep 18
3
Nginx + Phusion Passenger 3 problem with "504 Gateway time-out"
Hi,
I have a Rails 3.2 app. There is a specific request that takes a long
time to execute. The context is, the user uploads a pdf, and then we
have some processing through carrierwave + rmagick that generate a
jpeg from the first page of the document. Everything works in dev mode
using both webrick and thin. The problem happens on the prod
environment with Nginx + Passenger.
The request takes a