KB-1839 Data server fails to start with "Failed to verify log offset: txLogOffset is greater than the latest offset in Kafka" error

Symptoms

When starting Appian after an upgrade, the data server fails to start with the following error in <APPIAN_HOME>/logs/data-server/data-server.log:

Failed to replay from transaction log (Kafka) {"pid": XXXX, "error": "failed to verify log offset: txLogOffset is greater than the latest offset in Kafka"}

Cause

The folder <APPIAN_HOME>/services/data/kafka-logs/ was not properly copied over as part of the upgrade.

Action

Upgrading from Appian 17.4 and Earlier

  1. Run the following command: <APPIAN_HOME>/data-server/bin/start.sh --clean.
  2. Restart the application server. If there are multiple application servers, only one needs to be restarted. It does not matter which one is restarted.

Affected Versions

This article applies to Appian 18.1 and later.

Last Reviewed: January 2019

Related
Recommended