Open Aigerim-ai opened 1 year ago
@Aigerim-ai Thanks for compiling!
I added numbers to make it easier to reference them.
So 1. and 2. are definitely good candidates for PRs to the developer guide. For the others let's see if we can think of any solutions that strike closer to the root.
Hi! thank you for your reference numbers and your guidance, let me create one for Opensearch repo? Can I have this issue open, in case there will be problems specifically for OpenSearch-Dashboards Developers guide.
Dear Fellow Developers and Mentors, Here I have collected all of the issues which appeared from current students at our program Please add comments on this issue, if you had troubles with installing application and managed to solve the issue. We follow specific format - Error(with screenshots), Description, Solution
1. Error: There appears to be trouble with your network connection. Retrying... Description: This error is because you have low speed network connection. Try with
—network-timeout 1000000
: Solution: yarn osd bootstrap —network-timeout 1000000 Author: Alexei Karikov @Nicksqain2. Error: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] Description: This error is because there is not enough memory so more memory must be allowed to be used Solution: sudo sysctl -w vm.max_map_count=262144 For Windows:
wsl -d docker-desktop
sysctl -w vm.max_map_count=262144 Author: Alexei Karikov @Nicksqain
Error: Execution failed for task 'server:compileJava'. Description: This error can be caused by JDK 14. Solved by changing runtime to JDK 11 or JDK 17. Solution: Change the RUNTIME_JAVA_HOME in /etc/environment by sudo nano /etc/environment Set the value pointing to JDK 11 or JDK 17 home directory Example: RUNTIME_JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 Author: Saadat Nursultan @nurSaadat
Error: server crashed Description: Server crashes when we run yarn start:docker, after opening localhost server crashes Solution: yarn osd clean, yarn osd bootstrap in your second terminal where docker container was opened, then run yarn opensearch snapshot Solution 2: clearing cache helps Author: Aigerim Suleimenova @Aigerim-ai