Upgrade EMu 6.5 to 8.0

Axiell staff:
- Be sure to complete the System Upgrade Checklist when upgrading a client installation.
- For each client being upgraded, be sure to check the Releases table for any additional notes specific to that client.
Confirm that the following system requirements for EMu 8.0 are met:
- >=Perl 5.8.8 (excluding 5.10.0)
- >=Texpress 10.0.001
- >=TexAPI 6.0.017
- >=EMu Server 8.0
- >=EMu Client 8.0
Really Important!
Before proceeding with the update, ensure that a complete backup of the EMu server exists and is restorable.
Note: Follow the instructions below carefully. Do not skip any steps under any circumstances.
If Sapphire is installed with EMu, Sapphire must be updated to version 1.5.2 to be compatible with this release.
Four components require upgrading:
- Texpress (the database engine)
- TexAPI (web services)
- EMu server (the application)
- EMu client
Note: In the following steps, the term ~emu
refers to user emu
's home directory, typically /home/emu
. clientname
refers to the name of the client directory for the current installation.

- Log in as
emu
- Enter
client
clientname - Enter
ls -l loads/*/data* local/loads/*/data*
- Check that each
data
file is empty and that nodata.t
files exist.Note: If
data.t
files do exist, wait for the loads to drain before proceeding. - Enter
emuload stop
- Enter
emuweb stop
- Enter
texlicstatus
Make sure no one is using the system: the upgrade will not complete successfully if users are accessing data.

Each step in the upgrade process produces detailed output. In most cases this output will exceed the size of the screen. It is strongly recommended that the output of the upgrade session is recorded, so if errors occur, the output can be examined.
- Enter
script /tmp/output-version-#
where version-# is the EMu version you are upgrading to. If upgrading to version 8.0, you would enter:
script /tmp/output-8-0
A new shell will start and all output recorded until the shell is terminated.

Installing Texpress 10.0 is only required for the first client upgraded to EMu 8.0. Once Texpress 10.0 has been installed, this section can be skipped for subsequent upgrades.
Note: In the following steps, xxx
is the version of Texpress being installed (typically the current version). If installing Texpress version 10.0.001 for instance, you'd replace xxx
with 001
in the following command: mkdir -p texpress/10.0.xxx/install
. You can check which is the latest version here (you will download it in Step 6).
- Enter
cd ~emu
- Enter
mkdir -p texpress/10.0.xxx/install
- Enter
cd texpress/10.0.xxx/install
- Download the appropriate Texpress version for your Unix machine, save it to:
~emu/texpress/10.0.xxx/install
and name it
texpress.sh
. - To extract the release, enter
sh texpress.sh
- Enter
. ./.profile
- To commence the installation script, enter:
bin/texinstall ~emu/texpress/10.0.xxx
- Enter
cd ~emu/texpress/10.0.xxx
- Enter
. ./.profile
- Enter
bin/texlicinfo
Obtain your Texpress licence code and save it in a file called
.licence
. - To install the licence, enter:
bin/texlicset < .licence
- Enter
\rm -fr install
- Enter
cd ~emu/texpress
- Enter
ln -s 10.0.xxx 10.0

Note: In the following steps, xxx
is the version of TexAPI being installed (typically the current version). If installing TexAPI version 6.0.012 for instance, you'd replace xxx
with 012
in the following command: mkdir 6.0.xxx
. You can check which is the latest version here (you will download it in Step 3).
Installing TexAPI is only required for the first client upgraded to EMu 8.0. Once TexAPI has been installed, this section can be skipped for subsequent upgrades.
- Enter
cd ~emu/texpress
- Enter
mkdir texapi-6.0.xxx
- Download the appropriate TexAPI version for your Unix machine , save it to:
~emu/texpress
and name it
texapi.sh
- Enter
sh texapi.sh -i ~emu/texpress/texapi-.0.xxx
Note: Replace
~emu
with useremu
's expanded home directory, typically/home/emu
. - Enter
\rm -f texapi
- Enter
ln -s texapi-6.0.xxx texapi
- Enter
\rm -f texapi.sh

Note: In the final step, EMu is upgraded from the previous version of EMu (e.g. 6.5) to the latest version of EMu (e.g. 8.0).
If your institution's current version of EMu is older than the previous version (e.g. older than 6.5), be sure to run each upgrade script from your current version onwards until you are in a position to upgrade from the previous version to the latest version (e.g. 6.5 to 8.0). All previous upgrade notes can be found here.
- Enter
cd ~emu/clientname
- Enter
mkdir install
- Enter
cd install
- Download the appropriate EMu server version bundle, save it in:
~emu/clientname/install
and name it
emu.sh
. - To extract the EMu release, enter
sh
emu
.sh
- Enter
. ./.profile
- To commence the installation script, enter:
bin/emuinstall clientname
- Enter
cd ~emu/clientname
- Enter
cp .profile.parent ../.profile
- Enter
. ../.profile
- Enter
client clientname
- Enter
upgrade-8-0.lfs
This step joins partitioned files back into a single file. If the
exec
option is used in the ServerMediaPath Registry entry then you may need to run the script with a list of paths to check for partitioned files. -
Enter
upgrade-list-reports
This step generates a list of Crystal reports that use columns that have increased from <= 255 to > 255 in length. This list can be supplied to customers so that they can manually resolve the affected report files.
See Reports columns for details.
- Enter
emureindex -R
-
Removal of the temporary install directory (and its contents) is recommended. Enter:
\rm -fr install
- Enter
upgrade-8-0
This step includes reloading the Bibliography database. This may take some time for customers with a large number of Bibliography records.
-
Enter upgrade-8-0.bibliography <view-type> ONLY if the customer intends on using the new simplified Bibliography user interface.
This step updates every record in the Bibliography database. This may take some time for customers with a large number of bibliography records. Details can be found here.
-
Enter upgrade-8-0.registry

- Enter
emuload start
- Enter
emuload status
Check that all loads started successfully. Investigate any loads that failed to start.

The recording of the upgrade session may now be terminated.
- Enter
exit
The session output is available in /tmp/output-8-0

EMu 8.0 does not require the new Windows client to be installed on every machine for network installations. Updating the network server is sufficient. For standalone installations a new client is required on each machine. To upgrade the EMu Client, follow the Install EMu Client notes.