'tar' Command Yields 'A lone zero block at 145270'
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When untarring the distribution, the Operating System shows an error:
1
2
3
4
5
6
7
8
...
confluence-std-2.6.2/bin/setenv.bat
confluence-std-2.6.2/bin/setenv.sh
confluence-std-2.6.2/bin/OS X - Run Confluence In Background.command
confluence-std-2.6.2/bin/OS X - Stop Confluence.command
confluence-std-2.6.2/bin/OS X - Run Confluence In Terminal Window.command
confluence-std-2.6.2/confluence/WEB-INF/classes/confluence-init.properties
tar: A lone zero block at 145270
Cause
This issue occurs for certain versions of tar. The warning is apparently caused by different versions of tar having different end of file indicators. There isn't a definitive link on the topic.
The cause is a known issue with a Maven plugin, which will be integrated into our build environment as soon as the fix has been implemented.
Workarounds
Right-click on the file in gnome or OS X and select "Extract here".
Download the zipped version of Confluence (rather than the tar) and unzip that.
Ignore the warning message and proceed, if the extracted package is complete.
Resolution
Track a resolution for this at CONF-10689. For now, we are suggesting the workarounds.
Was this helpful?