漏洞 ID 编号 |
BUG-000158016 |
已提交 | May 2, 2023 |
上次修改时间 | January 29, 2025 |
适用范围 | Portal for ArcGIS |
找到的版本 | 10.9.1 |
操作系统 | Windows OS |
操作系统版本 | N/A |
状态 | In Product Plan
该问题已添加到开发团队的解决问题中。 对于具有此状态的问题,将在近期版本(下一个或两个版本)中进行解决。 检查问题的“其他信息”或“备用解决方案”部分,寻找可以完全解决此问题的有用信息。
|
解决办法
User outlined workaround as follows:
- In the backup there was a cache folder registered for this share here \\gs-int-otc2-t04.sbb.ch\ArcGISPortalCache”. On the new server “gi-pos-azu1-t01.sbb.ch” we’ve created a folder “ArcGISPortalCache” and shared this for the domain user the arcgis server service is running on.
- Then we added on the new server a host file entry (c:\windows\system32\drivers\ets\hosts) with IP of the new server but name of the old server “gs-int-otc2-t04.sbb.ch”.
- Then we added the following registry keys to fake the share:
- New-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\lanmanserver\parameters -Name OptionalNames -PropertyType MultiString -Value gs-int-otc2-t04 -Force
- New-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\lanmanserver\parameters -Name DisableStrictNameChecking -PropertyType DWord -Value 1 -Force
- New-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\lanmanserver\parameters -Name DisableLoopBackCheck -PropertyType DWord -Value 1 -Force
- New-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0 -Name BackConnectionHostNames -PropertyType MultiString -Value gs-int-otc2-t04 -Force
- Then we rebooted the server. After that, calling \\gs-int-otc2-t04.sbb.ch\ArcGIPortalCache in the windows explorer, the share is resolved to the share on the new server “gi-pos-azu1-t01.sbb.ch”.
- With this workaround the copy process during ImportSite is no longer interrupted.
- After the restore with the webgisdr, we changed the physical path of this share in the cache directories and then deleted the share, the host file entry and the registry keys.
重现步骤