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

Config file error when starting Butler #1183

Closed
mountaindude opened this issue Jul 3, 2024 · 9 comments · Fixed by #1190 or #1188 · May be fixed by #1307
Closed

Config file error when starting Butler #1183

mountaindude opened this issue Jul 3, 2024 · 9 comments · Fixed by #1190 or #1188 · May be fixed by #1307

Comments

@mountaindude
Copy link
Collaborator

mountaindude commented Jul 3, 2024

Creating a separate issue for this, in order not to cause confusion in the original issue #1141.
Let's use this new issue for discussions going forward regarding your config file issue, @PavelKassitchev .

Hi, newRelic lines are commented as in the samples above but I do get the same error
butler
Butler version 12.4.0

Originally posted by @PavelKassitchev in #1141 (comment)

@mountaindude
Copy link
Collaborator Author

@PavelKassitchev, what computer and OS and OS version are you running Butler on?

@PavelKassitchev
Copy link

FUJITSU PRIMERGY RX2530 M2,
Microsoft Windows Server 2012 R2 Standard

@mountaindude
Copy link
Collaborator Author

mountaindude commented Jul 3, 2024

@PavelKassitchev,

I have looked into this now and your config file works just fine here.
Have tested it with Butler 12.4.0 (same that you used) on both WinSrv 2016, Ubuntu and macOS.

So... there is something that makes your Butler server special, causing the code that gets information about the server to fail (the error occurs in the "Getting host info..." section).
I will keep investigating here, but if you can share the details of your server that would be useful.

Related thought:
You do know that WinSrv 2012 R2 is out of support from Microsoft?
https://learn.microsoft.com/en-us/lifecycle/announcements/windows-server-2012-r2-end-of-support

Time to upgrade! :)

@PavelKassitchev
Copy link

Thank you! :)
I am not there right now so I will reply in a day or so

@mountaindude
Copy link
Collaborator Author

@PavelKassitchev

There is a new Butler version, 12.4.1, available on the Releases page.
Direct download link here.

It adds a bit more logging to the part of Butler that is causing you troubles.
If you use this new version instead it will give more information about exactly what part of Butler is not working as intended.

Please give it a try if you have a few minutes to spare, then report back the error message here.

Slightly more technical explanation of what's going on:

  • Butler uses a package called SystemInformation to get info about the server on which it is running.
  • That package is great and works without issues in vast majority of cases, but it seems it is in some cases not able to correctly determine how much memory is present in the computer where it is running.
  • This is what's happening in your case: SystemInformation reports an error and doesn't return the data Butler needs.
  • Butler is used in lots of Qlik Sense environments out there, so far I've only seen this issue 2-3 times. And I have never been able to replicate it, which is frustrating.
  • I have reported the issue to the maintainers of SystemInformation. I am also working with them trying to understand what's going on.

@mountaindude
Copy link
Collaborator Author

@PavelKassitchev

Update: 🎉

There indeed was a nasty little bug in Butler.
It shows itself when the server where Butler is running has a non-standard setup for network interfaces (or no network interfaces enabled at all).

Anyways, version 12.4.2 is being built right now and will address this bug.
Will be available from the Releases page, as usual.

@mountaindude
Copy link
Collaborator Author

...and a final comment.

Your config file is set up so that it will start Butler, but the Butler will then exit.
There simply isn't anything enabled in the config file..

I guess you started looking into using Butler for some reason - maybe getting nice alert emails when Qlik Sense reload tasks fail?

The setup section of the Butler documentation site has plenty of information to help you along the way.

@PavelKassitchev
Copy link

Thank you very much! Release 12.4.2 has worked!! :)
Yes, sure, my next step will be setting up necessary functions in the config files

@mountaindude
Copy link
Collaborator Author

Thank you very much! Release 12.4.2 has worked!! :) Yes, sure, my next step will be setting up necessary functions in the config files

Awesome - happy to hear that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants