@Jamis Thank you kindly for the information. I'll update this if I find the fix over there.
On Jan 29, 9:35 am, Jamis Buck <[email protected]> wrote: > This looks like a deprec configuration issue, which I'm afraid I'm not > qualified to help with. Mike has set up a separate mailing list for > deprec, though, which you'd probably have better luck with. (You'll have > to google for it, I don't know what the group name is.) > > - Jamis > > On 1/29/09 12:07 AM, Jason Meridth wrote: > > > History and Current Status > > 1. Rails 2.1.2 application on a nginx+mongrels server > > 2. Moved to Apache+Passenger(mod_rails) server > > 3. Unfroze rails > > 4. Froze rails to edge (2.2.2) > > 5. Got site running again. > > 6. Locally installed capistrano, deprec, capistrano-ext gems (there > > are no folders under vendors/plugins) > > > My local gems: (sudo gem list) > > actionmailer (2.2.2, 2.1.2, 1.3.6, 1.3.3) > > actionpack (2.2.2, 2.1.2, 2.0.2, 1.13.6, 1.13.3) > > actionwebservice (1.2.6, 1.2.3) > > activerecord (2.2.2, 2.1.2, 1.15.6, 1.15.3) > > activeresource (2.2.2, 2.1.2) > > activesupport (2.2.2, 2.1.2, 2.0.2, 1.4.4, 1.4.2) > > acts_as_ferret (0.4.3, 0.4.1) > > capistrano (2.5.3, 2.0.0, 1.4.2) > > capistrano-ext (1.2.1) > > cgi_multipart_eof_fix (2.5.0, 2.2) > > cucumber (0.1.16, 0.1.10) > > daemons (1.0.10, 1.0.9, 1.0.7) > > deprec (1.99.29, 1.9.3) > > diff-lcs (1.1.2) > > dnssd (0.7.0, 0.6.0) > > fastthread (1.0.1, 1.0) > > fcgi (0.8.7) > > ferret (0.11.6, 0.11.4) > > gem_plugin (0.2.3, 0.2.2) > > highline (1.5.0, 1.2.9) > > hpricot (0.6.164, 0.6) > > htmlentities (4.0.0) > > libxml-ruby (0.9.7, 0.3.8.4) > > mocha (0.9.4) > > mongrel (1.1.5, 1.1.4, 1.0.1) > > mysql (2.7) > > needle (1.3.0) > > net-scp (1.0.1) > > net-sftp (2.0.1, 1.1.0) > > net-ssh (2.0.8, 1.1.2) > > net-ssh-gateway (1.0.0) > > polyglot (0.2.3) > > rails (2.2.2, 2.1.2, 1.2.6, 1.2.3) > > rake (0.8.3, 0.7.3) > > RedCloth (4.1.1, 3.0.4) > > redgreen (1.2.2) > > rspec (1.1.12, 1.1.11) > > ruby-openid (2.1.2, 1.1.4) > > ruby-prof (0.7.3, 0.5.2) > > ruby-yadis (0.3.4) > > rubynode (0.1.5, 0.1.3) > > sentry (0.3.1) > > sqlite3-ruby (1.2.4, 1.2.1) > > term-ansicolor (1.0.3) > > termios (0.9.4) > > thoughtbot-shoulda (2.0.6) > > treetop (1.2.4) > > ZenTest (3.11.1, 3.11.0) > > > 7. When I run: cap deploy:setup: > > SSH password prompt > > Connects fine > > Creates deploy group if necessary > > Mkdir commands called > > > Then, > > servers: ["mydomain.com"] > > [mydomain.com] executing command > > command finished > > triggering after callbacks for `deploy:setup' > > * executing `deprec:rails:setup_servers' > > * executing `deprec:nginx:activate' > > * executing `deprec:nginx:activate_system' > > * executing "sudo -p 'sudo password: ' update-rc.d nginx defaults" > > servers: ["mydomain.com"] > > [mydomain.com] executing command > > *** [err :: mydomain.com] update-rc.d: /etc/init.d/nginx: file does > > not exist > > command finished > > failed: "sh -c \"sudo -p 'sudo password: ' update-rc.d nginx defaults > > \"" on mydomain.com > > > 8. Contents of my Capfile in my application root: > >http://gist.github.com/54321 > > > 9. Contents of my config/deploy.rb file > >http://gist.github.com/54330 > > > 10. I've also tried "cap deploy:cold" and received: > > Grabs code > > Tars locally > > Sftp up to server > > Then tries to do mongrel stuff > > > * executing "sudo -p 'sudo password: ' chown mongrel_mydomain.com / > > home/myuser/public_html/mydomain.com/shared/log/mongrel.log" > > servers: ["mydomain.com"] > > [mydomain.com] executing command > > *** [err :: mydomain.com] chown: invalid user: `mongrel_mydomain.com' > > command finished > > *** [deploy:symlink] rolling back > > * executing "ls -xt /home/myuser/public_html/mydomain.com/releases" > > servers: ["mydomain.com"] > > [mydomain.com] executing command > > command finished > > *** no previous release to rollback to, rollback of symlink skipped > > *** [deploy:update_code] rolling back > > * executing "rm -rf /home/myuser/public_html/mydomain.com/releases/ > > 20090129070515; true" > > servers: ["mydomain.com"] > > [mydomain.com] executing command > > command finished > > failed: "sh -c \"sudo -p 'sudo password: ' chown mongrel_mydomain.com / > > home/myuser/public_html/mydomain.com/shared/log/mongrel.log\"" on > > mydomain.com > > > Any help is greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
