Moving ProjectDox Share Folders: UserFilesSource and UserFilesPublish
-
Create new folders for copying the content of existing share folders into on the new storage location
-
Create accounts on the machine where the new storage is located for the PD_USR and NetItSvc accounts giving them Local Administrator rights on the machine and using the same passwords as they are configured on the ProjectDox Web Server
-
After folders are created, establish NTFS Permissions and Share Permissions on the folders
-
Setting the Security Permissions
-
Select physical folder
-
Right-click, select Properties
-
Select Security tab
-
Add appropriate users and permissions, Add PD_USR and NetItSvc accounts with Full Control
-
Click OK to accept changes
-
-
Setting the Share Permissions
-
Right-click on the folder again and select Properties
-
Select Sharing, then click on the button for Advanced Sharing
-
Place check mark in the Share this Folder and provide a Share Name of UFS for UserFilesSource folder and UFP for the UserFilesPublish folder, then click on the Permissions button towards the bottom of the window
-
In the Share Permissions window, click the Add button and add the PD_USR, NetItSvc accounts and the Administrators group to the Groups or Users Name selection
-
Select each of the three accounts and set the Permissions for each to Allow Full Control
-
Remove the Everyone Group from the Group or User Names selection
-
Click OK to accept the changes.
-
-
-
Using ROBOCOPY or XCOPY, relocate the files from the old location of the files to the newly created folders on the new storage location (Note: this may take awhile depending on how much content is in each of the share folders)
-
On the ProjectDox web server
-
IIS Administration Control Panel
-
Select the UserFilesPublish virtual directory
-
Select properties
-
On General tab, update path to point to the new physical UserFilesPublish
-
Test accessing the new location through IIS under the Basic Settings Option
-
-
Locate the UpdatePaths.sql file in the ProjectDox installation folder under the Database\SQL\ sub-folder and copy to the SQL Database Server where the ProjectDox database resides
-
-
On the SQL Database Server
-
Modify the UpdatePaths SQL script and provide the portion of the path to the files that you want to update in the database, if you are unsure of what the existing path is, open up the Files table in the ProjectDox database and look at the current records stored in the database. Look at the SourcePath column and see what portion of the current value stored needs to be updated and insert that into the updating the UpdatePaths script under the parameter named @OldServerSourcePath. Example provided in the UpdatePaths script file
-
Next update the UpdatePaths script for the @NewServerSourcePath parameter with the location for the new file share folder location
-
Next update the UpdatePaths script for the @OldServerPublishPath parameter with the location from the Files table query performed above looking at the PublishPath column
-
Next update the UpdatePaths script for the @NewServerPublishPath parameter with the location for the new file share folder location
-
Run the UpdatePaths script against the ProjectDox database, the number of records affected will be displayed in the results pane in SQL Server
-
-
ProjectDox Configuration Changes
-
Log in to ProjectDox with an Systems Administrator account
-
Navigate to Admin>Configuration>Core tab
-
Scroll down and locate the field for UserFilesPublish – update with the new path to the share folder
-
Scroll down and locate the field for UserFilesSource – update with the new path to the share folder
-
Scroll to the top of the page and hit the SAVE button
-
Select the Troubleshoot option from the Admin dropdown selection in the upper left side of the page and then test the access to the new share folders from ProjectDox by clicking the check folder permissions button
-
Results of the test will be displayed on the page with a green success message if the connectivity and permissions are all successful
-
-
Live test
-
Test opening existing files in a Project to ensure they can be viewed without any issues
-
Test uploading new documents into a Project and see if they can be viewed
-
Test creating a new Project in ProjectDox and that files can be uploaded and viewed without any issues
-
Comments
0 comments
Please sign in to leave a comment.