No Subtasks After Upgrading to revision 4408
Added by Mohamed King about 14 years ago
Hi,
I am trying to upgrade from SVN checkout so I can use subtasks. After the upgrade however, I still don't have "Manage Subtasks" as a permission. I did get a error during plugins db migrate so maybe thats the problem. The my steps are as follows.
cd redmins_root
svn update
rake db:migrate RAILS_ENV=production
bash-3.2# rake db:migrate_plugins RAILS_ENV=production create_table(:stuff_to_dos)
(in /home/webadmin/projects.eapps.com/html/redmine-0.9)
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating coderay-0.7.6.227...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating redmine_knowledgebase...
Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...
Migrating stuff_to_do_plugin...
CreateStuffToDos: migrating =============================================
-
rake aborted!
An error has occurred, all later migrations canceled:
Mysql::Error: Table 'stuff_to_dos' already exists: CREATE TABLE `stuff_to_dos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `position` int(11), `stuff_id` int(11), `stuff_type` varchar(255)) ENGINE=InnoDB
(See full trace by running task with --trace)
rake tmp:cache:clear
rake tmp:sessions:clear
service httpd restart
Any help is greatly appreciated.
Thank you
Replies (1)
RE: No Subtasks After Upgrading to revision 4408 - Added by Stefan H Singer about 14 years ago
If the db_migrate fails, like it does for you, you can't expect the install to work like, at all :)
In your case, it seems like the "stuff to do" plugin isn't compatible with the version of Redmine you're trying to run. Check if there's an updated version and try that, or remove the plugin.