When you upgrade your version of Tarantella, Tarantella Setup will preserve your existing configuration, but it does not upgrade any customized files.
There are two types of customized files that may need attention after you have upgraded:
Note This page assumes that you are familiar with the directories in the
Tarantella installation
directory. By default, this is /opt/tarantella
.
During installation, Tarantella Setup creates a backup of all customized files, including login scripts, by moving the standard Tarantella files in the following directories (and the subdirectories within them):
var/docroot
var/docroot.oldversionnumber
.
var/serverresources/expect
var/serverresources/expect.oldversionnumber
.
etc/data
etc/data.oldversionnumber
.
etc/templates
etc/templates.oldversionnumber
.This means that immediately after an upgrade, your customizations will not be active. These customizations need to be manually upgraded.
Tarantella Setup leaves bespoke files in their current location and does not attempt to upgrade them. These files need to be manually upgraded.
During the upgrade, if Tarantella Setup detects that you have customized and/or bespoke files, you will see a message that says four log files have been produced:
var/log/upgraded.files
var/log/customized.list
var/log/customizedchanged.list
var/log/docrootjava.log
You can use these log files to identify the customized and/or bespoke files that need to be manually upgraded.
The customizedchanged.list
log file lists the customized
files that may have to be manually upgraded.
For each file listed in this log file, there will be three versions of the file held on your system:
var/docroot.oldversionnumber
directory;etc/templates.oldversionnumber
directory; andetc/templates
directory.To upgrade your customized files:
var/docroot.oldversionnumber
directory.
diff
to compare the file in the
etc/templates.oldversionnumber
directory with the file
in the etc/templates
directory. This will highlight the
changes that have been made between Tarantella versions.
patch
to apply the same changes to
your copy of your customized files.
var/docroot
.The docrootjava.log
and customized.list
log files list the bespoke files that may have to be manually upgraded.
The only way to upgrade these files is to compare versions of the standard Tarantella files to identify changes that have taken place and then apply those changes to your bespoke files.
To identify the changes, you need to compare:
etc/templates.oldversionnumber
directory; and
etc/templates
directory.Use a utility such as diff
to compare the files in these directories.
This will highlight the changes that have been made between Tarantella
versions. Apply these changes to your bespoke files, for example by using
a utility such as patch
.
Note if you have bespoke Expect scripts and you do not upgrade them, you must turn off security for X displays on the array-wide Security panel in Array Manager.