Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/opensearch/plugins/.installing-14951488260501941891/plugin-descriptor.properties

Kindly, guide me to resolve this issue
sudo ./bin/opensearch-plugin install file:///path/to/Downloads/wazuh-kibana-app-4.5.2-2.6.0.zip
→ Installing file:///path/to/Downloads/wazuh-kibana-app-4.5.2-2.6.0.zip
→ Downloading file:///home/path/to/Downloads/wazuh-kibana-app-4.5.2-2.6.0.zip
[=================================================] 100%
→ Failed installing file:///path/to/Downloads/wazuh-kibana-app-4.5.2-2.6.0.zip
→ Rolling back file:///path/to/Downloads/wazuh-kibana-app-4.5.2-2.6.0.zip
→ Rolled back file:///path/to/Downloads/wazuh-kibana-app-4.5.2-2.6.0.zip
Exception in thread “main” java.nio.file.NoSuchFileException: /usr/share/opensearch/plugins/.installing-14951488260501941891/plugin-descriptor.properties
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
at java.base/java.nio.file.Files.newInputStream(Files.java:160)
at org.opensearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:201)
at org.opensearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:816)
at org.opensearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:875)
at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:275)
at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:249)
at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104)
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
at org.opensearch.cli.Command.main(Command.java:101)
at org.opensearch.plugins.PluginCli.main(PluginCli.java:60)

The plugin zip file must contains a file named plugin-descriptor.properties, you can check that.

@gaobinlong zip file didn’t contain that file, can you guide me how i can resolve this. I have tried to create this file manually and add some content to it but it didn’t work

You can refer this: https://github.com/opensearch-project/opensearch-plugins/blob/main/BUILDING.md#developing-new-plugins-for-opensearch