Fulltextsearch not installing on NFS volume

Hi,

Together with this, I’m also installing with docker volumes on an NFS mount on the host.

Whenever I try to enable Fulltextsearch, it restarts complaining about stale files.

Is it possible to install Fulltextsearch (elasticsearch?) on an NFS mount?

Thank you very much.

Here are the actual logs:

docker logs nextcloud-aio-fullsearch

java.nio.file.FileSystemException: /usr/share/elasticsearch/data: Stale file handleat java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)at java.base/sun.nio.fs.UnixException.asIOException(UnixException.java:115)at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:452)at java.base/java.nio.file.Files.newDirectoryStream(Files.java:445)at java.base/java.nio.file.Files.list(Files.java:3419)at org.elasticsearch.xpack.security.cli.AutoConfigureNode.isDirEmpty(AutoConfigureNode.java:1163)at org.elasticsearch.xpack.security.cli.AutoConfigureNode.execute(AutoConfigureNode.java:170)at org.elasticsearch.server.cli.ServerCli.autoConfigureSecurity(ServerCli.java:185)at org.elasticsearch.server.cli.ServerCli.execute(ServerCli.java:91)at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:55)at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:101)at org.elasticsearch.cli.Command.main(Command.java:54)at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:65)

Yes, if should be possible. But you’ll need to be willing to get more familiar with the underlying parts of your storage infrastructure and OS.

But possible isn’t the same as recommended. :wink:

Configuring NFS is fairly nuanced and implementation specific (on both the client - your AIO host in this case - and server-side). And some implementations are also simply not robust enough no matter how they’re configured.

The underlying cause may also be related to your other post’s issue.

2 Likes