Erorr while trying to install wazuh on synology nas

752 views
Skip to first unread message

Tomer

unread,
Aug 16, 2023, 1:55:38 PM8/16/23
to Wazuh mailing list
When trying to execute this command `docker-compose -f generate-indexer-certs.yml run --rm generator`

I'm getting this error: 
Error response from daemon: Bind mount failed: '/volume1/homes/admin/Docker-Stuff/wazuh-docker/single-node/config/wazuh_indexer_ssl_certs/wazuh.indexer-key.pem' does not exists

Julio Gasco

unread,
Aug 17, 2023, 7:29:38 PM8/17/23
to Wazuh mailing list
Hi Tomer,
Sorry for the delay,
Have you followed the installation instructions as explained below ?

I replicated the installation on an ubuntu server and I did not had any error

root@jgasco-ThinkCentre-M700:~/wazuh-docker/single-node# docker-compose -f generate-indexer-certs.yml run --rm generator
[+] Running 1/1
 ⠿ Network single-node_default  Created                                                                                                                                                    0.1s
[+] Running 5/5
 ⠿ generator Pulled                                                                                                                                                                       14.6s
   ⠿ edaedc954fb5 Pull complete                                                                                                                                                           11.1s
   ⠿ 573f4d11a520 Pull complete                                                                                                                                                           12.3s
   ⠿ 8f200922197d Pull complete                                                                                                                                                           12.3s
   ⠿ 55a86de68c5c Pull complete                                                                                                                                                           12.3s
The tool to create the certificates exists in the in Packages bucket
17/08/2023 23:26:20 INFO: Admin certificates created.
17/08/2023 23:26:20 INFO: Wazuh indexer certificates created.
17/08/2023 23:26:20 INFO: Wazuh server certificates created.
17/08/2023 23:26:20 INFO: Wazuh dashboard certificates created.
Moving created certificates to the destination directory
Changing certificate permissions
Setting UID indexer and dashboard
Setting UID for wazuh manager and worker


Can you try cloning again the repository ? And also please share your generate-indexer-certs.yml file for comparison.
Please also share the OS where you are running docker to try and replicate in the same environment version.
Lastly are you installing latest version ? 

I will be waiting your input
Regards

Malek

unread,
Nov 25, 2023, 9:02:49 AM11/25/23
to Wazuh | Mailing List
Hello, 

I am having the same exact issue on my Synology DS920+.

I have already tried to git the clone multiple times already but with no success:

Error response from daemon: Bind mount failed: '/root/wazuh-docker/single-node/config/wazuh_indexer_ssl_certs' does not exists

Output of generate-indexer-certs.yml:

# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2)
version: '3'

services:
  generator:
    image: wazuh/wazuh-certs-generator:0.0.1
    hostname: wazuh-certs-generator
    volumes:
      - ./config/wazuh_indexer_ssl_certs/:/certificates/
      - ./config/certs.yml:/config/certs.yml


at the beginning, when I ran the generate command I got the following output:

[+] Running 1/1
 ⠿ Network single-node_default  Created                                                                                                                             0.4s
[+] Running 5/5
 ⠿ generator Pulled                                                                                                                                                10.0s
   ⠿ edaedc954fb5 Pull complete                                                                                                                                     4.4s
   ⠿ 573f4d11a520 Pull complete                                                                                                                                     7.3s
   ⠿ 8f200922197d Pull complete                                                                                                                                     7.5s
   ⠿ 55a86de68c5c Pull complete                                                                                                                                     7.6s


But now if I try to run it again I just get the error I shared above and nothing else.
 
I am running these docker commands on the host (Synology)

Any help is appreciated! Let me know if you need me to test anything or if you need any other output.

Regards,
Reply all
Reply to author
Forward
0 new messages