How to upgrade :-/
Added by Daniel Meier over 8 years ago
Hello
I'm running Redmine 2.1.0 on an old Debian 6.0.10 machine and I need to migrate to Debian 8.x.
Current configuration:
Environment: Redmine version 2.1.0.stable Ruby version 1.8.7 (x86_64-linux) Rails version 3.2.8 Environment production Database adapter MySQL Redmine plugins: no plugin installed
I would like to use the 3.x version, but on a new server. So basically my goal is to install Redmine 3.x on the new server and import the data from my old Redmine 2.1.0 server. Is this supported/recommended?
What I tried is to install Redmine 2.1.0 on the new machine with the intent to upgrade to 3, which I gave up after 3 hours (I'm no Ruby developer and I know nothing about it). I didn't get 2.1.0 running.
What is the recommended solution in a situation like this? Best for me would be a clean install, and some import (maybe through the API?).
Replies (3)
RE: How to upgrade :-/
-
Added by Pavel Potcheptsov over 8 years ago
Proceed with installation guide. You have to finish with clean new redmine.
Next uninstall all plugins from old installation and make dump of database.
Change database.yml in new redmine and point to old database (with uninstalled plugins). Proceed with migrate on this step.
RE: How to upgrade :-/
-
Added by Daniel Meier over 8 years ago
I followed the installation guide. I get at least 10 Ruby/rake/gem whatever error messages. I could fix every one, but it is time consuming, especially if you're not a Ruby developer. I don't even have plugins.
I don't understand what you mean: Do you mean a clean install of 3.x on the new host, and then importing the old SQL data? That doesn't work, as some database tables have changed..
RE: How to upgrade :-/
-
Added by Leonel Iturralde over 8 years ago
I don't understand what you mean: Do you mean a clean install of 3.x on the new host, and then importing the old SQL >data? That doesn't work, as some database tables have changed..
The migrate step will update the database tables.