Upgrading AAI fails while running upgrade.sh script with Problem creating TAR: /<install dir>/batch/examples/.jython_cache/packages/dnsns$8.pkc (Permission denied)
search cancel

Upgrading AAI fails while running upgrade.sh script with Problem creating TAR: /<install dir>/batch/examples/.jython_cache/packages/dnsns$8.pkc (Permission denied)

book

Article ID: 203702

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Patching of 6.0.2-1 is failing while running upgrade.sh script.

 

ERROR [upgrade.main.UpgradeCli] 11/19/2020 10:41:01.577 - Automic Automation Intelligence upgrade has terminated prematurely. For details, please look at the log files in the install/log directory.
/<install dir>/jaw/JAWS_INSTALLER/AAI_6_0_2-1/install/build.xml:333: Problem creating TAR: /<install dir>/batch/examples/.jython_cache/packages/dnsns$8.pkc (Permission denied)

Environment

Release : 6.0.2

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

The user running the upgrade did not have the permissions to create files within  /<install dir>/batch/examples/.jython_cache/packages/dnsns$8.pkc 

 

 /<install dir>/batch/examples/.jython_cache/packages/dnsns$8.pkc is a temp directory used during the upgrade/install to unpack files for the CLI. 

 

Set "chmod -R 755 /<install dir>/batch/examples/" to ensure user had writes to create files under the examples directory.

 

Ran the upgrade again it was successful.