Remaining issues with Rails Upgrade
Reported by Chad Woolley | July 26th, 2009 @ 10:14 PM
Here's what I found:
- Migrations did not run in daemonized mode, had to start in non-daemon mode:
woolley@thewoolleyweb:~/ccrb$ ./cruise start -d => Booting Mongrel => Rails 2.3.2 application starting on http://0.0.0.0:3333 woolley@thewoolleyweb:~/ccrb$ ./cruise start => Booting Mongrel => Rails 2.3.2 application starting on http://0.0.0.0:3333 cruise data root = '/home/woolley/.cruise' [info] Executing migration script 002_move_custom_files_to_directory_in_user_home.rb. This may take some time... [info] Finished 002_move_custom_files_to_directory_in_user_home.rb. => Call with -d to detach => Ctrl-C to shutdown server ^CExiting
- The PID file being dropped in tmp/pids is wrong. Used to be "mongrel.pid", now is "server.pid". This may just need to be changed to server.pid in daemon/daemon_helper.pid - if so that's an easy change, and I can make it if needed, but not positive if this is the only place it is still referenced.
Comments and changes to this ticket
-
Chad Woolley July 28th, 2009 @ 04:15 AM
- Assigned user changed from Brian Guthrie to Chad Woolley
- State changed from new to resolved
First problem seems like a red herring - the migrations are run on every boot, it just seems like the output didn't happen to get swallowed in this one instance (the migration messages usually never show whether the script is run with or without the -d)
Second problem is fixed - Rails/Rack now uses server.pid instead of mongrel.pid, so changes were required to daemon_helper.rb and init.rb.
-
Chad Woolley August 18th, 2009 @ 11:25 PM
Just fixed another issue in http://github.com/thoughtworks/cruisecontrol.rb/commit/8fc77f840800...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป