漏洞 ID 编号 |
BUG-000120966 |
已提交 | March 18, 2019 |
上次修改时间 | June 5, 2024 |
适用范围 | Portal for ArcGIS |
找到的版本 | 10.6.1 |
操作系统 | Windows OS |
操作系统版本 | 2008 |
状态 | Non-Reproducible
在开发团队测试过程中,此问题不可重现。 为问题分配此状态的可能原因包括:问题无法重现,或不再与软件的开发版本相关,但未安装特定修复程序来解决该问题。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
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.
解决办法
- 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.
- Restart the portal OS service in the OS Services MMC.
- Change the content directory location on the new machine back to local storage (this reboots the portal again).
- 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.
重现步骤