Hi,
When trying to patch 1.33.0 on Kibana 7.14.0 we get the below error:
[TST root@xxx.yyy kibana]$ ./bin/kibana-plugin install file:///data/readonlyrest_kbn_enterprise-1.33.0_es7.14.0.zip
Attempting to transfer from file:///data/readonlyrest_kbn_enterprise-1.33.0_es7.14.0.zip
Transferring 26556920 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin installation complete
[TST root@xxx.yyy kibana]$ node/bin/node plugins/readonlyrestkbn/ror-tools.js patch
[ROR COMPAT] Received command: patch
[ROR COMPAT] Adding hooks on a few Kibana files if necessary..
[ROR COMPAT] ReadonlyREST encountered problems with compatibility manager script, please run manually using 'ror-tools.js' Error: ENOENT: no such file or directory, scandir '/usr/share/kibana/plugins/readonlyrestkbn/kibana/patchers/patches_for_kbn_distribution/'
at Proxy.readdirSync (fs.js:1043:3)
at doWithPatcher (/usr/share/kibana/plugins/readonlyrestkbn/kibana/patchers/kibanaPatcher.js:1:3418)
at patchAll (/usr/share/kibana/plugins/readonlyrestkbn/kibana/patchers/kibanaPatcher.js:1:2625)
at Object.main (/usr/share/kibana/plugins/readonlyrestkbn/kibana/patchers/kibanaPatcher.js:1:2189)
at Object.<anonymous> (/usr/share/kibana/plugins/readonlyrestkbn/ror-tools.js:16:10)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
errno: -2,
syscall: 'scandir',
code: 'ENOENT',
path: '/usr/share/kibana/plugins/readonlyrestkbn/kibana/patchers/patches_for_kbn_distribution/'
}
We checked, the directory /usr/share/kibana/plugins/readonlyrestkbn/kibana/patchers/ exists, but the subdirectory patches_for_kbn_distribution doesn’t exist.
Please advise.