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

URGENT: Installer 11.28.0 FAILED ON ALL WINDOWS SYSTEMS because of failure in installer! #488

Closed
danielwillshare opened this issue Oct 30, 2024 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@danielwillshare
Copy link

danielwillshare commented Oct 30, 2024

@atomic111 Please fix asap the following issue.

Describe the bug
After cnspec Installation with ansible role 2.4.0 the commanc "cnspec version" is performed, but this command fails with "msg": "Failed to run: 'cnspec version': Could not find specified -WorkingDirectory 'C:\Program Files\Mondoo'".

After inspecting this issue, we recognoized that mondoo is not installed anymore in C:\Program Files\Mondoo in 11.28.0. It's now installed in "C:\Program Files (x86)\mondoo"...

image

... but the Path in the role expects the working directory C:\Program Data\mondoo, so all installations are failed. See...

image

... and this is empty now:
image

To Reproduce
Steps to reproduce the behavior:

Install mondoo with ansible role 2.4.0, run cnspec version

Expected behavior
Install and cnspec working dir should match.

Screenshots or CLI Output
Path variable after Installation:
image
Content of C:\Program Files\mondoo:
image
Content of C:\Program Files (x86)\mondoo
image

Desktop (please complete the following information):

  • OS: Windows
  • OS Version: all
  • Browser if applicable: n/a
  • Browser Version: n/a

Additional context
Add any other context about the problem here.

As a workaround we have to uninstall the 11.28.0 now manually on all systems and performing emergency changes, because our baslining on all systems and default installation will not work anymore.

Please fix the version as soon as possible.

@atomic111
Copy link
Member

@danielwillshare sorry. thank you for the info. we are working on it. @philipbalinov please have a look

@atomic111 atomic111 added the bug Something isn't working label Oct 30, 2024
@atomic111
Copy link
Member

@danielwillshare do you have a log from the ansible run?

@danielwillshare
Copy link
Author

{
"changed": false,
"invocation": {
"module_args": {
"removes": null,
"_raw_params": "cnspec version",
"chdir": "C:\Program Files\Mondoo",
"creates": null,
"output_encoding_override": null,
"cmd": null,
"argv": null,
"stdin": null
}
},
"cmd": "cnspec version",
"rc": 2,
"msg": "Failed to run: 'cnspec version': Could not find specified -WorkingDirectory 'C:\Program Files\Mondoo'",
"_ansible_no_log": null
}

@danielwillshare
Copy link
Author

image

@atomic111
Copy link
Member

@danielwillshare thank you for the info.

@atomic111
Copy link
Member

@danielwillshare we released a windows arm package and the ansible role is choosing the wrong package. The fix is on the way https://github.com/mondoohq/ansible-mondoo/pull/80/files

@danielwillshare
Copy link
Author

danielwillshare commented Oct 30, 2024

By the way... I 've seen you modified the ansible role right now...

image

I think this change will not help... ansible had already downloaded the correct version, I assume:

image

@danielwillshare
Copy link
Author

danielwillshare commented Oct 30, 2024

It seems to be the installer file https://releases.mondoo.com/mondoo/11.28.0/mondoo_11.28.0_windows_amd64.msi is corrupt. The installer will fail with the following error:

image

@atomic111
Copy link
Member

atomic111 commented Oct 30, 2024

@danielwillshare we released a new version https://releases.mondoo.com/mondoo/11.28.1/

Can you please try it?

@atomic111 atomic111 self-assigned this Oct 30, 2024
@atomic111 atomic111 transferred this issue from mondoohq/mondoo-operator Oct 30, 2024
@danielwillshare
Copy link
Author

We already have seen the update and currently deploying in productive, after testing in test. Seems to be allright now. I will give you an update if all is working as expected....

@atomic111
Copy link
Member

Thank you for the info

@danielwillshare
Copy link
Author

Thanks for the fix in Version 11.28.1. Our productive is in a stable state now and we freezed our environment to this version now.

Next step is to build up a version control for that. We can discuss some ideas in our next meeting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants