After updating our app on premises to mx 7.5.1 we get the following error when starting the app.
Exception in thread "main" java.nio.file.NoSuchFileException: /srv/mendix/customera/data/tmp/platform-public___7329799196645687857
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.TempFileHelper.create(TempFileHelper.java:136)
at java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173)
at java.nio.file.Files.createTempDirectory(Files.java:991)
at com.mendix.container.deployment.internal.Interpreters$ClassLoaders$$anon$1.<init>(Interpreters.scala:89)
at com.mendix.container.deployment.internal.Interpreters$ClassLoaders$.createClassloader(Interpreters.scala:85)
at com.mendix.container.deployment.internal.Interpreters$ClassLoaders$$anonfun$newDependency$1.apply(Interpreters.scala:149)
at com.mendix.container.deployment.internal.Interpreters$ClassLoaders$$anonfun$newDependency$1.apply(Interpreters.scala:147)
at cats.data.StateFunctions$$anonfun$modify$2.apply(StateT.scala:179)
at cats.data.StateFunctions$$anonfun$modify$2.apply(StateT.scala:179)
What could be the reason that these folders are not created?
I already check the rights but they seem in order.
customera@......:/srv/mendix/customer/data$ ls -ltr
total 20
drwxrwxr-x 2 customera customera 4096 Apr 24 08:22 logs
drwxr-xr-x 2 customera customera 4096 Sep 28 16:09 database
drwxr-xr-x 3 customera customera 4096 Sep 28 16:50 model-upload
drwxr-xr-x 215 customera customera 4096 Sep 28 16:54 files
drwxr-xr-x 4 customera customera 4096 Sep 28 16:54 tmp
m2ee version is:
Using m2ee-tools version 7.0.1
Java version is:
customera@PVB-T-MX3:/srv/mendix/customer/data$ java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
The only reason i could imagine is that the disk space would be insufficient, (we currently have about 500 mb left) However our app is not that big.