BUG

BUG-000094576: Upgrading Portal for ArcGIS 10.3.1 to 10.4 fails if Collector and/or Survey123 was previously registered with Portal

Last Published: October 5, 2023

Description

Note:
This article applies to ArcGIS versions 10.3.x and 10.4. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.

During an upgrade of Portal for ArcGIS 10.3.1 to 10.4, the upgrade may fail, and return the following error:

"There was an error creating your initial administrator account.
Migration failed. Failed to update the database schema from version 10.3.1 to version 10.4.0 during migration.
For more information, please view the log messages located in the content directory specified during setup."

The details in the portal logs state:

"Error in migration. Failed to update the database schema from version 10.3.1 to version 10.4.0 during migration".

Cause

This issue can occur if the following workflows were used to add Collector for ArcGIS (Windows) or Survey123 for ArcGIS as registered applications in Portal for ArcGIS 10.3.1:

Workaround

If the upgrade process has already begun and this issue is encountered, please contact Esri Technical Support.

To avoid this error, unregister Collector for ArcGIS and/or Survey123 for ArcGIS from Portal for ArcGIS 10.3.1 prior to upgrading.

  1. Open the ArcGIS Portal Directory sharing application and log in as a member with administrative privileges. The URL format is:
https://webadaptorhost.domain.com/arcgis/sharing/rest
  1. Navigate to the administrative user’s content where the app was registered.
http://webadaptorhost.domain.com/arcgis/sharing/rest/content/users/<username>
  1. Select the app for Collector for ArcGIS or Survey123 for ArcGIS from the list of items.
  2. Under Related Operations, click Unregister App.
  3. Under Supported Operations, click Delete Item.
  4. Do this for both Collector for ArcGIS and Survey123 for ArcGIS if both apps have been registered.

Portal for ArcGIS 10.3.1 can now be upgraded to Portal for ArcGIS 10.4 without encountering this issue.

Note:
It is not necessary to manually register Collector for ArcGIS or Survey123 for ArcGIS after upgrading to 10.4. These apps come pre-registered in Portal for ArcGIS 10.4.

Article ID:000012725

Software:
  • Portal for ArcGIS
  • ArcGIS Survey123 Connect
  • ArcGIS Survey123 Website

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic