All process instances fail to archive and the following error is found in the db_PX.log file:
WARN .workq "An exception has occurred. This action will be retried until it succeeds or the maximum retry period is reached. Work item 358, Archive [Process id=-1609403044]"
No relevant information is printed in the application server logs. Appian's out of the box archiveprocess.bat|sh script fails to archive with a success message on the console.
This issue can occur if the user who is running the application server does not have write permission in the <APPIAN_HOME>\server\archived-process directory.
Ensure that the same user is starting the application service and engines. Also, ensure that the application server has permission to write in <APPIAN_HOME>\server\archived-process directory.
Note: Once the issue is fixed, the processes which failed to archive previously will not be archived automatically. Run the archive script to archive them.
This article applies to all versions of Appian.
Last Reviewed: January 2019
© 2020 Appian. All rights reserved.