I need an older version of redmine to get from my very old 0.8.4 to the newest version. When trying to migrate all the way from 0.8.4 to 2.2.3 I get migration errors. I've seen success stories for 0.8.4 to 2.0.3, so I'm hoping I could upgrade from 2.0.3 to 2.2.3 after that.
Now the problem is to find the old stack for 2.0.3. I know I can get redmine itself from the svn repo, but I really don't feel like trying to get all the right deps installed. That's what we have stacks for, after all.
Edit: SOLUTION to the migration problem
After testing with Redmine 2.0.3I still got an error with migration 105. That made me think that I might be able to skip that migration. That looked like it worked but gave an erorr at run time. Moving the migration to last in the list actually worked. I wonder if this should be seen as a bug in Redmine?
So my solution to migration from Redmine 0.8.4-stable to 2.2.3 is:
- Install the bitnami stack for Redmine 2.2.3
- Start the app and verify that it works
- Copy your attachments (/files) from the 0.8.4-stable install
- Replace the database bitnami_redmine with the database from 0.8.4-stable
- Rename the migration script 105_build_projects_tree.rb to something that puts it last in the migration list (like 20121027000101_build_projects_tree.rb)
- Run "rake db:migrate RAILS_ENV=production"