Hi guys!
I’m doing my first deploy with passenger + capistrano and I’m getting
the
error bellow. My server is dreamhost.com and I put the correct
permission in
all folders. Someone have some idea why I’ heaving this problem, or can
suggest any tutorial that works fine?
thanks!
[teste.celsoetaniadiniz.com.br] executing command
*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create
directory / teste.celsoetaniadiniz.com.br': Permission denied *** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory
/
teste.celsoetaniadiniz.com.br’: Permission denied
*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create
directory / teste.celsoetaniadiniz.com.br': Permission denied *** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory
/
teste.celsoetaniadiniz.com.br’: Permission denied
*** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create
directory / teste.celsoetaniadiniz.com.br': Permission denied *** [err :: teste.celsoetaniadiniz.com.br] mkdir: cannot create directory
/
teste.celsoetaniadiniz.com.br’: Permission denied
command finished in 371ms
failed: “sh -c ‘mkdir -p /teste.celsoetaniadiniz.com.br /
teste.celsoetaniadiniz.com.br/releases
/teste.celsoetaniadiniz.com.br/shared/
teste.celsoetaniadiniz.com.br/shared/system /
teste.celsoetaniadiniz.com.br/shared/log /
teste.celsoetaniadiniz.com.br/shared/pids && chmod g+w /
teste.celsoetaniadiniz.com.br /teste.celsoetaniadiniz.com.br/releases /
teste.celsoetaniadiniz.com.br/shared /
teste.celsoetaniadiniz.com.br/shared/system /
teste.celsoetaniadiniz.com.br/shared/log /
teste.celsoetaniadiniz.com.br/shared/pids’” on
teste.celsoetaniadiniz.com.br
############################
# Based on the original DreamHost deploy.rb recipe
#
#
require 'bundler/capistrano'
require File.expand_path "../sync", __FILE__
# GitHub settings #######################################################################################
set :repository, "[email protected] :sukima/SimNotify.git" #GitHub clone URL
set :scm, "git"
set :scm_passphrase, "YE0wX8Kh" #This is the passphrase for the ssh key on the server deployed to
set :branch, "master"
set :scm_verbose, true
#########################################################################################################
set :user, 'simnotify' #Dreamhost username
set :domain, 'delphinus.dreamhost.com' # Dreamhost servername where your account is located
set :project, 'SimNotify' # Your application as its called in the repository
set :application, 'schedulesimulation.com' # Your app's location (domain or sub-domain name as setup in panel)
set :applicationdir, "/home/#{user}/#{application}" # The standard Dreamhost setup
set :shared_assets, %w{public/system}
This file has been truncated. show original
–
thiagocifani
Sent with Sparrow (http://bit.ly/sigsprw )
I’m getting this error below, with this configuration of deploy for
dreamhost:
############################
# Based on the original DreamHost deploy.rb recipe
#
#
require 'bundler/capistrano'
require File.expand_path "../sync", __FILE__
# GitHub settings #######################################################################################
set :repository, "[email protected] :sukima/SimNotify.git" #GitHub clone URL
set :scm, "git"
set :scm_passphrase, "YE0wX8Kh" #This is the passphrase for the ssh key on the server deployed to
set :branch, "master"
set :scm_verbose, true
#########################################################################################################
set :user, 'simnotify' #Dreamhost username
set :domain, 'delphinus.dreamhost.com' # Dreamhost servername where your account is located
set :project, 'SimNotify' # Your application as its called in the repository
set :application, 'schedulesimulation.com' # Your app's location (domain or sub-domain name as setup in panel)
set :applicationdir, "/home/#{user}/#{application}" # The standard Dreamhost setup
set :shared_assets, %w{public/system}
This file has been truncated. show original
failed: “sh -c ‘if [ -d /home/fernandodz3/
teste.celsoetaniadiniz.com.br/shared/cached-copy ]; then cd
/home/fernandodz3/teste.celsoetaniadiniz.com.br/shared/cached-copy &&
git
fetch origin && git fetch --tags origin && git reset --hard
89418f6af0fd2ab624d2e145145607f73176df0c && git clean -d -x -f; else
git
clone [email protected] :forever/forever.git /home/fernandodz3/
teste.celsoetaniadiniz.com.br/shared/cached-copy && cd
/home/fernandodz3/
teste.celsoetaniadiniz.com.br/shared/cached-copy && git checkout -b
deploy
89418f6af0fd2ab624d2e145145607f73176df0c; fi’” on
teste.celsoetaniadiniz.com.br
I think is some with the folder “shared” or with the git repository Oo
someone have any rails project on dreamhost?
On Sat, May 28, 2011 at 4:28 PM, thiagocifani
[email protected] wrote:
`/teste.celsoetaniadiniz.com.br’: Permission denied
command finished in 371ms
teste.celsoetaniadiniz.com.br/shared/pids’" on
–
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” 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/rubyonrails-talk?hl=en .
–
Fernando A.
[iOSDeveloper] - ObjectiveC
[WebDesigner] - CSS3&HTML5
[WebDeveloper] - RubyOnRails
*--------------------------------------------------------------
*
[portfolio] http://www.fernandoaureliano.com -
[blog]http://www.fernandoaureliano.com/