Re: [capistrano] Re: Webistrano stuck on update_code only when trying to deploy to multiple hosts

2009-11-15 Thread Jonathan Weiss
that will hopefully fix your problem. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss -- * You received this message because you are subscribed to the Google Groups Capistrano group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe

[capistrano] Re: Web-based Deployment

2009-10-08 Thread Jonathan Weiss
Has anyone hooked their cap scripts into a small web app?  For example one-click deployment?  If so, any quick suggestions on a clean way to pass in variables from a web app (ie SVN URL and credentials) and run cap deploy? http://labs.peritor.com/webistrano -- Jonathan Weiss http

[capistrano] Re: Server list not quite right

2009-10-06 Thread Jonathan Weiss
I'm still not clear why code is deployed to that role. I thought code went to servers in the role :web ? Code goes to all defined servers. That's what the :no_release option is for. Jonathan --~--~-~--~~~---~--~~ You received this message because you are

[capistrano] Re: Strange issue with SSH keys

2009-08-18 Thread Jonathan Weiss
(OpenSSL::PKey::PKeyError: not a private key (/Users/user/.ssh/ id_rsa.pub)) How do you define the ssh_keys in deploy.rb? You only need to point to the private key, not the public key. Jonathan --~--~-~--~~~---~--~~ You received this message because you are

[Capistrano] Re: New Release 2.5.6 - Tagged on github.

2009-05-27 Thread Jonathan Weiss
. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to capistrano-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group

[Capistrano] Re: New Release 2.5.6 - Tagged on github.

2009-05-27 Thread Jonathan Weiss
Hi Lee, I agree that there should be an app-stack aware Capistrano where you define your stack and get much better defaults. I totally agree with the goal of making deploying non-rails (and non-spin) applications easier but I think it should be done more unobtrusive than now and it shouldn't

[Capistrano] Re: New Release 2.5.6 - Tagged on github.

2009-05-27 Thread Jonathan Weiss
Hi Lee, I agree that there should be an app-stack aware Capistrano where you define your stack and get much better defaults. I totally agree with the goal of making deploying non-rails (and non-spin) applications easier but I think it should be done more unobtrusive than now and it shouldn't

[Capistrano] Re: way to avoid cds ?

2009-03-25 Thread Jonathan Weiss
. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to capistrano-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group

[Capistrano] Re: Capistrano no working in ubuntu 8.04

2009-03-09 Thread Jonathan Weiss
I cannot get capistrano to work in ubuntu 8.04.  I found things on web about doing export PATH, and I did those, but no help.  the gem list shows it as installed. Where are your gems installed and what does your $PATH look like? Jonathan -- Jonathan Weiss http://blog.innerewut.de http

[Capistrano] Re: cap deploy:start won't start mongrel

2009-03-09 Thread Jonathan Weiss
by a semicolon for it to work. I wonder if there is a similar problem with deploy:start. All task will be executed in the homedir of the Capistrano user as this is where SSH places you after a login. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss

[Capistrano] Re: Vendor/Freelancer recommedations

2009-03-03 Thread Jonathan Weiss
from dev to stage, revert this project back to the last version, etc) Have you looked at Webistrano as a Capistrano front end? http://labs.peritor.com/webistrano Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss

[Capistrano] Re: Error with cap deploy:update

2009-03-02 Thread Jonathan Weiss
get the following message which I do not understand: ** [out]  ** [out] sh: htdocs/releases/20090302140817/REVISION: No such file or Seems like the REVISION file is missing, Capistrano creates it after each code update (deploy:update_code). Jonathan -- Jonathan Weiss http

[Capistrano] Re: cap deploy:start won't start mongrel

2009-03-02 Thread Jonathan Weiss
as = fetch(:runner, app) invoke_command mongrel_rails cluster::#{t.to_s} -C #{mongrel_config} --clean, :via = run_method, :as = as end end end Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss

[Capistrano] Re: Capistrano maintainership

2009-02-26 Thread Jonathan Weiss
already contacted by a couple of people and we will try to assemble their patches and our stuff there over the next couple of days. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group

[Capistrano] Capistrano maintainership

2009-02-25 Thread Jonathan Weiss
interested in continuing the development of Capistrano, feel free to post here or get in touch with us. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to capistrano

[Capistrano] Re: Advanced cap docs

2008-11-30 Thread Jonathan Weiss
S. Robert James wrote: I'm looking for docs on cap's capabilities. Not a Getting Started Guide, but rather: 1. A list of config params for the built in recipes http://labs.peritor.com/webistrano/wiki/ConfigurationParameter Jonathan -- Jonathan Weiss http://blog.innerewut.de http

[Capistrano] [ANN] Webistrano 1.4 released

2008-11-03 Thread Jonathan Weiss
/webistrano-1.4.zip?format=raw Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group

