Recent Posts by v.pacher

Subscribe to Recent Posts by v.pacher 21 post(s) found

09 Feb, 2010 01:00 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / deploy via github

hey guys, do you have a wiki hidden somewhere about how to move from subversion to deploy via github. I think i got it mostly figured out but would like to be sure as it’s a live site…

cheers
Volker

 
28 Sep, 2009 01:11 PM
Avatar v.pacher 21 posts

Topic: Passenger / passenger, how many mysql connection per instance

Hello,

I’m just getting started with passenger and would like to know how many mysql connections are open per passenger instance. As far as i recall it was 2 per mongrel. Is that the same?

thanks
Volker

 
20 Aug, 2009 11:23 AM
Avatar v.pacher 21 posts

Topic: Passenger / passenger and mysql connection

Hello, I’m planning on finally moving my box to hardy and want to take the opportunity to upgrade to passenger & nginx at the same time.
My question is how passenger handles the max sql connections allowed with my 1GB box. As i can control it precisely with mongrel so that I always have a connection free for running cron jobs.
And a second question is, is there a wiki on how to change the deploy.rb for passenger?

Many thanks
Volker

 
19 Jun, 2009 11:44 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / juggernaut

Hello, i’m experimenting with juggernaut at the moment, but can’t get it to work on the production server and wanted to know if port 5001 is open by default, just to exclude some possible errors.
thanks
Volker

 
10 Apr, 2009 09:53 AM
Avatar v.pacher 21 posts

Topic: Brightbox Help / ferret server

I will give that a go and see what happens. Thanks for the help
Volker

 
08 Apr, 2009 01:13 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / ferret server

now when i run deploy it comes with the error message rake aborted undefined method aaf_configuration

 
08 Apr, 2009 01:06 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / ferret server

thanks, i’ll have a look at it. i use acts_as_ferret as gem but somehow i can’t run aaf_install, however if i run /script/ferret_server -e production start it works
on the ferret site it is suggested to add it to the monit. Is that a good idea?
Volker

 
08 Apr, 2009 12:51 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / ferret server

When i use the ferret server (Drb) do i need to restart the server after every deploy and if so do i need to do it before the mongrels restart?
Would it be before “deploy:restart”, “custom:restart” … etc?

thanks
Volker

 
02 Apr, 2009 05:06 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / new mongrels

Hello David. thanks for the answer. When the time comes I’ll post a support ticket if I need help.

Volker

 
02 Apr, 2009 04:33 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / new mongrels

thanks, that was the problem. brightbox gem mismatch.
On another note, does your brightbox gem handle several nginx servers with different ips and different ssl certificates or do I need to do this by hand?
I will need to do this in the near future.
Volker

 
02 Apr, 2009 11:57 AM
Avatar v.pacher 21 posts

Topic: Brightbox Help / new mongrels

I’ve tried to run deploy:initial and get the following error message:
sh: railsapp-maintenance: command not found
Any ideas what that is?
Volker

 
02 Apr, 2009 11:21 AM
Avatar v.pacher 21 posts

Topic: Brightbox Help / new mongrels

thanks for the help I’ll give it a go.
As for feedback. Would it be possible to amend or change the initial deploy to use db:schema:load instead of running migrations and having the options of not having it run again as thats what I’m using to create the database for the first time instead of migrations.

Volker

 
31 Mar, 2009 05:03 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / new mongrels

the problem is that i stopped using migrations for a while as it was simply to linear for development purposes. Would it be sufficient to set the version in schema info higher than the latest migration to prevent it from running?
Also I’d like to be sure that no files in my shared area are overwritten when i run deploy:initial

Volker

 
31 Mar, 2009 01:47 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / new mongrels

is there a way to do it without running migrations?
Volker

 
29 Mar, 2009 12:04 AM
Avatar v.pacher 21 posts

Topic: Brightbox Help / new mongrels

I’ve upgraded my brightbox recently and now like to add more mongrel servers. I’ve outcommented the line ‘set :mongrel_servers, 2’ and changed it to 4, run cap deploy:setup and then cap:deploy afterwards but it still only shows two mongrels starting.
What do i do wrong?

cheers for any pointers
Volker

 
12 Jan, 2009 05:12 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / copy_exclude in deploy.rb

thanks for that. I want to exclude the local index of ferret, so set :copy_exlude, “index/*” would only exclude the index folder (plus subfolders) from the application root?

 
08 Jan, 2009 12:52 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / copy_exclude in deploy.rb

Hello, I’m using deploy via copy (because my box has an older ubuntu and svn isn’t compatible) and would like to know if I can exclude whole directories with copy_exclude or does it only apply to files?
thanks

 
08 Dec, 2008 10:19 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / no such file to load -- rubygems

thanks for that, I think that answers all my questions for the time being….
Volker

 
08 Dec, 2008 06:38 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / no such file to load -- rubygems

thanks for that, does the environment need to specified or does it default to production on deploy?
like run “RAILS_ENV=production cd #{release_path} && lib/daemons/parser_ctl restart”
Volker

 
08 Dec, 2008 05:19 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / no such file to load -- rubygems

i’ve just done that (found it on another site) and they were in two different paths and i deleted the ruby in the /usr/local …. path
it is missing in your instruction http://wiki.brightbox.co.uk/docs:ruby:1.8.6 that the new ruby will end up in a different location.
It seems to be working fine now. fingers crossed.
On another note, where is the best place to put the daemon and workling_client start commands on a deploy?

thanks for your help
Volker

 
08 Dec, 2008 12:07 PM
Avatar v.pacher 21 posts

Topic: Brightbox Help / no such file to load -- rubygems

Hello, I’ve installed the starling and daemons gem on my brightbox and also the workling plugin and daemons generator. When I try to start the client of either the daemon or the workling client I get the error message require: no such file to load — rubygems. It works just fine on my ubuntu box.
I looked at the rubygems site and it says there that it looks like as if the executing copy of ruby doesn’t have rubygems installed, however all the rest of my app works fine.
Any ideas or do I need to reinstall ruby?
Volker