forum : Upgrading to a new release - the manual process

You must be logged in to post Login Register

Upgrading to a new release – the manual process

UserPost

10:21 pm
August 26, 2009


themattreid

Admin

Nevada

posts 52

1

The issue

There's a new release and you want to install it but you don't want to lose data.This assumes you have your current installation as “/var/www/html/kontrollbase” – substitute your own if different.

The method

  1. download the latest release from the repo: http://code.google.com/p/kontrollbase/
  2. unpack the tar.gz file into the web directory
  3. check the announcement forum to see if you need to add anything to the config files we'll be copying below.
  4. move the current installation directory to a .old extension
  5. symlink the new kontrollbase directory to /var/www/html/kontrollbase so that future upgrades are only a matter of changing a symlink
  6. copy the config files into the new installation directory's appropriate sub-directory
  7. ensure webserver process ownership of the new directory and sub-directories
  8. login to the app to make sure everything is good

cd /var/www/html

wget http://kontrollbase.googlecode…..XXX.tar.gz

tar xvzf kontollbase-revNEW.tar.gz

mv kontrollbase kontrollbase.old

ln -s /var/www/html/kontrollbase-revXXX /var/www/html/kontrollbase

cp kontrollbase.old/system/application/config/config.php kontrollbase/system/application/config/

cp kontrollbase.old/system/application/config/database.php kontrollbase/system/application/config/

chown -R apache:apache kontrollbase

http://kontrollsoft.com http://themattreid.com

 

About the kontrollsoft forum

Most Users Ever Online:

9


Currently Online:

6 Guests

Forum Stats:

Groups: 3

Forums: 12

Topics: 43

Posts: 93

Membership:

There are 540 Members

There has been 1 Guest

There is 1 Admin

There are 0 Moderators

Top Posters:

xstar – 16

Prabhat – 3

Brince – 3

j2ict – 2

jesper – 2

massoo – 2

Administrators: themattreid (52 Posts)