漏洞

请参阅漏洞:BUG-000094576:如果之前已向门户注册 Collector 和/或 Survey123,则将 Portal for ArcGIS 10.3.1 升级到 10.4 将失败。

Last Published: October 5, 2023

描述

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".

原因

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:

解决办法

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.

文章 ID:000012725

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

发现关于本主题的更多内容