I am trying to deploy an application in railsmachine that has ferret
installed. when i run the cap deploy:cold i get the following errors.
has Not sure what type of errors i am getting, since i tried to look
up the files it says that need permissions changed or missing and not
sure if i would have to upload them or something. i am using this:
http://zilkey.com/2008/5/4/starting-ferret-at-reboot-using-capistrano
in order to get ferret working. thanks in advanced. jonathan(nuby to
capistrano)
$ cap deploy:cold
* executing `deploy:cold'
* executing `deploy:update'
** transaction: start
triggering before callbacks for `deploy:update_code'
* executing `app:symlinks:setup'
* executing "mkdir -p /var/www/apps/application/shared/public/
assets"
servers: ["example.com"]
[example.com] executing command
command finished
* executing `deploy:update_code'
* executing "svn checkout -q -r65 https://svn.example.com/repo/trunk
/var/www/apps/application/releases/20080515062911 && (echo 65 > /var/
www/apps/application/releases/20080515062911/REVISION)"
servers: ["example.com"]
[example.com] executing command
command finished
* executing `deploy:finalize_update'
* executing "chmod -R g+w /var/www/apps/application/releases/
20080515062911"
servers: ["example.com"]
[example.com] executing command
command finished
* executing "rm -rf /var/www/apps/application/releases/
20080515062911/log /var/www/apps/application/releases/20080515062911/
public/system /var/www/apps/application/releases/20080515062911/tmp/
pids &&\n mkdir -p /var/www/apps/application/releases/
20080515062911/public &&\n mkdir -p /var/www/apps/application/
releases/20080515062911/tmp &&\n ln -s /var/www/apps/application/
shared/log /var/www/apps/application/releases/20080515062911/log &&
\n ln -s /var/www/apps/application/shared/system /var/www/apps/
application/releases/20080515062911/public/system &&\n ln -s /var/
www/apps/application/shared/pids /var/www/apps/application/releases/
20080515062911/tmp/pids"
servers: ["example.com"]
[example.com] executing command
command finished
* executing "find /var/www/apps/application/releases/20080515062911/
public/images /var/www/apps/application/releases/20080515062911/public/
stylesheets /var/www/apps/application/releases/20080515062911/public/
javascripts -exec touch -t 200805150629.16 {} ';'; true"
servers: ["example.com"]
[example.com] executing command
command finished
* executing `deploy:symlink'
* executing "rm -f /var/www/apps/application/current && ln -s /var/
www/apps/application/releases/20080515062911 /var/www/apps/application/
current"
servers: ["example.com"]
[example.com] executing command
command finished
triggering after callbacks for `deploy:symlink'
* executing `app:symlinks:update'
* executing "ln -nfs /var/www/apps/application/shared/public/assets /
var/www/apps/application/current/public/assets"
servers: ["example.com"]
[example.com] executing command
command finished
* executing `ferret:restart'
* executing `ferret:stop'
* executing "/etc/init.d/ferret_application_ctl stop"
servers: ["example.com"]
[example.com] executing command
Password:
** [out :: example.com]
** [out :: example.com] Stopping ferret DRb server.
** [out :: example.com] Rails Error: Unable to access log file.
Please ensure that /var/www/apps/application/releases/20080515062911/
log/production.log exists and is chmod 0666. The log level has been
raised to WARN and the output directed to STDERR until the problem is
fixed.
** [out :: example.com] Stopping ferret_server...
** [out :: example.com] no pid file found
command finished
* executing `ferret:start'
* executing "/etc/init.d/ferret_application_ctl start"
servers: ["example.com"]
[example.com] executing command
** [out :: example.com] Starting ferret DRb server.
** [out :: example.com] Rails Error: Unable to access log file.
Please ensure that /var/www/apps/application/releases/20080515062911/
log/production.log exists and is chmod 0666. The log level has been
raised to WARN and the output directed to STDERR until the problem is
fixed.
** [out :: example.com] Error starting ferret DRb server: No such
file or directory - /var/www/apps/application/releases/20080515062911/
log/ferret_server.log
** [out :: example.com]
** [out :: example.com] /usr/lib/ruby/1.8/open-uri.rb:32:in
`initialize'
** [out :: example.com]
** [out :: example.com] /usr/lib/ruby/1.8/open-uri.rb:32:in
`open_uri_original_open'
** [out :: example.com]
** [out :: example.com] /usr/lib/ruby/1.8/open-uri.rb:32:in `open'
** [out :: example.com]
** [out :: example.com] /usr/lib/ruby/1.8/logger.rb:525:in
`create_logfile'
** [out :: example.com]
** [out :: example.com] /usr/lib/ruby/1.8/logger.rb:520:in
`open_logfile'
** [out :: example.com]
** [out :: example.com] /usr/lib/ruby/1.8/logger.rb:487:in
`initialize'
** [out :: example.com]
** [out :: example.com] /usr/lib/ruby/1.8/logger.rb:263:in `new'
** [out :: example.com]
** [out :: example.com] /usr/lib/ruby/1.8/logger.rb:263:in
`initialize'
** [out :: example.com]
** [out :: example.com] /var/www/apps/application/releases/
20080515062911/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:
45:in `new'
** [out :: example.com]
** [out :: example.com] /var/www/apps/application/releases/
20080515062911/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:
45:in `start'
** [out :: example.com]
** [out :: example.com] script/ferret_start:59
** [out :: example.com]
** [out :: example.com] Starting ferret DRb server...
command finished
** transaction: commit
* executing `deploy:migrate'
* executing "ls -x /var/www/apps/example.com/releases"
`deploy:migrate' is only run for servers matching
{:only=>{:primary=>true}, :roles=>:db}, but no servers matched
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---