Support Article
File path not recognized when creating file system repository
SA-74256
Summary
When creating the file system repository, the file path is not recognized.
Error Messages
Specified path is not valid
Steps to Reproduce
- Create a repository.
- Select a file system and add a network drive location which has full access privileges.
Root Cause
A defect or configuration issue in the operating environment.
The Windows Network Share Path is not visible from the Pega instance that is run from a Linux system.
Resolution
Perform the following local-change:
The node on which the Pega instance is running must access and detect the path specified in the 'Resource Path' property.
In this case, since the Pega instance is run from a Linux based environment, to make the Windows share available, the the shared directory must be mounted (for example, \\<hostname>\<directoryname>) on the Linux node with the help of cifs-utils (or any other client, such as Samba).
Follow the below steps such that the Windows File-System Repository works from a Linux environment:
- Install cifs-utils.
- Mount the Windows Share using the /etc/fstab file to provide the details of the Windows Shared folder.
- Run the -a Mount command to mount this directory. The Share is mounted successfully
- Log in to Pega Platform 7.3.1.
- Create a new repository type and provide the new mount location.
- Click Test connectivity.
Published May 9, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.