cbrain icon indicating copy to clipboard operation
cbrain copied to clipboard

Fix seeded Bourreaux

Open crocodoyle opened this issue 8 years ago • 1 comments

The rake db:seed:dev command is supposed to create a bunch of database entries and files so that developers can test with some data. However, the Bourreaux that are created as part of this process are broken, and cannot be started. The error message that I get:

Execution Server 'Main_Exec' could not be started. Diagnostics:
Remote control command for Main_Exec failed.
Command: cd /Users/adoyle/cbrain/BrainPortal/seeds_dev_support_dir/exec_main; bundle exec ruby /Users/adoyle/cbrain/BrainPortal/seeds_dev_support_dir/exec_main/script/cbrain_remote_ctl start -e development -p 28733 2>&1
Output:
---Start Of Output---
You are using Ruby 2.2.4
=> Booting Thin
=> Rails 3.2.22.2 application starting in development on http://127.0.0.1:28733
C> CBRAIN System Checks starting, 2016-10-26 17:25:54 -0400
C> Rails environment is set to 'development'
C> CBRAIN instance is named '28733'
C> Hostname is 'ace-ws-49.cbrain.mcgill.ca'
C> Ensuring that this CBRAIN app is registered in the DB...
C> - This CBRAIN app is named 'Main_Exec' and is registered.
C> Setting time zone for application...
C> - Warning: time zone not set properly for this Rails app, setting it to UTC.
C> Making sure we can track file revision numbers.
Exception in get_git_rev_info: IndexError string not matched
C> - Error: We don't have a working mechanism for tracking revision numbers.
C> Either GIT isn't installed and in your path, or the static file with
C> the list of revision numbers for CbrainFileRevision is missing.
Bourreau Failed.
Raw BASH command: set -o pipefail ; script/rails server thin -d -p 28733 -e development -b 127.0.0.1 -P /Users/adoyle/cbrain/BrainPortal/seeds_dev_support_dir/exec_main/tmp/pids/server.pid 2>&1 | tee -a /Users/adoyle/cbrain/BrainPortal/seeds_dev_support_dir/exec_main/log/server_start.log

---End Of Output---

crocodoyle avatar Oct 26 '16 21:10 crocodoyle

The entire DEV seeding script needs to be done right. Mea culpa.

prioux avatar Nov 24 '16 19:11 prioux