sneville83 Posted March 16, 2022 Share Posted March 16, 2022 Hello, I am having an issue and unsure how to fix it. I installed the elasticsearch container and within it you need to create a user script with the command: #!/bin/bash sysctl -w vm.max_map_count=262144 I set the script to execute the script at startup of the array. After I restarted the server, it will not load. It seems to freeze with a dash in the upper left corner of the screen. I have a feeling its the script that is causing it but unsure how to find the script with it not booting up. I can use another OS to access the USB drive, but don't know where to go within the filesystem. Please help. Quote Link to comment
itimpi Posted March 16, 2022 Share Posted March 16, 2022 How did you set the script to execute at array start? Have you tried booting Unraid in Safe Mode? Quote Link to comment
sneville83 Posted March 17, 2022 Author Share Posted March 17, 2022 On 3/16/2022 at 12:55 AM, itimpi said: How did you set the script to execute at array start? Have you tried booting Unraid in Safe Mode? I was following the instructions for the Elasticsearch container. This is a quote of the steps it said to take: You must follow these steps if using Elasticsearch 5 or above -- vm.max_map_count must be increased or this container will not work Install CA User Scripts from Community Apps Create a new script named vm.max_map_count with this contents: #!/bin/bash sysctl -w vm.max_map_count=262144 3. Set script schedule to At Startup of Array 4. Run the script now to affect changes I followed the steps at stated above. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.