[Capistrano] Re: Migrating in a database server

2008-09-17 Thread Jonathan Weiss
? Check DNS, firewalls, database.yml,... Is `ruby script/console production` working on the webserver? Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL

[Capistrano] Re: Specify user on a per-task basis?

2008-09-05 Thread Jonathan Weiss
Thoughts? What's the best practice here? What about using root as default and when you want another user do: run sudo -u other_user ls /tmp Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe

[Capistrano] Re: Webistrano installed d but can start it !

2008-09-01 Thread Jonathan Weiss
Hi, (running locally Rails 2.1, Ruby 1.8.3, on OS X 1.5) Are you sue it's Ruby 1.8.3? 1.8.6 should be fine. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email

[Capistrano] Re: Webistrano deployment issues

2008-08-28 Thread Jonathan Weiss
` variable. The 0600 permissions have to exist on the id_rsa on the connecting SSH client. Seems like it's finding my private/public key, but now I'm getting a ssh_exchange_identification read error: Any ideas? Is publickey-auth enabled in sshd.conf? Jonathan -- Jonathan Weiss http

[Capistrano] Re: Webistrano deployment issues

2008-08-28 Thread Jonathan Weiss
andypflueger wrote: According to the remote server's sshd_config, pubkey auth is enabled: RSAAuthentication yes PubkeyAuthentication yes Any other thoughts? Disable Firewall and try again? Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss

[Capistrano] Re: Can I change the cp options for cap ?

2008-07-08 Thread Jonathan Weiss
copy_repository_cache logger.trace copying the cached version to #{configuration[:release_path]} run cp -RPp #{repository_cache} #{configuration[:release_path]} #{mark} end end end end Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss

[Capistrano] Re: where is Capistrano doco? (e.g. variables/parameters that can be used in deploy.rb, etc)

2008-07-06 Thread Jonathan Weiss
greghauptmann wrote: Hi, Where is Capistrano doco? (e.g. variables/parameters that can be used in deploy.rb, etc). Most Capistrano variables can be found here: http://labs.peritor.com/webistrano/wiki/ConfigurationParameter Jonathan -- Jonathan Weiss http://blog.innerewut.de http

[Capistrano] Re: How to deploying a branch

2008-07-01 Thread Jonathan Weiss
)? Just have a seperate branch that you deploy: # in prod set :repository, https://www.example.com/svn/branches/stable; # in staging set :repository, https://www.example.com/svn/branches/stable; # in testing set :repository, https://www.example.com/svn/trunk; Jonathan -- Jonathan Weiss http

[Capistrano] Re: could not find any strategy named `checkout'

2008-06-26 Thread Jonathan Weiss
version of sqlite3 it was, I'll have to check with my colleague. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group

[Capistrano] Re: could not find any strategy named `checkout'

2008-06-25 Thread Jonathan Weiss
any problems you have. I'll try to get 2.4.1 out this week. Today we debugged a similar permission issue with sqlite3 on a colleagues computer. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe

[Capistrano] Re: Setting environment variables for sudo

2008-06-03 Thread Jonathan Weiss
. This is disabled by default as it is a security vulnerability. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group

[Capistrano] Re: Having trouble with Webistrano/Capistrano deployment / SCM error

2008-05-31 Thread Jonathan Weiss
sets the HOME environment variable to the homedir of the target user. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit

[Capistrano] Re: Having trouble with Webistrano/Capistrano deployment / SCM error

2008-05-30 Thread Jonathan Weiss
mongrel_rails start Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: Cap deployment issue

2008-05-11 Thread Jonathan Weiss
deleting my uploded photos.) Typically you store the photos somewhere else (e.g. shared/photos or /opt/data/photos) and symlink this directory to public/photos on deployment. This way your application does not have to know about this different storage path. Jonathan -- Jonathan Weiss http

[Capistrano] [ANN] Webistrano 1.3 released

2008-04-29 Thread Jonathan Weiss
and screenshots. There are even some screencasts. http://labs.peritor.com/webistrano/ Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit

[Capistrano] Re: [Rails] Webistrano recipes association (was: [Capistrano] [ANN] Webistrano 1.3 released)

2008-04-29 Thread Jonathan Weiss
? Why not, it would then also mimic the configuration parameters that can be set at the project and the stage level. If you have any patches for this kind of changes, please post them at the trac/wiki. Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com/jweiss

[Capistrano] Re: [ANN] Webistrano 1.3 released

2008-04-29 Thread Jonathan Weiss
the exception if the column was already renamed (if the new version of 014_add_comment_to_description.rb) or something equivalent. Thanks for your work on Webistrano. On Tue, Apr 29, 2008 at 1:04 PM, Jonathan Weiss [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: -- Jonathan Weiss http

[Capistrano] Re: how do you set the RAILS_ENV variable?

2008-04-23 Thread Jonathan Weiss
David Beckwith wrote: Is there an easy way to set the RAILS_ENV to 'test' in my deploy.rb file? set :rails_env, 'test' or set :migrate_env, 'test' See also http://labs.peritor.com/webistrano/wiki/ConfigurationParameter Jonathan -- Jonathan Weiss http://blog.innerewut.de http://twitter.com

[Capistrano] Re: att: webistrano users

2008-04-07 Thread Jonathan Weiss
in Webistrano variables due to the escaping. It works of course in recipes/tasks. In this case you would have to either give mongrel_config the full path or set it in a recipe. Jonathan -- Jonathan Weiss http://blog.innerewut.de

[Capistrano] Re: How can I change strategies?

2008-03-25 Thread Jonathan Weiss
you as the upload is done via scp (with runs on top of SSH). Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com

[Capistrano] Re: Webistrano howto use deploy:web:disable/enable

2008-01-05 Thread Jonathan Weiss
tasks in Webistrano, by default the most common ones have a link in the deploy box. Just enter the task name you want into the `task name` input field on the deployments/new page. Or update to trunk and click on 'show all tasks'. Jonathan -- Jonathan Weiss http://blog.innerewut.de

[Capistrano] Re: Initial deployment

2008-01-04 Thread Jonathan Weiss
-- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: how to see errors on remote hosts?

2007-11-18 Thread Jonathan Weiss
capturing default output. Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: Webistrano 1.2, multi-stage?

2007-10-23 Thread Jonathan Weiss
setup a webistrano-dev email list? No, for now we only have the trac here: http://labs.peritor.com/webistrano Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

[Capistrano] Re: Comments requested for a simple deployment scheme

2007-10-15 Thread Jonathan Weiss
://labs.peritor.com/webistrano Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Capistrano and Webistrano configuration parameters overview

2007-10-11 Thread Jonathan Weiss
://labs.peritor.com/webistrano/wiki/ConfigurationParameter If you have any additions or corrections, please tell me directly or use the project page directly to submit corrections. Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe

[Capistrano] Re: Cap 2.0 bug?

2007-10-02 Thread Jonathan Weiss
in Webistrano::Configuration so this trigger the error. I fixed this in trunk. @Al: Can you please test the fix in your setting? Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED

[Capistrano] Re: cap command

2007-10-02 Thread Jonathan Weiss
webistrano.mongrel.stop end end end -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: [ANN] Webistrano 1.1[ANN] Webistrano 1.1

2007-09-28 Thread Jonathan Weiss
. with monrel: mongrel_rails start --prefix /webistrano See http://labs.peritor.com/webistrano/browser/trunk/app/views/stylesheets/application.rhtml Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send

[Capistrano] Re: [ANN] Capistrano 2.1 Preview #1

2007-09-23 Thread Jonathan Weiss
to scm_username and scm_password yes. I would rather see a :skip_local_scm_auth variable with defaults to false. Keep the default behaviour as it was. Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email

[Capistrano] Re: [ANN] Capistrano 2.1 Preview #1

2007-09-22 Thread Jonathan Weiss
Tim Lucas wrote: How about simply removing #authentication from the #query_revision svn command args? I need local auth as there are cases where you do not have an auth cache (do not want to have one), best example ist Webistrano. Jonathan -- Jonathan Weiss http://blog.innerewut.de

[Capistrano] Re: Webistrano - A Web UI for managing Capistrano deployments

2007-09-04 Thread Jonathan Weiss
. Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: Webistrano - A Web UI for managing Capistrano deployments

2007-08-29 Thread Jonathan Weiss
-1.1.2) in vendor/plugins/ the setup and deployment finally worked. It seems like that Capistrano will load the wrong net-ssh version if you have a newer one installed. I will either update the distributed one or try to change the loading. Jonathan -- Jonathan Weiss http://blog.innerewut.de

[Capistrano] [ANN] Webistrano - A Web UI for managing Capistrano deployments

2007-08-28 Thread Jonathan Weiss
-- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: Trouble with before/after hooks in Cap2

2007-07-22 Thread Jonathan Weiss
Trevor Turk wrote: I'm trying to move over to Cap2, and I'm having a little trouble figuring out the way the before and after hooks work. after 'deploy:update_code', :upload_database_yml You need to include the namespace in the before/after hooks. Jonathan -- Jonathan Weiss http

[Capistrano] Re: Rollback after failed migration?

2007-05-11 Thread Jonathan Weiss
; This will not be rolled back correctly. Jonathan -- Jonathan Weiss http://blog.innerewut.de --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: one step deploy and security

2007-02-19 Thread Jonathan Weiss
You can lock this further down by not running mongrel_rails as root but another user, which might be a good idea in case security holes are found in mongrel. Or in your code as Rails then also runs as root which you should definitely avoid. Jonathan -- Jonathan Weiss http