Lawson CTP install error – failed to uncompress patch.tar.Z file
When trying to install a CTP you encountered the below error:
“Error – failed to uncompress “patch.tar.Z” file.” or “patch.tar already exists; not overwritten”
There’s a possibility of encountering this error due to the presence of an extra patch.tar file stemming from a prior or simultaneous CTP installation.
Upon executing the tar command, ensure that within the <versionfiledir> directory, where you’ve unpacked the CTP, only three files pertain to this CTP. Verify that you have obtained the following trio of files:
– x.x.x_patch_CTPnumber.readme.html
– Versions
– patch.tar.Z
Clear out any past CTP files from this location, particularly any patch.tar files, and proceed to rerun the lawappinstall.
For UNIX systems:
It’s possible that the lawson user lacks write permissions to a directory higher up in the hierarchy. The entire directory where the decompression is taking place should have permissions set to 777.
For Windows:
If you encounter this error on a Windows server, it may be due to spaces in the folder names along the path to the versions directory. If this is the case, you’ll receive a “failed to uncompress” message.
To resolve this, replace spaces with underscores (_) or use folders without spaces in their names, then proceed to rerun the lawappinstall command.
Typically when installing CTPs it is recommended to have a new directory for each CTP install.
Leave a Reply
Want to join the discussion?Feel free to contribute!