Project

General

Profile

Moving Projects from a virtual machine redmine 1.2.3-0 to a native windows install redmine 2.3.1-1.

Added by Andrew Dugrenier over 11 years ago

I finally figured this out.
On the Redmine 1.2.3-0 Virtual Machine system:
1)Logged in.

2)Used the sudo –i command to get to the root.

3)Copied all the redmine files in the files folder to a network location.
cp –r /opt/bitnami/apps/redmine/files /mnt/network shared folder

4)Backed-up mysql.
Mysqldump --opt --user=root --password=bitnami bitnami_redmine > /mnt/network shared folder/backup_date.sql

5)logout (may need to logout twice, once for the root, again for your login)

On the new windows XP computer:
1)Use the Bitnami Redmine 2.3.1-1 Windows native installer to install and make sure it is running ok and can be accessed by other computers on the network.

2)Copy the contents of the redmine\files directory from the network share to the C:\Bitnami\Redmine-2.3.1-1\apps\redmine\htdocs\files folder.

3)Copy the backup_date.sql file from the network shared folder to the C:\Bitnami\Redmine-2.3.1-1 folder.

4)Use Bitnami Redmine Stack command window (Select Start, All Programs, Bitnami Redmine Stack, Use Bitnami Redmine Stack) .

5)Type the following in the command window:
svn update

mysql --user=root --password={password you supplied during the 2.3.1-1 install} bitnami_redmine < backup_date.sql
cd apps\redmine\htdocs   (to get to the C:\Bitnami\Redmine-2.3.1-1\apps\redmine\htdocs directory.)
rake db:migrate RAILS_ENV=production

6)Close the command window

7)Run the redmine manager tool. Go to the Manage Servers tab and click Stop All. Wait till the indicators go red. Click Start All.

8)Go back to the Welcome Tab in the manager tool, click go to Application, select Use Bitnami Redmine Stack. Log in using the manager user name and password you used on the old redmine 1.2.3-0. Check and set any new permissions.

I hope this helps other users struggling to find some information. I could not find any one concise document relating to this case. After many days of trial and error and much frustration, I came up with this.
Good Luck!

Andy