Global Search - searchIndex Folder removed after deploy a new app package

0
I have implemented the Global Search Module (https://marketplace.mendix.com/link/component/115019)   Deploying the app to the mendix cloud works fine. The Index will be created into the deployment directory at: MMapDirectory@/home/vcap/app/data/searchIndex   Every time i deploy a new version the folder searchIndex seems to be removed from the data directory!   OnPrem Installations are working well.   Where i can store the index files to prevent the removal every time i deploy a new app?   Thanks! Stephan  
asked
2 answers
0

Were you able to find a solution to this issue? We are facing the same problem in the Mendix cloud. Locally no issues.

answered
0

 

  • Caused by: java.nio.file.AccessDeniedException: /searchIndex
  • 5:47:09 PMappat java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source)
  • 5:47:09 PMappat java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
  • 5:47:09 PMappat java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
  • 5:47:09 PMappat java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(Unknown Source)
  • 5:47:09 PMappat java.base/java.nio.file.Files.createDirectory(Unknown Source)
  • 5:47:09 PMappat java.base/java.nio.file.Files.createAndCheckIsDirectory(Unknown Source)
  • 5:47:09 PMappat java.base/java.nio.file.Files.createDirectories(Unknown Source)
  • 5:47:09 PMappat org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:156)
  • 5:47:09 PMappat org.apache.lucene.store.MMapDirectory.<init>(MMapDirectory.java:159)
  • 5:47:09 PMappat org.apache.lucene.store.MMapDirectory.<init>(MMapDirectory.java:112)
  • 5:47:09 PMappat org.apache.lucene.store.FSDirectory.open(FSDirectory.java:196)
  • 5:47:09 PMappat org.apache.lucene.store.FSDirectory.open(FSDirectory.java:189)

I am also getting this issue in Mendix Cloud but not in locale. It was working fine. The Global Search Version I am working with is Global Search 3.0.0

answered