Skip to main content
Skip table of contents

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.0 to 2.2.1

Update libraries and files

Warning: Before upgrading, it is crucial that the Nexus Timestamp Server service is stopped, see Start and stop Nexus Timestamp Server.

  1. Run the file nexus-timestamp-installer-2.2.1.jar and follow the instructions.
  2. During the upgrade:
    1. 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).
    2. 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).
  3. 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

Warning: Before upgrading, it is crucial that the Nexus Timestamp Server service is stopped, see Start and stop Nexus Timestamp Server.

  1. Run the file nexus-timestamp-installer-2.2.0.jar and follow the instructions.
  2. During the upgrade:
    1. 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).
    2. 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:

  1. 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

     

  2. Parameter change in timestamp.properties. If your timestamp.properties file is unchanged this is handled automatically. Otherwise do the following:
    1. Replace

      CODE
      #include ./server-0/*-webapp.properties

      with

      CODE
      #include ./server-0/front-webapp.properties
    2. Replace

      CODE
      #include ./server-1/*-webapp.properties

      with

      CODE
      #include ./server-1/admin-webapp.properties
      
      #include ./server-1/root-webapp.properties
    3. If more #include parameters are present, do the same change for them.

Upgrade from Nexus Timestamp Server 2.0

  1. First follow the instructions in section ”Update configuration files” below, and then: 
  2. 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:

  1. Configuration change for ClockFilter, see Description of filters in Nexus Timestamp Server, heading "ClockFilter".

    1. Reason: changed name from GlobalClockFilter to ClockFilter.

    2. Change the line 'class=com.nexussafe.nano.filters.GlobalClockFilter' in service.properties, to:

      Configuration change for "ClockFilter"

      CODE
      class=com.nexussafe.nano.filters.ClockFilter
  2. Configuration change for filter.OcspValidator, see see Description of filters in Nexus Timestamp Server, heading "validation.OCSPValidationFilter".
    1. Reason: changed 'ocsp.signRequest' parameter value for the OCSPValidator.
    2. 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:

  1. Back up the configuration and logs for your Nexus Timestamp Server 1.x installation.
  2. Uninstall Nexus Timestamp Server 1.x.
  3. 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.

Related information


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.