You are currently reviewing an older revision of this page.
All processes fail to archive after performing an upgrade to a new directory structure. The following errors are seen in the application server log:
[Appian Work Item - XXXX - ProcessExec02 : ArchiveProcessRequest] ERROR com.appiancorp.process.engine.ArchiveProcessRequest - Unexpected exception occurred during archiving: process XXXXXXX (Appian Work Item - 7886 - ProcessExec02 : ArchiveProcessRequest) com.appiancorp.process.engine.ArchivePrepareException
In the db_PX*.log we would see the following:
[PX001] {peXXX.kdb XXXXXX} (Default) ERROR .a.noa "Failed to create path:##OLD PATH##"
This is because the system can no longer find the old path to archive the processes due to the change in installation path.
This issue has been addressed via AN-71290 in the following hotfixes/version:
Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian. After doing that, you will have to run the change-paths.sh script located in <APPIAN_HOME>/_admin/_scripts/tools after modifying the following parameters:
<APPIAN_HOME>/_admin/_scripts/tools
OLD_PATH_ARCHIVED=##OLD PATH TO THE ARCHIVED PROCESS DIRECTORY NEW_PATH_ARCHIVED=##NEW PATH TO THE ARCHIVED PROCESS DIRECTORY
After making this change, run the script with a user that has sufficient privileges (e.g., the user configured to run Appian). Look through the logs to see if any of the above errors are still encountered.
This article applies to all versions of Appian.
Last Reviewed: March 2017