Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When did windows beats packages got zipped using another method? #9259

Closed
vchan2002 opened this issue Nov 28, 2018 · 2 comments
Closed

When did windows beats packages got zipped using another method? #9259

vchan2002 opened this issue Nov 28, 2018 · 2 comments
Labels

Comments

@vchan2002
Copy link

vchan2002 commented Nov 28, 2018

While this is not necessarily a bug in beats itself, it's causing downstream effects for users who are using the chef to install beats zip packages for windows

chef-boneyard/windows#459

The TL:DR of that issue is that, it seems that chef cannot handle zip files created using Compress-Archive However, it seems to work OK if the zip is created with [System.IO.Compression.ZipFile]::CreateFromDirectory.

It would seem that the change happened somewhere in between version 6.3.2 to 6.4.2, as I am able to use the same chef recipe to install beats on 6.3.2, but not with 6.4.2.

On 6.4.2, chef's methods would not extract everything in the archive, including subdirectories and the powershell install/uninstall scripts, and fails subsequently.

So, I'd like to know when that change took affect, so that we can pin our installs to the latest version with the working compression method, until that bug is fixed.

@andrewkroh
Copy link
Member

6.4.0 was the first release made with the updated packaging code. The zip is built with a bit of Go code from here. IIUC the problem is caused by intermediary directories not being listed in the zip.

@botelastic
Copy link

botelastic bot commented Feb 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Feb 4, 2021
@botelastic botelastic bot closed this as completed Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants