-
Notifications
You must be signed in to change notification settings - Fork 96
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
Problem with elastic-stack-installation.sh #986
Comments
Hello @rick-vini I have transferred this issue to the wazuh-packages repository since in principle it is a problem with the installer itself and not with documentation. I can not reproduce the problem that you indicate in debian11 and ubuntu20 following the same steps in the documentation, lines 301 and 302 correspond to:
The If we accept your change, we get precisely the error you mentioned, which occurs since With the script (with dot):
We get the output: With the script (without dot):
We get the output: That said, have you modified the script in any way? Can you run the command Regarding the error of line 556:
I have not been able to reproduce it either, even adding the dot you comment (you can see that it does not get memory value): With the script (without dot):
I get the values: If i add
At first it occurs to me that this may be due to the brackets, can you try to modify the script and use double brackets?
Finally, to secure the system, can you run the following command to check the version of the systems you are commenting on to make sure there is no difference and share it with us?
Regards, Raúl. |
Hello @rauldpm, thanks for the feedback. After seeing your answer, I verified that the problem is in the language used in the OS. When I use pt_BR the free command returns "Mem.:" : When the language is en_US the free command returns "Mem:" : I've corrected the language and everything worked out in a new test. Thank you for your attention. Regards, Ricardo. |
Hello @rick-vini It is true that it is a situation that is not controlled but because there is a large amount of possibilities in terms of language. Thank you for notifying us, we will try to find some generic way that allows us to obtain this. Anyway, from what I see in the image, the Regards, Raúl. |
Hi @rauldpm Sorry, I upload the wrong image file. That one was before de reboot. This is the correct one for the en_US: Anyway, I've corrected the language and everything worked out in a new test. Thank you for your attention. Regards, Ricardo. |
Hello,
I encountered a small problem with the unattended-installation script from the documentation. When trying to run it on Debian 11 or Ubuntu 20.04 distributions I got the following two errors:
I found that to fix those problems it was only necessary to change the value "Mem:" by "Mem.:" in the script elastic-stack-installation.sh. It was just missing the dot after Mem in those cases.
Hope this helps.
The text was updated successfully, but these errors were encountered: