Hi Luiz;

Check that you have ssh permissions to the host you're deploying to.

Also, please consider pastie-ing the full output of your deploy so we
can see what might be going wrong.

Thanks,
-Chris


On Thu, Jul 19, 2012 at 3:52 PM, Luiz Eduardo Kowalski
<[email protected]> wrote:
>
>
> I have a deploy.rblike this
> set :application, "api"
> set :repository, "githubrepo"
>
> default_run_options[:pty] = true
> set :scm_passphrase, "passwd"
>
> set :scm, :git
>
> set :user, "deploy"
> set :use_sudo, false
> set :deploy_to, "/var/www"
> set :deploy_via, :remote_cache
>
> role :web, "192.168.0.95" # Your HTTP server, Apache/etc
> role :app, "192.168.0.95" # This may be the same as your `Web` server
> role :db, "192.168.0.95", :primary => true # This is where Rails migrations
> will run
> role :db, "192.168.0.95"
>
> as you can see, I'm doing a deploy to our intranet...
> After this, I executed bundle exec foreman start on our server and when I
> access the app, i see this:Permission denied -
> /var/www/releases/20120719190900/tmp/cache
>
> I tried to chmod and chown our www folder (chown user -R /var/www and chmod
> 0666 and chmod 775), but nothing changed...
> What am I missing here?
> Thanks
>
> --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/capistrano?hl=en



-- 
Christopher Patti - Geek At Large | GTalk: [email protected] | AIM:
chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to