FATAL Error: EISDIR: illegal operation on a directory, read

I used version 7.6.1 before, and then I changed it to kibana:8.0.0-SNAPSHOT Restart the pod and it won't work

Configuring logger failed: { Error: EISDIR: illegal operation on a directory, read
at Object.readSync (fs.js:498:3)
at tryReadSync (fs.js:332:20)
at readFileSync (fs.js:369:19)
at Keystore.load (/usr/share/kibana/src/legacy/server/keystore/keystore.js:70:45)
at new Keystore (/usr/share/kibana/src/legacy/server/keystore/keystore.js:29:10)
at readKeystore (/usr/share/kibana/src/cli/serve/read_keystore.js:33:20)
at applyConfigOverrides (/usr/share/kibana/src/cli/serve/serve.js:163:41)
at applyConfigOverrides (/usr/share/kibana/src/cli/serve/serve.js:223:42)
at MapSubscriber.RawConfigService.config$.rawConfigFromFile$.pipe.rawConfig [as project] (/usr/share/kibana/src/core/server/config/raw_config_service.js:39:16)
at MapSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/map.js:49:35)
at MapSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)
at ReplaySubject._subscribe (/usr/share/kibana/node_modules/rxjs/internal/ReplaySubject.js:76:28)
at ReplaySubject.Observable._trySubscribe (/usr/share/kibana/node_modules/rxjs/internal/Observable.js:44:25)
at ReplaySubject.Subject._trySubscribe (/usr/share/kibana/node_modules/rxjs/internal/Subject.js:102:51)
at ReplaySubject.Observable.subscribe (/usr/share/kibana/node_modules/rxjs/internal/Observable.js:30:22)
at MapOperator.call (/usr/share/kibana/node_modules/rxjs/internal/operators/map.js:32:23) errno: -21, syscall: 'read', code: 'EISDIR' }

FATAL Error: EISDIR: illegal operation on a directory, read

Looks like a few people are having this issue and commenting out path.data in kibana.yml seems to fix it for folks. Hope this helps!

Source: Kibana 7.9.0: Configuring logger failed: { Error: EISDIR: illegal operation on a directory, read

2 Likes

comment path.data And then kibana worked.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.