Select to view content in your preferred language

WebGISDR full restore fails for ArcGIS Server

3021
1
Jump to solution
09-05-2020 05:41 PM
StephenKaranja
Regular Contributor

Hello,

I'd appreciate any assistance in resolving the following issue:

I have a base ArcGIS Enterprise deployment setup on a single machine. I recently upgraded it from 10.8 to 10.8.1 and checked that all components work as expected. After upgrading to 10.8.1, I successfully exported full (including tile caches) and incremental (without tile caches) backup files with the WebGISDR tool. No errors occurred during the backup process. I then attempted a restore from the full backup file to check whether it worked as expected.

The attempted full restore successfully restored the Relational and TileCache data stores (the first two items to be restored). However, it failed with the below error while attempting to restore ArcGIS Server (third item to be restored). By the time it failed, it had not yet reached the point of restoring Portal for ArcGIS.

Failed to restore the ArcGIS Server:
Url: https://host.domain.com/server.
{"code":500,"messages":["Import site failed with the following error. null"],"status":"error"}

(*Please note that I've masked out the actual hostname and IP address with dummy values in all output reproduced here.)

Here is the relevant part of the webgisdr.log file at DEBUG level:

2020-09-06 02:22:04 DEBUG [pool-1-thread-3] com.esri.arcgis.webgis.util.WebGISUtil - The response of the request https://host.domain.com:6443/arcgis/rest/info: {"owningSystemUrl":"https://host.domain.com/portal","fullVersion":"10.8.1","secureSoapUrl":null,"soapUrl":"https://host.domain.com:6443/arcgis/services","currentVersion":10.81,"authInfo":{"tokenServicesUrl":"https://host.domain.com/portal/sharing/rest/generateToken","isTokenBasedSecurity":true}}
2020-09-06 02:22:04 DEBUG [pool-1-thread-3] com.esri.arcgis.webgis.util.WebGISUtil - {"owningSystemUrl":"https://host.domain.com/portal","fullVersion":"10.8.1","secureSoapUrl":null,"soapUrl":"https://host.domain.com:6443/arcgis/services","currentVersion":10.81,"authInfo":{"tokenServicesUrl":"https://host.domain.com/portal/sharing/rest/generateToken","isTokenBasedSecurity":true}}
2020-09-06 02:22:04 DEBUG [pool-1-thread-3] com.esri.arcgis.webgis.util.WebGISUtil - The response of the request https://123.45.678.9:7443/arcgis/sharing/rest/generateToken: {"expires":1599351724715,"ssl":true,"token":"4JQ-Zt4bVvfDdrHDL2kBILSVVo9Z7-5_T9ecycctVt0om71RBAh-mZue-AQZLB3PuES6CW-ymNW_TwQ5Nh7CelyXoHOUYSpHLeZdM6w8RUzTM7zxkPDmnGj5FzXG3gvOFg0fUcYmd6LqrHRPav0LZDKMwRZx6Slb_CaGX26EGVk."}
2020-09-06 02:22:04 ERROR [pool-1-thread-3] com.esri.arcgis.webgis.component.service.impl.ServerDRService - Failed to restore the ArcGIS Server:
Url: https://host.domain.com/server.
2020-09-06 02:22:04 ERROR [pool-1-thread-3] com.esri.arcgis.webgis.component.service.impl.ServerDRService - {"code":500,"messages":["Import site failed with the following error. null"],"status":"error"}
2020-09-06 02:22:04 DEBUG [main] com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher - The handled task number: 0
2020-09-06 02:22:04 INFO  [main] com.esri.arcgis.webgis.util.WebGISUtil - The restore of ArcGIS Server has taken 00hr:00min:00sec.
2020-09-06 02:22:04 ERROR [main] com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher - Exception: Failed to restore the ArcGIS Server.
2020-09-06 02:22:04 DEBUG [main] com.esri.arcgis.webgis.service.impl.WebGISDRFrontController - Failed to restore the ArcGIS Server.
com.esri.arcgis.webgis.WebGISException: Failed to restore the ArcGIS Server.
    at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.dispatchWebGISDRRequest(WebGISDRDispatcher.java:331)
    at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.a(WebGISDRFrontController.java:247)
    at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.service(WebGISDRFrontController.java:145)
    at com.esri.arcgis.webgis.service.impl.WebGISDRManager.c(WebGISDRManager.java:187)
    at com.esri.arcgis.webgis.service.impl.WebGISDRManager.importWebGIS(WebGISDRManager.java:170)
    at com.esri.arcgis.webgis.client.WebGISDR.main(WebGISDR.java:103)
Caused by: com.esri.arcgis.webgis.WebGISException: Failed to restore the ArcGIS Server.
    at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.dispatchWebGISDRRequest(WebGISDRDispatcher.java:215)
    ... 5 common frames omitted
2020-09-06 02:22:04 DEBUG [main] com.esri.arcgis.webgis.service.impl.WebGISDRFrontController - Deleting the temp directory F:\TEMP\WebGISSite1599347879447.
2020-09-06 02:22:05 DEBUG [main] com.esri.arcgis.webgis.client.WebGISDR - Exiting the WebGIS DR utility.
com.esri.arcgis.webgis.WebGISException: Failed to restore the ArcGIS Server.
    at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.dispatchWebGISDRRequest(WebGISDRDispatcher.java:331)
    at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.a(WebGISDRFrontController.java:247)
    at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.service(WebGISDRFrontController.java:145)
    at com.esri.arcgis.webgis.service.impl.WebGISDRManager.c(WebGISDRManager.java:187)
    at com.esri.arcgis.webgis.service.impl.WebGISDRManager.importWebGIS(WebGISDRManager.java:170)
    at com.esri.arcgis.webgis.client.WebGISDR.main(WebGISDR.java:103)
Caused by: com.esri.arcgis.webgis.WebGISException: Failed to restore the ArcGIS Server.
    at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.dispatchWebGISDRRequest(WebGISDRDispatcher.java:215)
    ... 5 common frames omitted
2020-09-06 02:22:05 ERROR [main] com.esri.arcgis.webgis.client.WebGISDR - Failed to restore the ArcGIS Server.

Regards,

Stephen

0 Kudos
1 Solution

Accepted Solutions
StephenKaranja
Regular Contributor

I'm not sure what caused the above error, but after attempting the restore later, I managed to restore successfully from the full backup file.

View solution in original post

0 Kudos
1 Reply
StephenKaranja
Regular Contributor

I'm not sure what caused the above error, but after attempting the restore later, I managed to restore successfully from the full backup file.

0 Kudos