You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. "Wazuh dashboard server is not ready yet" error
308
+
**Solution:** Check the container logs with docker logs -f <container_name>. Common causes include:
309
+
310
+
- Initialization still in progress (wait a few minutes and waituntil you see a message like "[success][@osd/optimizer] bundles compiled successfully"in the logs)
Copy file name to clipboardExpand all lines: docker/osd-dev/README.md
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,17 @@
4
4
5
5
- vm.max_map_count=262144
6
6
7
-
To modify the vm.max_map_count, you can run this command:
7
+
To modify the vm.max_map_count:
8
+
9
+
**Linux:**
8
10
`sudo sysctl -w vm.max_map_count=262144`
11
+
12
+
**MacOs:**
13
+
For Docker Desktop on Mac, this setting needs to be applied to the Linux VM that runs Docker
9
14
15
+
`docker run --rm --privileged alpine sysctl -w vm.max_map_count=262144`
16
+
This command temporarily increases the memory map count limit in the Docker VM, which is required for Elasticsearch/OpenSearch to function properly. The setting will persist until Docker Desktop is restarted.
17
+
10
18
- jq
11
19
12
20
To install jq, you can run this command:
@@ -26,7 +34,7 @@ Use always the provided script to bring up or down the development
Use the `saml` flag to bring up KeyCloak IDP. **Add idp to your hosts and start
40
48
the server using the `--no-base-path`**.
41
49
50
+
Use the `--no-start` flag if you want to prevent the automatic startup of the dashboard service. This keeps the container running without starting the service, allowing you to connect to it and run commands manually:
51
+
52
+
```bash
53
+
###For example:
54
+
### Start the environment without automatically starting the dashboard service
55
+
./dev.sh -os 2.19.1 -osd 2.19.1-5.0.0 --no-start -a up
56
+
57
+
### Then connect to the container
58
+
docker exec -it os-dev-2191-500-osd-1 bash
59
+
60
+
### Manually install dependencies in all plugin folders for example:
61
+
cd plugins/wazuh-core
62
+
yarn install
63
+
64
+
### And manually start the service
65
+
cd /home/node/kbn
66
+
yarn start --no-base-path
67
+
```
68
+
42
69
```apacheconf
43
70
# Linux systems: /etc/hosts
44
71
# Windows systems: C:\Windows\System32\drivers\etc\hosts
0 commit comments