# --
# UPGRADING - upgrading OTRS
# Copyright (C) 2002 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: UPGRADING,v 1.6 2002/10/25 11:47:20 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see 
# the enclosed file COPYING for license information (GPL). If you 
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --

These instructions are for people upgrading OTRS to a newer release.

*) Stop all your services (e. g. rcotrs stop-force)

*) Backup everything (database, Kernel/Config.pm, Kernel/Config/*.pm, var/*)

*) Make sure that you have backed up everything ,-)

*) If possible try this install on a separate machine, althoug
   I had always only production machines to upgrade

*) Install the new release (tar or RPM)

*) Update the database changes with:
    MySQL: 
      cat $OTRS_HOME/scripts/DBUpdate.mysql.sql | mysql -p -f -u root otrs
    PostgreSQL:
      cat $OTRS_HOME/scripts/DBUpdate.postgresql.sql | psql otrs

*) Update the new Kernel/Config.pm (and Kernel/Config/*.pm) with your setting 
   (use the newer Kernel/Config.pm - normally new releases have more config settings)

*) Execute $OTRS_HOME/bin/SetPermissions.sh !

*) Restart your services (e. g. rcotrs restart-force or each service manually)
 
