laptop and a wrench

Bug

The Portal for ArcGIS Join Site migration operation fails when changing from the shared content folder back to local storage.

Last Published: July 31, 2019 Portal for ArcGIS
Bug ID Number BUG-000120966
SubmittedMarch 18, 2019
Last ModifiedJune 5, 2024
Applies toPortal for ArcGIS
Version found10.6.1
Operating SystemWindows OS
Operating System Version2008
StatusNon-Reproducible

Additional Information

This is more likely due to a problem failing over, rather than the migration workflow for some reason. The standby should be properly promoted to primary during unregistering. More investigation is needed to determine why the standby cannot be promoted.

Workaround

  1. Navigate to the portal's local ...\DB folder (typically located in C:\arcgisportal\db) on the new machine. There is a file called recovery.conf. Rename or move the file out of this directory.
  2. Restart the portal OS service in the OS Services MMC.
  3. Change the content directory location on the new machine back to local storage (this reboots the portal again).
  4. Restart the ArcGIS Server OS service in the OS Services MMC. (This points the server at the new portal machine. Otherwise token errors are returned).

It appears that the new Portal machine fails to promote after removing the primary portal in step 4. This keeps the new machine's internal PostGRES in read-only mode. Removal of the recovery.conf file and restarting the portal manually puts the machine back in master mode, which allows writes to the database. After that the necessary changes to the portal directory can be made.

Steps to Reproduce

Bug ID: BUG-000120966

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options