-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to run the script on Redmine 2.2.3 #16
Comments
The tasks name is redmine:migrate_from_bugzilla (not db:migrate_from_bugzilla) I tested the migration. I had to change the task to make it work with ruby 1.9. Pushed a fix. Can you please try if rake redmine:migrate_from_bugzilla works? HTH |
Please review my issue, I tried to install bugzilla-adapter but got an error: gem install activerecord-bugzilla-adapter rake aborted! On Sunday, December 1, 2013 11:25 PM, Ralph Juhnke notifications@github.com wrote: The tasks name is redmine:migrate_from_bugzilla (not db:migrate_from_bugzilla) |
Hi I managed to run it with mysql2 adapter , this is my error now: Migrating profiles On Monday, December 2, 2013 9:58 AM, Eldad Cohen cohen_eldad@yahoo.com wrote: Please review my issue, I tried to install bugzilla-adapter but got an error: gem install activerecord-bugzilla-adapter rake aborted! On Sunday, December 1, 2013 11:25 PM, Ralph Juhnke notifications@github.com wrote: The tasks name is redmine:migrate_from_bugzilla (not db:migrate_from_bugzilla) |
Have you been trying to connect to the mysql server from your machine via commandline? The stack trace states the script cannot get a TCP/IP connection to the mysql service on host 192.168.18.137. |
Hi, |
The connection in your stacktrace is against the bugzilla database. The user connecting to the bugzilla database will need read permissions. The user connecting to the redmine database will need write permissions. it will not create any new tables, so DDL-Statements will not be neccessary. |
(in /var/www/redmine)
'rake aborted!
Don't know how to build task 'db:migrate_from_bugzilla'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/task_manager.rb:49:in
[]' /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:148:in
invoke_task'/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in
block (2 levels) in top_level' /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in
each'/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in
block in top_level' /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:115:in
run_with_threads'/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:100:in
top_level' /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:78:in
block in run'/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:165:in
standard_exception_handling' /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:75:in
run'/var/lib/gems/1.9.1/gems/rake-10.1.0/bin/rake:33:in
<top (required)>' /usr/local/bin/rake:23:in
load'/usr/local/bin/rake:23:in `
The text was updated successfully, but these errors were encountered: