Upgrade Nexus Timestamp Server
This article describes how to upgrade Nexus Timestamp Server both on Windows and on Linux.
Upgrade from Nexus Timestamp Server 2.2.1 to 2.3.2
Update libraries and files
Before upgrading, it is crucial that the Nexus Timestamp Server service is stopped. For more information, see Start and stop Nexus Timestamp Server.
Run the file nexus-timestamp-installer-2.3.2.jar and follow the instructions.
During the upgrade:
On Windows
The installer will automatically detect an existing Nexus Timestamp Server installation from the Windows registry and upgrades your Nexus Timestamp Server files and libraries located in the <install> directory (default C:\Program Files\Nexus\Timestamp Server).On Linux
The installer will only detect an existing Nexus Timestamp Server installation if the selected install path already contains an existing Nexus Timestamp Server installation. If detected, the installer will upgrade the files and libraries located in the <install> directory (default /usr/local/timestamp-server).Remove the timestamp-server service from /etc/init.d/:
chkconfig --del timestamp-server
rm /etc/init.d/timestamp-server
systemctl daemon-reload
Install timestamp-server in systemd as follows:
sh <timestamp-server-install-dir>/bin/setup_services.sh install timestamp-server <youruser> <yourgroup>
Run the following command to start the service:
systemctl start timestamp-server
Upgrade from Nexus Timestamp Server 2.2.0 to 2.2.1
Update libraries and files
Before upgrading, it is crucial that the Nexus Timestamp Server service is stopped. For more information, see Start and stop Nexus Timestamp Server.
Run the file nexus-timestamp-installer-2.2.1.jar and follow the instructions.
During the upgrade:
On Windows
The installer will automatically detect an existing Nexus Timestamp Server installation from the Windows registry and upgrades your Nexus Timestamp Server files and libraries located in the <install> directory (default C:\Program Files\Nexus\Timestamp Server).On Linux
The installer will only detect an existing Nexus Timestamp Server installation if the selected install path already contains an existing Nexus Timestamp Server installation. If detected, the installer will upgrade the files and libraries located in the <install> directory (default /usr/local/timestamp-server).
After the upgrade is complete you MUST re-configure the service user defined in <install>/bin/timestamp-server.conf by adding a line containing SERVICEUSER=theuser.
Upgrade from Nexus Timestamp Server 2.1 to 2.2.0
Update libraries and files
Before upgrading, it is crucial that the Nexus Timestamp Server service is stopped. For more information, see Start and stop Nexus Timestamp Server.
Run the file nexus-timestamp-installer-2.2.0.jar and follow the instructions.
During the upgrade:
On Windows
The installer will automatically detect an existing Nexus Timestamp Server installation from the Windows registry and upgrades your Nexus Timestamp Server files and libraries located in the <install> directory (default C:\Program Files\Nexus\Timestamp Server).On Linux
The installer will only detect an existing Nexus Timestamp Server installation if the selected install path already contains an existing Nexus Timestamp Server installation. If detected, the installer will upgrade the files and libraries located in the <install> directory (default /usr/local/timestamp-server).After the upgrade is complete you MUST re-configure the service user defined in <install>/bin/timestamp-server.conf by adding a line containing SERVICEUSER=theuser.
Update configuration files
New functionality
New functionality in the configuration files is described in the release note. If you want to use the new functionality, you must manually update the configuration files.
The configuration files are located here:
On Windows: C:\ProgramData\Nexus\timestamp-server\conf
On Linux: /etc/timestamp-server
Mandatory updates
Do these mandatory updates in the configuration files:
The java logging configuration has changed. If your logging.properties file is unchanged this is handled automatically by the upgrade process. Otherwise replace your logging.properties file with the new default configuration (see below) and adapt it to your preference:
Configuration change for java logging
CODE# # configuration for logging # handlers = com.id2tech.logging.TimeRollingFileHandler # Dependencies should log on Warning .level = WARNING # Nexus classes should log on Info se.nexus.level = INFO com.id2tech.level = INFO com.nexussafe.level = INFO nano.audit.level= INFO com.id2tech.logging.TimeRollingFileHandler.pattern = %5$s/logs/%ty-%<tm-%<td/timestamp.log com.id2tech.logging.TimeRollingFileHandler.level = INFO com.id2tech.logging.TimeRollingFileHandler.formatter = com.id2tech.logging.OneLineMessageFormatFormatter #java.util.logging.ConsoleHandler.formatter = com.id2tech.logging.OneLineMessageFormatFormatter #java.util.logging.ConsoleHandler.level = FINEST
Parameter change in timestamp.properties. If your timestamp.properties file is unchanged this is handled automatically. Otherwise do the following:
Replace
CODE#include ./server-0/*-webapp.properties
with
CODE#include ./server-0/front-webapp.properties
Replace
CODE#include ./server-1/*-webapp.properties
with
CODE#include ./server-1/admin-webapp.properties #include ./server-1/root-webapp.properties
If more
#include
parameters are present, do the same change for them.
Upgrade from Nexus Timestamp Server 2.0
First follow the instructions in section ”Update configuration files” below, and then:
Continue with the instructions in section ”Upgrade from Nexus Timestamp Server 2.1 to 2.2.0” above.
Do not stay on version 2.1, but continue to upgrade to version 2.2.0.
Update configuration files
New functionality
New functionality in the configuration files is described in the release information in the upgrade folder for Nexus Timestamp Server 2.0. If you want to use the new functionality, you must manually update the configuration files.
The configuration files are located here:
On Windows: C:\ProgramData\Nexus\timestamp-server\conf
On Linux: /etc/timestamp-server
Mandatory updates
Do these mandatory updates in the configuration files:
Configuration change for ClockFilter, see Description of filters in Nexus Timestamp Server, heading "ClockFilter".
Reason: changed name from GlobalClockFilter to ClockFilter.
Change the line 'class=com.nexussafe.nano.filters.GlobalClockFilter' in service.properties, to:
Configuration change for "ClockFilter"
CODEclass=com.nexussafe.nano.filters.ClockFilter
Configuration change for filter.OcspValidator, see see Description of filters in Nexus Timestamp Server, heading "validation.OCSPValidationFilter".
Reason: changed 'ocsp.signRequest' parameter value for the OCSPValidator.
If applicable, change the parameter value of 'ocsp.signRequest' from 'yes/no' to 'true/false' in service.properties.
Upgrade from Nexus Timestamp Server 1.x to 2.2.0
Upgrade from 1.x to 2.2.0
It is not possible to upgrade a current Nexus Timestamp Server 1.x installation to Nexus Timestamp Server 2.2.0.
Instead do the following:
Back up the configuration and logs for your Nexus Timestamp Server 1.x installation.
Uninstall Nexus Timestamp Server 1.x.
Install Nexus Timestamp Server 2.2.0 (see Install and upgrade Nexus Timestamp Server) and adapt the configuration. Configuration file names and parameters have changed.