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

How to Upgrade Tracks Appliance

Subscribe to How to Upgrade Tracks Appliance 6 post(s), 2 voice(s)

 
Avatar patrickdickey 10 post(s)

Hello everyone,

I installed the Bitnami Tracks stack (1.7.2) and now I see that 1.7.3 is available. What is the easiest method to upgrade to the latest version?

For clarification, I installed the VMWare Virtual Appliance running Ubuntu. Also, I’ve updated/upgraded Ubuntu and everything on the stack to the latest available versions in Ubuntu’s repositories (Natty).

Thanks, and have a great day:)
Patrick.

P.S. As a side note, can I install other stacks on this appliance, or would I want to install multiple appliances?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

There are two options to upgrade the application. You can update the application code itself or update the full Stack. You can find a quick guide for Redmine but is very similar for Tracks. http://wiki.bitnami.com/Applications/BitNami_Redmine_Stack#How_to_upgrade_Redmine.3f

You can also install more Stacks in the same Virtual Appliance. Download the Stack and execute it into the machine, you can install it in text mode.

 
Avatar patrickdickey 10 post(s)

Instead of creating a backup (since it’s a virtual appliance) can I get away with just copying the vmdk file (virtual hard drive) and copying that back to “restore” it if something goes wrong?

Does Bitnami have their own repositories that the latest version can be downloaded from? If so, what are they? And will it update through apt-get (on Ubuntu), or do I need to download the installer, and run it manually?

Are the differences mainly in the names of the folders/files that will be cd’ed into or copied? Or will there be completely different commands from the Redmine tutorial (I’m also looking at making this into a wiki page, so step-by-step’s of the differences would be appreciated)?

I’m sure i’ll have more questions as the week goes on (I’ll probably start this either later this week or next weekend).

Thanks, and have a great week:)
Patrick.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Instead of creating a backup (since it’s a virtual appliance) can I get away with just copying the vmdk file (virtual hard drive) and copying that back to “restore” it if something goes wrong?

Sure. I suggest to create a snapshot.

You can download the latest version of the virtual applicance in the BitNami Redmine page https://bitnami.com/stack/redmine

The command are exactly the same for installers, virtual appliances or AMIs. Notice that your “installdir” is “/opt/bitnami”

Cheers.

 
Avatar patrickdickey 10 post(s)

Ok, so just to make sure I’ve got this clear, essentially the steps are the same for upgrading Tracks, as for upgrading Redmine. I’ve still got some questions, so I’ll quote the Tutorial for Redmine, and ask my question below it.

First, you have to download the new Redmine version. You can choose to download the latest stable version of Redmine from RubyForge or you can download the latest repository version. In that case, you can use the Subversion tool included in the Stack:
$ svn co svn://rubyforge.org/var/svn/redmine/trunk redmine
bq.

Question. What is the command to download Tracks from its repository?

Are the rest of the steps exactly the same (substituting “tracks” for “redmine”, or are there different things that must be done for Tracks?

On This Page it talks about upgrading the individual stack (which refers me to the non-existent quick start for Tracks) and upgrading the full stack—Migrating the Data. Under the “How to upgrade the full Stack migrating the data?”, it says:

Stop and uninstall previous Stack services:
On Linux and OS X:
$ cd installdir
$ ./ctlscript.sh stop
bq.

However the steps for uninstalling the service are not there (I’m assuming that simply stopping them with the .ctlscript.sh script won’t uninstall them). What steps are needed to uninstall the services?

I might have more questions later, but this is enough for now. If I’m able to successfully upgrade the stack, I’ll create a wiki page and send it to you. If not, then I’ll just destroy the vm, and start with a fresh appliance (as I don’t have a lot of information in this one).

Have a great day:)
Patrick.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

I suggest to use the second method "How to upgrade the full Stack migrating the data?”, it is safer. Do not worry about the services. On Linux there is a /etc/init.d/bitnami script which is that start all servers.