I am attempting to migrate our portal from one machine to another using the instructions here:
Migrate to new machines—Portal for ArcGIS (10.6) | ArcGIS Enterprise
In the section 'Migrate a machine running Portal for ArcGIS', step 3, I'm encountering an error. Here's the setup:
I have Server A, our current portal, and Sever B, our new portal. I copied C:\\arcgisportal\content (from the C: drive on Server A) to a shared folder and changed the portal directory to the new location. (I created a new portal item on Server A and visually confirmed that the item was created on the shared folder, and not in C:\arcgisportal.) On this site:
Changing the portal content directory—Portal for ArcGIS (10.6) | ArcGIS Enterprise
it states that I'm only able to move the content directory, and not the index, db, or temp directories, to a network share. So those directories are still in C:\arcgisportal on Server A. (And the directions only state to move the content directory, and not the others.)
So back to step 3, which says 'Sign in to the new machine's ArcGIS Portal Administrator Directory, click Join Site, and provide the existing portal URL (in the format https://portalhost.domain.com:7443) and the credentials to its primary site administrator account. ** Both the old and new machines are joined to the portal.'. At the **, I'm getting the following error message:
'Error: There was an error when attempting to join the existing portal. Cannot read from directory path "C:\arcgisportal". Please check that the location is valid and that the Portal service account has permissions to the location.'
What is it looking for in C:\arcgisportal?
- content has been moved
- the directions didn't say to move db, temp, or index
I've restarted Portal for ArcGIS, restarted Server A, and checked permissions on the new location of content without success.
One wrinkle is that Server A is running 10.6.1. Server B is running 10.7.1. I need to upgrade and move the portal. My attempts to upgrade Server A in place have all failed, so I was hoping to do both in one go.
Many thanks.
UPDATE: I left Server A configured to point to the content folder on the shared drive. I renamed C:\arcgisportal\content to C:\arcgisportal\content_old when I migrated the content to the shared drive. A few hours later, the portal on server A was behaving a bit strange - the 'featured maps and apps' section on the main page wasn't drawing. (It may have been doing this earlier.) In the portaladmin, it still shows it's configured to point to {networkShare}\arcgisportal\content. However, when I login to Server A, I find it has created a new folder C:\arcgisportal\content (!!!). It's like the configuration shows it's pointing to the shared drive, but somewhere it's holding on to the previous location of C:\arcgisportal\content and not finding it, recreated it.