Central Directory corrupt issue
Hi,
We are getting a 'Central Directory corrupt' error when trying to deploy our app, can you help us identify the issue urgently ASAP there since it went a couple of days and we have to submit an update for our client, thanks!
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by pochu on Feb 07, 2022 @ 05:13 AM
I am also getting the same issue on new builds for a particular project and unable to figure out the reason for the "Central Directory corrupt" issue.
The artifacts look good when downloaded.
Error message says:
Deployment job started
Found 5 deployable artifacts.
Deploying Windows application {ArtifactName}
Downloading artifact package src/{path to bin}/{artifact}.zip (1,205,471 bytes)
Central Directory corrupt.
It is a private project but assuming support can access the following link:
https://ci.appveyor.com/project/chaione-it/plantviewer-telemetry/de...
Any help is appreciated.
Support Staff 2 Posted by Feodor Fitsner on Feb 07, 2022 @ 05:16 AM
What OS is installed on the target server and what version of appveyor deployment agent?
3 Posted by pochu on Feb 07, 2022 @ 05:24 AM
hmm
Project with problem is deploying to
Windows Server 2012 R2
Appveyor Agent 3.52.0.0
Wonder if that is the problem - just need to upgrade servers and/or agent?
I have another project that is working fine and it is running
Windows Server 2019
Appveyor Agent 6.3.2.2630
Thanks,
Philip
________________________________
Support Staff 4 Posted by Feodor Fitsner on Feb 07, 2022 @ 05:26 AM
Yes, upgrade agent to the latest version. You can grab a URL I gave you in another reply to you earlier.
5 Posted by pochu on Feb 07, 2022 @ 05:50 AM
Got it, thanks!
________________________________
6 Posted by Tom on Mar 16, 2022 @ 12:28 PM
This comment was split into a new private discussion: Central Directory corrupt issue
We're having the same error for one of our deployments, but upgrading the AppVeyor Agent as suggested does not work.
Windows Server 2012 R2
AppVeyor Agent 6.3.2.2630
When I look in the logs I can see:
"Downloading artifact MySite.Web.zip (38,558,301 bytes) to C:\Windows\TEMP\wjpu5b2f.dqg\MySite.Web.zip"
And after that we get the "Central Directory corrupt" error.
If I then go to look in the directory where it should have downloaded the file I can see the MySite.Web.zip is 0 KB.
The build artifact in AppVeyor is the correct size (38MB) and the agent does seem to recognise it, but not download it?
We do have another site on the same server that gets deployed with the same agent, and that one is working fine.
Any ideas on what might be happening here, or maybe an option for us to see more verbose logs?