Error During Fisheye Upgrade: Expected Local File Header Signature!
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
Summary
Symptoms
The following appears in the Fisheye/Crucible log:-
1
2
3
4
5
6
7
8
9
10
11
12
13
java.util.zip.ZipException: config\config.xml: Expected Local File Header Signature!
at de.schlichtherle.util.zip.BasicZipFile.getInputStream(BasicZipFile.java:1035)
at de.schlichtherle.util.zip.ZipFile.getInputStream(ZipFile.java:374)
at de.schlichtherle.util.zip.BasicZipFile.getInputStream(BasicZipFile.java:940)
at com.cenqua.fisheye.ctl.RestoreConfig.getConfigFromBackup(RestoreConfig.java:71)
at com.cenqua.fisheye.ctl.Restore.run(Restore.java:153)
at com.cenqua.fisheye.ctl.Restore.main(Restore.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:99)
at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)
Diagnosis
Extract the generated zip file manually to verify, if the generated backup zip file is not corrupted
Cause
The exception is thrown if the Zip file is corrupted when it was generated/created.
Solution
Workaround
Regenerate the Zip file and verify it is not corrupted before performing the upgrade.
Was this helpful?