Jump to content

Unraid freezes when booting up


Recommended Posts

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.

Link to comment
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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...