wazuh-docker
wazuh-docker copied to clipboard
single-node wazuh.dashboard keep failing on startup
Hello I have an error on starting docker compose single node , version 4.3.10 , with the single-node wazuh.dashboard the error shown below ,deleted and started from scratch few times with no luck
Please advice Thanks
` ``` FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T13:54:35Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T13:54:35Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T13:55:44Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T13:55:44Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T13:56:53Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T13:56:53Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T13:58:02Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T13:58:02Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T13:59:11Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T13:59:11Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:00:20Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:00:20Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:01:29Z","tags":["info","plugins-service"],"pid":40,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:01:29Z","tags":["fatal","root"],"pid":40,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:02:38Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:02:38Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:03:47Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:03:47Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:04:55Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:04:56Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:06:05Z","tags":["info","plugins-service"],"pid":39,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:06:05Z","tags":["fatal","root"],"pid":39,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:07:14Z","tags":["info","plugins-service"],"pid":38,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:07:14Z","tags":["fatal","root"],"pid":38,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:08:23Z","tags":["info","plugins-service"],"pid":38,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:08:23Z","tags":["fatal","root"],"pid":38,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
An OpenSearch Dashboards keystore already exists. Overwrite? [y/N] Created OpenSearch Dashboards keystore in /usr/share/wazuh-dashboard/config/opensearch_dashboards.keystore Wazuh APP already configured {"type":"log","@timestamp":"2022-11-27T14:09:31Z","tags":["info","plugins-service"],"pid":40,"message":"Plugin "visTypeXy" is disabled."} {"type":"log","@timestamp":"2022-11-27T14:09:32Z","tags":["fatal","root"],"pid":40,"message":"{ Error: EISDIR: illegal operation on a directory, read\n at Object.readSync (fs.js:498:3)\n at tryReadSync (fs.js:332:20)\n at readFileSync (fs.js:369:19)\n at readFile (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:385:31)\n at readKeyAndCerts (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:369:21)\n at new OpenSearchConfig (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_config.js:304:9)\n at MapSubscriber.OpenSearchService.config$.coreContext.configService.atPath.pipe.rawConfig [as project] (/usr/share/wazuh-dashboard/src/core/server/opensearch/opensearch_service.js:59:105)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/wazuh-dashboard/node_modules/rxjs/internal/ReplaySubject.js:76:28) errno: -21, syscall: 'read', code: 'EISDIR' }"}
FATAL Error: EISDIR: illegal operation on a directory, read
`
Hello @tbaror
What operating system and docker version are you using?
In addition to removing the containers for deployment from scratch, please check that there are no volumes left with the docker volume ls
command and remove all volumes starting with the name single-node
I am facing the same issue, I'm running on Ubuntu 20.04.5 LTS and docker version 23.0.1, build a5ee5b1 followed your Documentation but it's not working. all the containers keep restarting themselves. I have removed the containers + all volumes several times, the machine that docker is running on is also up to date and freshly installed.