操作方法
尝试使用 webgisdr 实用程序恢复 Portal for ArcGIS 的备份失败,并返回以下错误消息:
Error: Failed to restore the Portal for ArcGIS. Admin Url: https://machineName.domain/portal. {"error":{"code":500,"details":null,"message":"Failed to import site. Failed to import content directory."}}使用 ArcGIS REST API 从 portaladmin 端点运行 importSite 操作也会返回错误消息:
Error: Failed to import site. Failed to import content directory. Code 500.Portal 日志中也会显示以下错误消息:
Error: java.io.FileNotFoundException: C:\arcgisportal\content\items\8fed86c190a14c98bdc3ce53d2286c73\esriinfo\screenshots\Thumbs.db (Access is denied)出现这些错误后,尝试打开 Portal for ArcGIS 会提示用户创建新站点或加入现有站点。
此问题是由备份过程中在 Portal for ArcGIS 备份文件中创建 Thumbs.db 文件引起的,因为 Portal 无法访问这些文件。
在搜索 Portal 日志显示的文件目录时,未找到 Thumbs.db 文件,因为该文件位于 Portal 创建的备份内。
可以使用 webgisdr 实用程序或 ArcGIS REST API 的 exportSite 和 importSite 操作来执行以下解决方法。
Note: Enable File Name Extensions in Windows File Explorer before proceeding with the workarounds in this article. To enable this, open Windows File Explorer, and select the View tab. Check the File Name Extensions option.
使用 webgisdr 实用程序
使用 ArcGIS REST API 的 exportSite 和 importSite 操作
文章 ID: 000018066
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序