Unable to load starter site when using NFS
Deploying a fresh dotCMS install using a NFS volume for storing the assets causes a FileSystemException and assets are not copied over to the ASSETREALPATH
Expected Behavior
Typically the process tries to create a hard link and in failure it falls to a regular copy
Current Behavior
The process is failing after not being able to create the hard link over different filesystems (Invalid cross-device link)
Possible Solution
Known Workarounds
Steps to Reproduce (for bugs)
- Download dotCMS 3.6.0
- Create a NFS volume for placing the assets
- Set ASSETREALPATH to point to a directory inside the NFS volume
- Start dotCMS
Context
Versions < 3.6.0 don't have any problems under the same scenario
Your Environment
- dotCMS version used: 3.6.0
- Browser Name and version: NA
- Operating System and version: CentOS, Amazon Linux
- Application Server and version: NA
- Java Brand and version: OpenJDK 1.8.0_101
- Database and version: NA
- Application module (if apply): NA
see: #9997
I confirmed this is fixed.
I started 2 Ubuntu VMs and installed NFS, shared a folder where dotsecure and assets will live. Everything started just fine in the proper paths. No errors in the log.