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

Getting error with Step 3.2.2 when running the deploy.sh script #19

Closed
tmiller0 opened this issue Nov 4, 2023 · 5 comments
Closed

Getting error with Step 3.2.2 when running the deploy.sh script #19

tmiller0 opened this issue Nov 4, 2023 · 5 comments

Comments

@tmiller0
Copy link

tmiller0 commented Nov 4, 2023

🐛 Summary

I am running into an error at step 3.2.2 when running the deploy.sh script. The command I am running is:
sudo ./deploy.sh install

The error is at the step:
[X] Configuring elasticsearch Replica settings
{"error":{"root_cause":[{"type":"parse_exception","reason":"unknown key [template] in the template "}],"type":"parse_exception","reason":"unknown key [template] in the template "},"status":400}{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [[_all]]","index_uuid":"na","index":"[_all]"}],"type":"index_not_found_exception","reason":"no such index [[_all]]","index_uuid":"na","index":"[_all]"},"status":404}

The script continues with:
[X] Generating files_for_windows zip
updating: tmp/lme/ (stored 0%)
updating: tmp/lme/root-ca.crt (deflated 25%)
updating: tmp/lme/wlbclient.key (deflated 24%)
updating: tmp/lme/wlbclient.crt (deflated 24%)
updating: tmp/lme/winlogbeat.yml (deflated 51%)
test of /opt/lme/files_for_windows.zip OK

[X] Setting Elastic pipelines
{"acknowledged":true}[X] We think your main disk is 98G

Then I get another error right after this step that reads:
[!] Unable to determine retention policy - exiting

Then the script exits.

To reproduce

After the script fails to complete, I tried the following commands to clean up and rerun the deploy.sh script:
sudo docker swarm leave --force
sudo docker stack rm lme
sudo docker volume rm lme_logstashdata
sudo docker volume rm lme_esdata

sudo ./deploy.sh install

Expected behavior

The Chapter 3, 3.2.2 instructions state that I should receive a list of usernames and passwords, but the above error is exiting before I am able to see these passwords.

Any helpful log output or screenshots

Paste the results here:

Add any screenshots of the problem here.

@tmiller0
Copy link
Author

tmiller0 commented Nov 4, 2023

I deleted the VM, and I created a new VM with a new Ubuntu 22.04 server install. The deploy.sh script errored at the same spot.

@olerusty
Copy link

olerusty commented Nov 5, 2023

I ran into the same issue, read through this post. https://askubuntu.com/questions/1269493/ubuntu-server-20-04-1-lts-not-all-disk-space-was-allocated-during-installation

root@util:# vgdisplay

root@util:
# lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv

root@util:~# resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv

@tmiller0
Copy link
Author

tmiller0 commented Nov 5, 2023

Thank you "olerusty"! That worked! I cleaned up docker, then ran the extend and resize commands, then reran the deploy.sh script and it completed.

@tmiller0 tmiller0 closed this as completed Nov 5, 2023
@Dedofugaz
Copy link

Dedofugaz commented Nov 9, 2023

Hello, I keep getting the same error that's in this post even with the disk resized... Could you help me please?
image
Running on Ubuntu 22.04.3 LTS

@llwaterhouse
Copy link
Contributor

Please create a new issue since this one has already been closed.
Thank you.

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

No branches or pull requests

4 participants