This forum is no longer active. Please post your questions to our new community site

Forums Redmine

Quick-and-easy updating

Subscribe to Quick-and-easy updating 2 post(s), 2 voice(s)

 
Avatar PowerMacDaddy 6 post(s)

I came up with the following method for updating, that is really simple and a pretty quick way of updating to the latest BitNami stack. So far, everything seems to work well.

We start with Redmine running:
1) Use a desktop app such as Sequel Pro to connect to the MySQL server. The login is “bitnami” and the password can be found in “/redmine-root/apps/redmine/config/database.yml”

2) Export the “bitnami_redmine” DB to some place handy, like your Desktop

3) Stop Redmine

4) Rename the Redmine folder (append “-old” or something) just in case we need to go back

5) Install new Bitnami stack. Go get a beverage while you wait.

6) Connect to MySQL like you did in Step 1. Go to the “bitnami_redmine” DB and delete all tables.

7) Import “bitnami_redmine” DB file you exported in Step 2

8) From the command line, change directory to the “/redmine-root/apps/redmine” folder

9) Run: “rake db:migrate RAILS_ENV=production”

Note that if you’ve made any changes to the various ctl.sh scripts — for instance, if you specify a custom SVN root path — you’ll have to make the appropriate changes and restart Redmine.

 
Avatar ebrescia Administrator 13 post(s)

This is great! Thank you for sharing. I’m sure it will help a lot of other BitNami users.

Forums Redmine