-
Notifications
You must be signed in to change notification settings - Fork 41
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
Problem with 3.0.1 #69
Comments
Hello.
|
I tried with develop branch. Another error:
|
I have not tried the development branch - any suggestions to solve this? @insspb did you have any luck solving the "undefined method `find_all_by_interval_unit'" issue? |
The master branch should already resolve the routes issue as of a month or so ago. I just fixed the migration issue in develop, will be included in v1.5 after more testing -- see #67 for notes. |
sudo rake redmine:plugins:migrate NAME=recurring_tasks RAILS_ENV=production --trace [10:46:44](in /var/redmine)
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:plugins:migrate
Migrating recurring_tasks (Recurring Tasks (Issues))...
== 4 SetDefaultModifierForExistingMonthlyIssues: migrating ====================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
undefined method
'find_all_by_interval_unit' for #<Class:0x00000006bcedb8>/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/dynamic_matchers.rb:26:in
method_missing'/var/redmine/plugins/recurring_tasks/db/migrate/004_set_default_modifier_for_existing_monthly_issues.rb:5:in
up' /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:609:in
exec_migration'/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:590:in
block (2 levels) in migrate' /usr/lib/ruby/1.9.1/benchmark.rb:280:in
measure'/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:589:in
block in migrate' /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
with_connection'/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:588:in
migrate' /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:765:in
migrate'/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:995:in
block in execute_migration_in_transaction' /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:1043:in
ddl_transaction'/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:994:in
execute_migration_in_transaction' /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:956:in
block in migrate'/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:952:in
each' /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:952:in
migrate'/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:820:in
up' /var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:798:in
migrate'/var/redmine/lib/redmine/plugin.rb:474:in
migrate_plugin' /var/redmine/lib/redmine/plugin.rb:446:in
migrate'/var/redmine/lib/redmine/plugin.rb:457:in
migrate' /var/redmine/lib/tasks/redmine.rake:127:in
block (3 levels) in <top (required)>'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in
call' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in
block in execute'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in
each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in
execute'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in
block in invoke_with_call_chain' /usr/lib/ruby/1.9.1/monitor.rb:211:in
mon_synchronize'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in
invoke_with_call_chain' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in
invoke'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:150:in
invoke_task' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in
block (2 levels) in top_level'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in
each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in
block in top_level'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:115:in
run_with_threads' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:100:in
top_level'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:78:in
block in run' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in
standard_exception_handling'/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in
run' /var/lib/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in
<top (required)>'/usr/local/bin/rake:23:in
load' /usr/local/bin/rake:23:in
Tasks: TOP => redmine:plugins:migrate
The text was updated successfully, but these errors were encountered: